sys::OutgoingDirectory
Summary
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(
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()
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
)
~OutgoingDirectory
~OutgoingDirectory()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-12-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-12-14 UTC."],[],[]]