template <>
class WireServer
Defined at line 4675 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::SuiteController>|
and |::fidl::ServerEnd
<
::fuchsia_test_manager::SuiteController>|).
Public Methods
void Stop (StopCompleter::Sync & completer)
Stop the suite run gracefully. SuiteController will disconnect after
all resources are released and all the events in this controller are drained.
void Kill (KillCompleter::Sync & completer)
Immediately terminate the run. SuiteController will disconnect after
all resources are released. This method will terminate tests even if
they are in progress.
void WatchEvents (WatchEventsCompleter::Sync & completer)
Returns events when they're available using a hanging get pattern. Returns an empty
vector to indicate there will be no further events.
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 4678 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 4679 of file fidling/gen/sdk/fidl/fuchsia.test.manager/fuchsia.test.manager/cpp/fidl/fuchsia.test.manager/cpp/wire_messaging.h