template <>

class WireServer

Defined at line 4074 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces.admin/fuchsia.net.interfaces.admin/cpp/fidl/fuchsia.net.interfaces.admin/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_admin::DeviceControl>|

and |::fidl::ServerEnd

<

::fuchsia_net_interfaces_admin::DeviceControl>|).

Public Methods

void CreateInterface (::fuchsia_net_interfaces_admin::wire::DeviceControlCreateInterfaceRequest * request, CreateInterfaceCompleter::Sync & completer)

Creates an interface on the network stack.

+ request `port` the device's port to instantiate as an interface.

+ request `control` grants access to the created interface.

void Detach (DetachCompleter::Sync & completer)

Detaches the client end from the device's lifetime.

After calling `Detach`, closing this client end no longer causes the

device or any of the interfaces created from it to be removed. Note that

the lifetime of any created interface will continue to be coupled with

the associated [`Control`] client end.

void WireServer ()

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