template <>
class WireServer
Defined at line 418 of file fidling/gen/src/devices/tests/v2/restart-on-crash/fidl/fuchsia.crashdriver.test/cpp/fidl/fuchsia.crashdriver.test/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_crashdriver_test::Crasher>|
and |::fidl::ServerEnd
<
::fuchsia_crashdriver_test::Crasher>|).
Public Methods
void Ping (PingCompleter::Sync & completer)
Returns a number that is unique per instance of the driver.
void Crash (CrashCompleter::Sync & completer)
One way call that will assert false and kill the host process.
void WireServer ()
Defined at line 421 of file fidling/gen/src/devices/tests/v2/restart-on-crash/fidl/fuchsia.crashdriver.test/cpp/fidl/fuchsia.crashdriver.test/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 422 of file fidling/gen/src/devices/tests/v2/restart-on-crash/fidl/fuchsia.crashdriver.test/cpp/fidl/fuchsia.crashdriver.test/cpp/wire_messaging.h