fdf::OutgoingDirectory

Summary

Constructors and Destructors

OutgoingDirectory(fdf_dispatcher_t *dispatcher)
OutgoingDirectory(OutgoingDirectory &&)
OutgoingDirectory(const OutgoingDirectory &)

Public static functions

Create(fdf_dispatcher_t *dispatcher)

Public functions

AddDirectory(fidl::ClientEnd< fuchsia_io::Directory > remote_dir, std::string_view directory_name)
AddDirectoryAt(fidl::ClientEnd< fuchsia_io::Directory > remote_dir, std::string_view path, std::string_view directory_name)
AddService(TransportHandler handler, std::string_view instance)
AddService(fdf::ServiceInstanceHandler handler, std::string_view instance)
AddService(component::ServiceInstanceHandler handler, std::string_view instance)
GetDriverServices()
std::unordered_map< std::string, std::unordered_set< std::string > >
GetZirconServices()
std::unordered_map< std::string, std::unordered_set< std::string > >
RemoveDirectory(std::string_view directory_name)
RemoveDirectoryAt(std::string_view path, std::string_view directory_name)
RemoveService(std::string_view instance)
RemoveService(std::string_view service, std::string_view instance)
Serve(fidl::ServerEnd< fuchsia_io::Directory > directory_server_end)
component()
operator=(OutgoingDirectory &&) noexcept
operator=(const OutgoingDirectory &)=delete

Public static functions

Create

OutgoingDirectory Create(  fdf_dispatcher_t *dispatcher )

Public functions

AddDirectory

zx::result AddDirectory(  fidl::ClientEnd< fuchsia_io::Directory > remote_dir,  std::string_view directory_name )

AddDirectoryAt

zx::result AddDirectoryAt(  fidl::ClientEnd< fuchsia_io::Directory > remote_dir,  std::string_view path,  std::string_view directory_name )

AddService

zx::result AddService(  TransportHandler handler,  std::string_view instance )

AddService

zx::result AddService(  fdf::ServiceInstanceHandler handler,  std::string_view instance )

AddService

zx::result AddService(  component::ServiceInstanceHandler handler,  std::string_view instance )

GetDriverServices

std::unordered_map< std::string, std::unordered_set< std::string > > GetDriverServices()

GetZirconServices

std::unordered_map< std::string, std::unordered_set< std::string > > GetZirconServices()

OutgoingDirectory

 OutgoingDirectory(  fdf_dispatcher_t *dispatcher )

OutgoingDirectory

 OutgoingDirectory(  OutgoingDirectory && ) noexcept

OutgoingDirectory

 OutgoingDirectory(  const OutgoingDirectory & )=delete

RemoveDirectory

zx::result RemoveDirectory(  std::string_view directory_name )

RemoveDirectoryAt

zx::result RemoveDirectoryAt(  std::string_view path,  std::string_view directory_name )

RemoveService

zx::result RemoveService(  std::string_view instance )

RemoveService

zx::result RemoveService(  std::string_view service,  std::string_view instance )

Serve

zx::result Serve(  fidl::ServerEnd< fuchsia_io::Directory > directory_server_end )

component

component::OutgoingDirectory & component()

operator=

OutgoingDirectory & operator=(  OutgoingDirectory && ) noexcept

operator=

OutgoingDirectory & operator=(  const OutgoingDirectory & )=delete