template <>
class WireServer
Defined at line 1413 of file fidling/gen/sdk/fidl/fuchsia.hardware.sharedmemory/fuchsia.hardware.sharedmemory/cpp/fidl/fuchsia.hardware.sharedmemory/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_hardware_sharedmemory::SharedVmoIo>|
and |::fidl::ServerEnd
<
::fuchsia_hardware_sharedmemory::SharedVmoIo>|).
Public Methods
void Transmit (::fuchsia_hardware_sharedmemory::wire::SharedVmoIoTransmitRequest * request, TransmitCompleter::Sync & completer)
Sends the data in buffer to the device.
void Receive (::fuchsia_hardware_sharedmemory::wire::SharedVmoIoReceiveRequest * request, ReceiveCompleter::Sync & completer)
Receives data from the device into buffer.
void Exchange (::fuchsia_hardware_sharedmemory::wire::SharedVmoIoExchangeRequest * request, ExchangeCompleter::Sync & completer)
Simultaneously transmits and receives data. The size fields of tx_buffer and rx_buffer must
be the same.
void WireServer ()
Defined at line 1416 of file fidling/gen/sdk/fidl/fuchsia.hardware.sharedmemory/fuchsia.hardware.sharedmemory/cpp/fidl/fuchsia.hardware.sharedmemory/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 1417 of file fidling/gen/sdk/fidl/fuchsia.hardware.sharedmemory/fuchsia.hardware.sharedmemory/cpp/fidl/fuchsia.hardware.sharedmemory/cpp/wire_messaging.h