template <>
class Server
Defined at line 154 of file fidling/gen/src/connectivity/network/testing/netemul/guest/fuchsia.netemul.guest/cpp/fidl/fuchsia.netemul.guest/cpp/natural_messaging.h
Public Methods
void CreateGuest (CreateGuestRequest & request, CreateGuestCompleter::Sync & completer)
Creates a new guest instance, attaches it to the provided `network`, optionally
with `mac` as its mac address, and starts serving the `Guest` protocol over
the returned client end.
+ request `name` a name to be associated with the guest, to be used in logs
and assertions.
+ request `network` the client end of a netemul network, to which the guest
should be attached.
+ request `mac` an optional mac address which is provided to the guest on
on creation. If `mac` is not provided, the guest's mac address is picked
by guest-manager.
+ response `guest` the client end of a `Guest` protocol which can be used to
interact with the guest.
void Server ()
Defined at line 157 of file fidling/gen/src/connectivity/network/testing/netemul/guest/fuchsia.netemul.guest/cpp/fidl/fuchsia.netemul.guest/cpp/natural_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 ~Server ()
Defined at line 158 of file fidling/gen/src/connectivity/network/testing/netemul/guest/fuchsia.netemul.guest/cpp/fidl/fuchsia.netemul.guest/cpp/natural_messaging.h