template <>
class Server
Defined at line 740 of file fidling/gen/src/virtualization/lib/guest_interaction/fuchsia.virtualization.guest.interaction/cpp/fidl/fuchsia.virtualization.guest.interaction/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 743 of file fidling/gen/src/virtualization/lib/guest_interaction/fuchsia.virtualization.guest.interaction/cpp/fidl/fuchsia.virtualization.guest.interaction/cpp/natural_messaging.h
void Start (StartRequest & request, StartCompleter::Sync & completer)
void Shutdown (ShutdownCompleter::Sync & completer)
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 744 of file fidling/gen/src/virtualization/lib/guest_interaction/fuchsia.virtualization.guest.interaction/cpp/fidl/fuchsia.virtualization.guest.interaction/cpp/natural_messaging.h