template <>
class WireServer
Defined at line 562 of file fidling/gen/sdk/fidl/fuchsia.unknown/fuchsia.unknown/cpp/fidl/fuchsia.unknown/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_unknown::Closeable>|
and |::fidl::ServerEnd
<
::fuchsia_unknown::Closeable>|).
Public Methods
void Close (CloseCompleter::Sync & completer)
Terminates the connection.
After calling `Close`, the client must not send any other requests.
Servers, after sending the status response, should close the connection
regardless of status and without sending an epitaph.
Closing the client end of the channel should be semantically equivalent
to calling `Close` without knowing when the close has completed or its
status.
void WireServer ()
Defined at line 565 of file fidling/gen/sdk/fidl/fuchsia.unknown/fuchsia.unknown/cpp/fidl/fuchsia.unknown/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 566 of file fidling/gen/sdk/fidl/fuchsia.unknown/fuchsia.unknown/cpp/fidl/fuchsia.unknown/cpp/wire_messaging.h