vfs::Service

Summary

Inheritance

Inherits from: vfs::internal::Node

Constructors and Destructors

Service(fidl::InterfaceRequestHandler< Interface > handler)
Service(Connector connector)
~Service()

Public types

Connector using
fit::function< void(zx::channel channel, async_dispatcher_t *dispatcher)>

Public functions

Describe(fuchsia::io::NodeInfoDeprecated *out_info) final
void
GetAttr(fuchsia::io::NodeAttributes *out_attributes) const final
zx_status_t
connector() const
const Connector &

Protected functions

Connect(fuchsia::io::OpenFlags flags, zx::channel request, async_dispatcher_t *dispatcher) override
zx_status_t
CreateConnection(fuchsia::io::OpenFlags flags, std::unique_ptr< vfs::internal::Connection > *connection) final
zx_status_t
GetAllowedFlags() const override
fuchsia::io::OpenFlags
GetProhibitiveFlags() const override
fuchsia::io::OpenFlags

Public types

Connector

fit::function< void(zx::channel channel, async_dispatcher_t *dispatcher)> Connector

Public functions

Describe

void Describe(
  fuchsia::io::NodeInfoDeprecated *out_info
) final

GetAttr

zx_status_t GetAttr(
  fuchsia::io::NodeAttributes *out_attributes
) const final

Service

 Service(
  fidl::InterfaceRequestHandler< Interface > handler
)

Service

 Service(
  Connector connector
)

connector

const Connector & connector() const 

~Service

 ~Service() override

Protected functions

Connect

zx_status_t Connect(
  fuchsia::io::OpenFlags flags,
  zx::channel request,
  async_dispatcher_t *dispatcher
) override

CreateConnection

zx_status_t CreateConnection(
  fuchsia::io::OpenFlags flags,
  std::unique_ptr< vfs::internal::Connection > *connection
) final

GetAllowedFlags

fuchsia::io::OpenFlags GetAllowedFlags() const override

GetProhibitiveFlags

fuchsia::io::OpenFlags GetProhibitiveFlags() const override