template <>
class Server
Defined at line 1418 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces.admin/fuchsia.net.interfaces.admin/cpp/fidl/fuchsia.net.interfaces.admin/cpp/natural_messaging.h
Public Methods
void CreateInterface (CreateInterfaceRequest & request, CreateInterfaceCompleter::Sync & completer)
Creates an interface on the network stack.
+ request `port` the device's port to instantiate as an interface.
+ request `control` grants access to the created interface.
void Detach (DetachCompleter::Sync & completer)
Detaches the client end from the device's lifetime.
After calling `Detach`, closing this client end no longer causes the
device or any of the interfaces created from it to be removed. Note that
the lifetime of any created interface will continue to be coupled with
the associated [`Control`] client end.
void Server ()
Defined at line 1421 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces.admin/fuchsia.net.interfaces.admin/cpp/fidl/fuchsia.net.interfaces.admin/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 1422 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces.admin/fuchsia.net.interfaces.admin/cpp/fidl/fuchsia.net.interfaces.admin/cpp/natural_messaging.h