template <>
class WireServer
Defined at line 707 of file fidling/gen/sdk/lib/fidl/cpp/tests/integration/fidl.cpp.wire.interop.test/cpp/fidl/fidl.cpp.wire.interop.test/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fidl_cpp_wire_interop_test::Interop>|
and |::fidl::ServerEnd
<
::fidl_cpp_wire_interop_test::Interop>|).
Public Methods
void RoundTrip (::fidl_cpp_wire_interop_test::wire::InteropRoundTripRequest * request, RoundTripCompleter::Sync & completer)
[`RoundTrip`] exercises sending a complex data structure back and forth.
void TryRoundTrip (::fidl_cpp_wire_interop_test::wire::InteropTryRoundTripRequest * request, TryRoundTripCompleter::Sync & completer)
[`TryRoundTrip`] tests API and handling of the error syntax.
void OneWay (::fidl_cpp_wire_interop_test::wire::InteropOneWayRequest * request, OneWayCompleter::Sync & completer)
[`OneWay`] tests one way calls.
void WireServer ()
Defined at line 710 of file fidling/gen/sdk/lib/fidl/cpp/tests/integration/fidl.cpp.wire.interop.test/cpp/fidl/fidl.cpp.wire.interop.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 711 of file fidling/gen/sdk/lib/fidl/cpp/tests/integration/fidl.cpp.wire.interop.test/cpp/fidl/fidl.cpp.wire.interop.test/cpp/wire_messaging.h