template <>
class WireServer
Defined at line 3850 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::RunBuilder>|
and |::fidl::ServerEnd
<
::fuchsia_test_manager::RunBuilder>|).
Public Methods
void AddSuite (::fuchsia_test_manager::wire::RunBuilderAddSuiteRequest * request, AddSuiteCompleter::Sync & completer)
Add a suite to this run. A suite is a component that implements
`fuchsia.test.Suite`. Implementors of this API will talk to test suites
using "Suite" protocol and return results using `controller`. The
controller is also used to control the execution of the test suite.
void AddSuiteInRealm (::fuchsia_test_manager::wire::RunBuilderAddSuiteInRealmRequest * request, AddSuiteInRealmCompleter::Sync & completer)
Add a suite to this run which would run in provided 'realm'. A suite is
a component that implements `fuchsia.test.Suite`. Implementors of this
API will talk to test suites using "Suite" protocol and return results
using `controller`. The controller is also used to control the execution
of the test suite.
void WireServer ()
Defined at line 3853 of file fidling/gen/sdk/fidl/fuchsia.test.manager/fuchsia.test.manager/cpp/fidl/fuchsia.test.manager/cpp/wire_messaging.h
void WithSchedulingOptions (::fuchsia_test_manager::wire::RunBuilderWithSchedulingOptionsRequest * request, WithSchedulingOptionsCompleter::Sync & completer)
Specify scheduling options used for this run.
void Build (::fuchsia_test_manager::wire::RunBuilderBuildRequest * request, BuildCompleter::Sync & completer)
Build and schedule the run.
This runs all suites added with their respective filters and closes the
channel once it is done.
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 3854 of file fidling/gen/sdk/fidl/fuchsia.test.manager/fuchsia.test.manager/cpp/fidl/fuchsia.test.manager/cpp/wire_messaging.h