sys::OutgoingDirectory

Summary

Constructors and Destructors

OutgoingDirectory()
OutgoingDirectory(OutgoingDirectory &&)
OutgoingDirectory(const OutgoingDirectory &)
~OutgoingDirectory()

Public functions

AddNamedService(ServiceHandler handler, std::string service, std::string instance) const
zx_status_t
AddProtocol(fidl::ProtocolHandler< Protocol > handler, std::string name) const
zx_status_t
AddPublicService(fidl::InterfaceRequestHandler< Interface > handler, std::string service_name) const
zx_status_t
AddPublicService(std::unique_ptr< vfs::Service > service, std::string service_name) const
zx_status_t
AddService(ServiceHandler handler, std::string instance) const
zx_status_t
GetOrCreateDirectory(const std::string & name)
RemoveNamedService(const std::string & service, const std::string & instance) const
zx_status_t
RemoveProtocol(const std::string & name) const
zx_status_t
RemovePublicService(const std::string & name) const
zx_status_t
RemoveService(const std::string & instance) const
zx_status_t
Serve(fidl::InterfaceRequest< fuchsia::io::Directory > directory_request, async_dispatcher_t *dispatcher)
zx_status_t
ServeFromStartupInfo(async_dispatcher_t *dispatcher)
zx_status_t
debug_dir() const
operator=(OutgoingDirectory &&) noexcept
operator=(const OutgoingDirectory &)=delete
root_dir() const

Public functions

AddNamedService

zx_status_t AddNamedService(
  ServiceHandler handler,
  std::string service,
  std::string instance
) const 

AddProtocol

zx_status_t AddProtocol(
  fidl::ProtocolHandler< Protocol > handler,
  std::string name
) const 

AddPublicService

zx_status_t AddPublicService(
  fidl::InterfaceRequestHandler< Interface > handler,
  std::string service_name
) const 

AddPublicService

zx_status_t AddPublicService(
  std::unique_ptr< vfs::Service > service,
  std::string service_name
) const 

AddService

zx_status_t AddService(
  ServiceHandler handler,
  std::string instance
) const 

GetOrCreateDirectory

vfs::PseudoDir * GetOrCreateDirectory(
  const std::string & name
)

OutgoingDirectory

 OutgoingDirectory()

OutgoingDirectory

 OutgoingDirectory(
  OutgoingDirectory &&
) noexcept

OutgoingDirectory

 OutgoingDirectory(
  const OutgoingDirectory &
)=delete

RemoveNamedService

zx_status_t RemoveNamedService(
  const std::string & service,
  const std::string & instance
) const 

RemoveProtocol

zx_status_t RemoveProtocol(
  const std::string & name
) const 

RemovePublicService

zx_status_t RemovePublicService(
  const std::string & name
) const 

RemoveService

zx_status_t RemoveService(
  const std::string & instance
) const 

Serve

zx_status_t Serve(
  fidl::InterfaceRequest< fuchsia::io::Directory > directory_request,
  async_dispatcher_t *dispatcher
)

ServeFromStartupInfo

zx_status_t ServeFromStartupInfo(
  async_dispatcher_t *dispatcher
)

debug_dir

vfs::PseudoDir * debug_dir() const 

operator=

OutgoingDirectory & operator=(
  OutgoingDirectory &&
) noexcept

operator=

OutgoingDirectory & operator=(
  const OutgoingDirectory &
)=delete

root_dir

vfs::PseudoDir * root_dir() const 

~OutgoingDirectory

 ~OutgoingDirectory()