template <>
class Server
Defined at line 127 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/cpp/fidl/fuchsia.net.filter/cpp/natural_messaging.h
Public Methods
void OpenController (OpenControllerRequest & request, OpenControllerCompleter::Sync & completer)
Open a new isolated namespace controller for filtering state.
void ReopenDetachedController (ReopenDetachedControllerRequest & request, ReopenDetachedControllerCompleter::Sync & completer)
Re-open an existing controller that was previously detached from.
Note that if any administrative client connections exist to the
controller, this operation will fail. At most one client may be
connected to the controller at once (except for clients connected
through the [`fuchsia.net.root/Filter`] protocol).
If reconnection fails, the provided server end will be closed with one
of the following epitaphs:
* `ZX_ERR_INVALID_ARGS` if the provided key is invalid
* `ZX_ERR_ALREADY_EXISTS` if another client is currently connected to
the controller identified by the provided key
void Server ()
Defined at line 130 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/cpp/fidl/fuchsia.net.filter/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 131 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/cpp/fidl/fuchsia.net.filter/cpp/natural_messaging.h