template <>

class WireServer

Defined at line 1238 of file fidling/gen/src/connectivity/network/testing/netemul/guest/fuchsia.netemul.guest/cpp/fidl/fuchsia.netemul.guest/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

This interface uses typed channels (i.e. |::fidl::ClientEnd

<

::fuchsia_netemul_guest::Guest>|

and |::fidl::ServerEnd

<

::fuchsia_netemul_guest::Guest>|).

Public Methods

void PutFile (::fuchsia_virtualization_guest_interaction::wire::InteractionPutFileRequest * 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 (::fuchsia_virtualization_guest_interaction::wire::InteractionGetFileRequest * 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 (::fuchsia_virtualization_guest_interaction::wire::InteractionExecuteCommandRequest * request, ExecuteCommandCompleter::Sync & completer)

Execute command on the guest under test and return the resulting output,

error, and return code.

void Shutdown (ShutdownCompleter::Sync & completer)

Shuts down the guest and closes the channel over which `Guest` is being

served.

void WireServer ()

Defined at line 1241 of file fidling/gen/src/connectivity/network/testing/netemul/guest/fuchsia.netemul.guest/cpp/fidl/fuchsia.netemul.guest/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 1242 of file fidling/gen/src/connectivity/network/testing/netemul/guest/fuchsia.netemul.guest/cpp/fidl/fuchsia.netemul.guest/cpp/wire_messaging.h