template <>

class WireServer

Defined at line 338 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/cpp/fidl/fuchsia.net.filter/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

This interface uses typed channels (i.e. |::fidl::ClientEnd

<

::fuchsia_net_filter::Control>|

and |::fidl::ServerEnd

<

::fuchsia_net_filter::Control>|).

Public Methods

void OpenController (::fuchsia_net_filter::wire::ControlOpenControllerRequest * request, OpenControllerCompleter::Sync & completer)

Open a new isolated namespace controller for filtering state.

void ReopenDetachedController (::fuchsia_net_filter::wire::ControlReopenDetachedControllerRequest * 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 WireServer ()

Defined at line 341 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/cpp/fidl/fuchsia.net.filter/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 342 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/cpp/fidl/fuchsia.net.filter/cpp/wire_messaging.h