template <>

class WireServer

Defined at line 3313 of file fidling/gen/sdk/fidl/fuchsia.test.manager/fuchsia.test.manager/cpp/fidl/fuchsia.test.manager/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

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

<

::fuchsia_test_manager::RunController>|

and |::fidl::ServerEnd

<

::fuchsia_test_manager::RunController>|).

Public Methods

void Stop (StopCompleter::Sync & completer)

Stop the run gracefully. RunController will disconnect after all

resources are released and all the events in this controller are drained.

This method is used to allow the run to complete tests that are in progress,

but will prevent starting new tests.

void Kill (KillCompleter::Sync & completer)

Immediately terminate the run. RunController will disconnect after all

resources are released. This method will terminate tests even if they

are in progress.

void GetEvents (GetEventsCompleter::Sync & completer)

Iterator over events for the run. This method is a hanging get; it

returns an empty vector only when there will be no further events

(the run completed).

void WireServer ()

Defined at line 3316 of file fidling/gen/sdk/fidl/fuchsia.test.manager/fuchsia.test.manager/cpp/fidl/fuchsia.test.manager/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 3317 of file fidling/gen/sdk/fidl/fuchsia.test.manager/fuchsia.test.manager/cpp/fidl/fuchsia.test.manager/cpp/wire_messaging.h