template <>
class WireServer
Defined at line 225 of file fidling/gen/sdk/fidl/fuchsia.net.root/fuchsia.net.root/cpp/fidl/fuchsia.net.root/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_net_root::Filter>|
and |::fidl::ServerEnd
<
::fuchsia_net_root::Filter>|).
Public Methods
void OpenController (::fuchsia_net_root::wire::FilterOpenControllerRequest * 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 WireServer ()
Defined at line 228 of file fidling/gen/sdk/fidl/fuchsia.net.root/fuchsia.net.root/cpp/fidl/fuchsia.net.root/cpp/wire_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 ~WireServer ()
Defined at line 229 of file fidling/gen/sdk/fidl/fuchsia.net.root/fuchsia.net.root/cpp/fidl/fuchsia.net.root/cpp/wire_messaging.h