template <>
class WireServer
Defined at line 860 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_storage_block::Session>|
and |::fidl::ServerEnd
<
::fuchsia_storage_block::Session>|).
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 GetFifo (GetFifoCompleter::Sync & completer)
Returns a handle to the client end of the FIFO.
void AttachVmo (::fuchsia_storage_block::wire::SessionAttachVmoRequest * request, AttachVmoCompleter::Sync & completer)
Attaches a VMO to the session.
Returns an identifer that can be used to refer to the VMO.
void WireServer ()
Defined at line 863 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/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 864 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/wire_messaging.h