template <>
class Server
Defined at line 110 of file fidling/gen/sdk/fidl/fuchsia.net.root/fuchsia.net.root/cpp/fidl/fuchsia.net.root/cpp/natural_messaging.h
Public Methods
void OpenController (OpenControllerRequest & request, OpenControllerCompleter::Sync & completer)
Open a new *or* existing `NamespaceController`. The server end is
"auto-detached": in other words, it behaves as if the client has called
`Detach` on creation, and the lifetime of the filtering state is not
tied to the client end of the protocol. If the client does call
`Detach` on the `NamespaceController`, the server will close the
channel.
Clients have unilateral access to add or remove resources owned by the
controller, irrespective of other clients' ownership. This includes the
ability to remove resources installed by other clients.
void Server ()
Defined at line 113 of file fidling/gen/sdk/fidl/fuchsia.net.root/fuchsia.net.root/cpp/fidl/fuchsia.net.root/cpp/natural_messaging.h
Handler bind_handler (async_dispatcher_t * dispatcher)
|bind_handler| returns a handler that binds incoming connections to this
server implementation.
The returned handler borrows the server instance.
The server must outlive the provided |dispatcher|. Only after
the dispatcher is shutdown will it be safe to destroy the servers.
The server should not be moved.
void ~Server ()
Defined at line 114 of file fidling/gen/sdk/fidl/fuchsia.net.root/fuchsia.net.root/cpp/fidl/fuchsia.net.root/cpp/natural_messaging.h