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, cpp17::string_view directory_name)
AddDirectoryAt(fidl::ClientEnd< fuchsia_io::Directory > remote_dir, cpp17::string_view path, cpp17::string_view directory_name)
AddService(TransportHandler handler, cpp17::string_view instance)
AddService(fdf::ServiceInstanceHandler handler, cpp17::string_view instance)
AddService(component::ServiceInstanceHandler handler, cpp17::string_view instance)
RemoveDirectory(cpp17::string_view directory_name)
RemoveDirectoryAt(cpp17::string_view path, cpp17::string_view directory_name)
RemoveService(cpp17::string_view instance)
RemoveService(cpp17::string_view service, cpp17::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,
  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
)

AddService

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

AddService

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

AddService

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

OutgoingDirectory

 OutgoingDirectory(
  fdf_dispatcher_t *dispatcher
)

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
)

RemoveService

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

RemoveService

zx::result RemoveService(
  cpp17::string_view service,
  cpp17::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