template <>
class WireServer
Defined at line 687 of file fidling/gen/sdk/fidl/fuchsia.net.root/fuchsia.net.root/cpp/fidl/fuchsia.net.root/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_net_root::Interfaces>|
and |::fidl::ServerEnd
<
::fuchsia_net_root::Interfaces>|).
Public Methods
void GetAdmin (::fuchsia_net_root::wire::InterfacesGetAdminRequest * request, GetAdminCompleter::Sync & completer)
Obtain administrative control over a network interface.
+ request `id` identifies the interface to be controlled.
+ request `control` grants the client administrative control over
the interface. Closed without a terminal event if `id` does not
match an existing interface.
void GetMac (::fuchsia_net_root::wire::InterfacesGetMacRequest * request, GetMacCompleter::Sync & completer)
Return an interface's MAC address.
+ request `id` identifies the interface whose MAC is requested.
- response `mac` is the interface's MAC address, if it has one.
void WireServer ()
Defined at line 690 of file fidling/gen/sdk/fidl/fuchsia.net.root/fuchsia.net.root/cpp/fidl/fuchsia.net.root/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 691 of file fidling/gen/sdk/fidl/fuchsia.net.root/fuchsia.net.root/cpp/fidl/fuchsia.net.root/cpp/wire_messaging.h