template <>

class Server

Defined at line 1592 of file fidling/gen/src/connectivity/network/testing/netemul/network-context/fidl/network/cpp/fidl/fuchsia.netemul.network/cpp/natural_messaging.h

Public Methods

void GetConfig (GetConfigCompleter::Sync & completer)
void GetName (GetNameCompleter::Sync & completer)

Gets endpoint name.

void Server ()

Defined at line 1595 of file fidling/gen/src/connectivity/network/testing/netemul/network-context/fidl/network/cpp/fidl/fuchsia.netemul.network/cpp/natural_messaging.h

void SetLinkUp (SetLinkUpRequest & request, SetLinkUpCompleter::Sync & completer)

Sends link up or down signal

void GetPort (GetPortRequest & request, GetPortCompleter::Sync & completer)

Connects to the underlying device port.

void GetProxy (GetProxyRequest & request, GetProxyCompleter::Sync & completer)

Gets a proxy to open requests with zircon ethernet device.

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 1596 of file fidling/gen/src/connectivity/network/testing/netemul/network-context/fidl/network/cpp/fidl/fuchsia.netemul.network/cpp/natural_messaging.h