class PathServer
Defined at line 36 of file ../../src/devices/bin/driver_manager/devfs/devfs.h
PathServer acts as a contained TopologicalPath server, allowing clients
to connect and vending the topological path of the devnode.
Pathserver checks the variable kClassesThatAllowTopologicalPath when clients
attempt to bind to the service, and prohibits clients from connecting to drivers
whose class name is not in the allowlist.
Public Methods
void PathServer (std::string path, async_dispatcher_t * dispatcher)
Defined at line 38 of file ../../src/devices/bin/driver_manager/devfs/devfs.h
void GetTopologicalPath (GetTopologicalPathCompleter::Sync & completer)
TopologicalPath protocol:
Defined at line 42 of file ../../src/devices/bin/driver_manager/devfs/devfs.h
void Bind (zx::channel channel, const std::string & class_name)
Defined at line 47 of file ../../src/devices/bin/driver_manager/devfs/devfs.cc
fidl::ProtocolHandler<fuchsia_device_fs::TopologicalPath> GetHandler ()
Defined at line 48 of file ../../src/devices/bin/driver_manager/devfs/devfs.h
std::string GetPath ()
Defined at line 52 of file ../../src/devices/bin/driver_manager/devfs/devfs.h