component::OutgoingDirectory

Summary

Constructors and Destructors

OutgoingDirectory(async_dispatcher_t *dispatcher)
OutgoingDirectory()
OutgoingDirectory(OutgoingDirectory &&)
OutgoingDirectory(const OutgoingDirectory &)
~OutgoingDirectory()

Public static attributes

kDefaultServiceInstance = "default"[]
constexpr const char
kServiceDirectory = "svc"[]
constexpr const char

Public functions

AddDirectory(fidl::ClientEnd< fuchsia_io::Directory > remote_dir, cpp17::string_view directory_name)
AddDirectoryAt(fidl::ClientEnd< fuchsia_io::Directory > remote_dir, cpp17::string_view path, cpp17::string_view directory_name)
AddProtocol(std::unique_ptr< ServerImpl > impl, cpp17::string_view name)
AddProtocolAt(cpp17::string_view path, std::unique_ptr< ServerImpl > impl, cpp17::string_view name)
AddService(ServiceInstanceHandler handler, cpp17::string_view instance)
AddService(ServiceInstanceHandler handler, cpp17::string_view service, cpp17::string_view instance)
AddServiceAt(ServiceInstanceHandler handler, cpp17::string_view path, cpp17::string_view instance)
AddServiceAt(ServiceInstanceHandler handler, cpp17::string_view path, cpp17::string_view service, cpp17::string_view instance)
AddUnmanagedProtocol(TypedHandler< Protocol > handler, cpp17::string_view name)
AddUnmanagedProtocol(AnyHandler handler, cpp17::string_view name)
AddUnmanagedProtocolAt(cpp17::string_view path, TypedHandler< Protocol > handler, cpp17::string_view name)
AddUnmanagedProtocolAt(AnyHandler handler, cpp17::string_view path, cpp17::string_view name)
RemoveDirectory(cpp17::string_view directory_name)
RemoveDirectoryAt(cpp17::string_view path, cpp17::string_view directory_name)
RemoveProtocol(cpp17::string_view name)
RemoveProtocol(cpp17::string_view name)
RemoveProtocolAt(cpp17::string_view path, cpp17::string_view name)
RemoveProtocolAt(cpp17::string_view directory, cpp17::string_view name)
RemoveService(cpp17::string_view instance)
RemoveService(cpp17::string_view service, cpp17::string_view instance)
RemoveServiceAt(cpp17::string_view path, cpp17::string_view instance)
RemoveServiceAt(cpp17::string_view path, cpp17::string_view service, cpp17::string_view instance)
Serve(fidl::ServerEnd< fuchsia_io::Directory > directory_server_end)
ServeFromStartupInfo()
operator=(OutgoingDirectory &&) noexcept
operator=(const OutgoingDirectory &)=delete

Public static attributes

kDefaultServiceInstance

constexpr const char kDefaultServiceInstance[] = "default"

kServiceDirectory

constexpr const char kServiceDirectory[] = "svc"

Public functions

AddDirectory

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

AddDirectoryAt

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

AddProtocol

zx::result AddProtocol(
  std::unique_ptr< ServerImpl > impl,
  cpp17::string_view name
)

AddProtocolAt

zx::result AddProtocolAt(
  cpp17::string_view path,
  std::unique_ptr< ServerImpl > impl,
  cpp17::string_view name
)

AddService

zx::result AddService(
  ServiceInstanceHandler handler,
  cpp17::string_view instance
)

AddService

zx::result AddService(
  ServiceInstanceHandler handler,
  cpp17::string_view service,
  cpp17::string_view instance
)

AddServiceAt

zx::result AddServiceAt(
  ServiceInstanceHandler handler,
  cpp17::string_view path,
  cpp17::string_view instance
)

AddServiceAt

zx::result AddServiceAt(
  ServiceInstanceHandler handler,
  cpp17::string_view path,
  cpp17::string_view service,
  cpp17::string_view instance
)

AddUnmanagedProtocol

zx::result AddUnmanagedProtocol(
  TypedHandler< Protocol > handler,
  cpp17::string_view name
)

AddUnmanagedProtocol

zx::result AddUnmanagedProtocol(
  AnyHandler handler,
  cpp17::string_view name
)

AddUnmanagedProtocolAt

zx::result AddUnmanagedProtocolAt(
  cpp17::string_view path,
  TypedHandler< Protocol > handler,
  cpp17::string_view name
)

AddUnmanagedProtocolAt

zx::result AddUnmanagedProtocolAt(
  AnyHandler handler,
  cpp17::string_view path,
  cpp17::string_view name
)

OutgoingDirectory

 OutgoingDirectory(
  async_dispatcher_t *dispatcher
)

OutgoingDirectory

 OutgoingDirectory()=delete

OutgoingDirectory

 OutgoingDirectory(
  OutgoingDirectory &&
) noexcept

OutgoingDirectory

 OutgoingDirectory(
  const OutgoingDirectory &
)=delete

RemoveDirectory

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

RemoveDirectoryAt

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

RemoveProtocol

zx::result RemoveProtocol(
  cpp17::string_view name
)

RemoveProtocol

zx::result RemoveProtocol(
  cpp17::string_view name
)

RemoveProtocolAt

zx::result RemoveProtocolAt(
  cpp17::string_view path,
  cpp17::string_view name
)

RemoveProtocolAt

zx::result RemoveProtocolAt(
  cpp17::string_view directory,
  cpp17::string_view name
)

RemoveService

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

RemoveService

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

RemoveServiceAt

zx::result RemoveServiceAt(
  cpp17::string_view path,
  cpp17::string_view instance
)

RemoveServiceAt

zx::result RemoveServiceAt(
  cpp17::string_view path,
  cpp17::string_view service,
  cpp17::string_view instance
)

Serve

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

ServeFromStartupInfo

zx::result ServeFromStartupInfo()

operator=

OutgoingDirectory & operator=(
  OutgoingDirectory &&
) noexcept

operator=

OutgoingDirectory & operator=(
  const OutgoingDirectory &
)=delete

~OutgoingDirectory

 ~OutgoingDirectory()