template <>
class Server
Defined at line 413 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 PutFile (PutFileRequest & request, PutFileCompleter::Sync & completer)
Take a local file from the Fuchsia host and transfer it to a destination
location on the guest under test.
void GetFile (GetFileRequest & request, GetFileCompleter::Sync & completer)
Pull a file from the guest under test and copy it to the specified
location on the Fuchsia host.
void ExecuteCommand (ExecuteCommandRequest & request, ExecuteCommandCompleter::Sync & completer)
Execute command on the guest under test and return the resulting output,
error, and return code.
void Server ()
Defined at line 416 of file fidling/gen/src/connectivity/network/testing/netemul/guest/fuchsia.netemul.guest/cpp/fidl/fuchsia.netemul.guest/cpp/natural_messaging.h
void Shutdown (ShutdownCompleter::Sync & completer)
Shuts down the guest and closes the channel over which `Guest` is being
served.
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 417 of file fidling/gen/src/connectivity/network/testing/netemul/guest/fuchsia.netemul.guest/cpp/fidl/fuchsia.netemul.guest/cpp/natural_messaging.h