template <>
class WireServer
Defined at line 3736 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::Installer>|
and |::fidl::ServerEnd
<
::fuchsia_net_interfaces_admin::Installer>|).
Public Methods
void InstallDevice (::fuchsia_net_interfaces_admin::wire::InstallerInstallDeviceRequest * request, InstallDeviceCompleter::Sync & completer)
Installs a device on the network stack.
+ request `device` the device to install on the network stack.
+ request `device_control` grants access to the installed device.
void InstallBlackholeInterface (::fuchsia_net_interfaces_admin::wire::InstallerInstallBlackholeInterfaceRequest * request, InstallBlackholeInterfaceCompleter::Sync & completer)
Installs a blackhole interface on the network stack.
A "blackhole" interface is an interface that drops any outbound traffic
transmitted through it, and never receives any inbound traffic.
+ request `interface` grants access to the installed interface.
void WireServer ()
Defined at line 3739 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 3740 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces.admin/fuchsia.net.interfaces.admin/cpp/fidl/fuchsia.net.interfaces.admin/cpp/wire_messaging.h