template <>

class WireServer

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

Pure-virtual interface to be implemented by a server.

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

<

::fuchsia_net_interfaces::State>|

and |::fidl::ServerEnd

<

::fuchsia_net_interfaces::State>|).

Public Methods

void GetWatcher (::fuchsia_net_interfaces::wire::StateGetWatcherRequest * request, GetWatcherCompleter::Sync & completer)

Initialize a watcher for interface state.

The server enqueues interface addition, deletion and property changes as

they occur, which can then be retrieved via the pipelined protocol.

+ request `options` specifies the behavior of the [`Watcher`].

+ request `watcher` grants access to a [`Watcher`]. Closed if the queue

cannot be allocated or if the queue is full when the server attempts

to enqueue an event.

void WireServer ()

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