template <>

class WireServer

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

Pure-virtual interface to be implemented by a server.

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

<

::fuchsia_net_virtualization::Control>|

and |::fidl::ServerEnd

<

::fuchsia_net_virtualization::Control>|).

Public Methods

void CreateNetwork (::fuchsia_net_virtualization::wire::ControlCreateNetworkRequest * request, CreateNetworkCompleter::Sync & completer)

Create a new network with configurable upstream connectivity.

The network itself is always guaranteed to be created, but upstream

connectivity may not be established initially and may be lost at

any time.

+ request `config` network configuration.

+ request `network` provides control over the created network. The

protocol will be terminated after emitting a terminal event if the

network cannot be added.

void WireServer ()

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