template <>

class Server

Defined at line 464 of file fidling/gen/sdk/fidl/fuchsia.hardware.sharedmemory/fuchsia.hardware.sharedmemory/cpp/fidl/fuchsia.hardware.sharedmemory/cpp/natural_messaging.h

Public Methods

void Server ()

Defined at line 467 of file fidling/gen/sdk/fidl/fuchsia.hardware.sharedmemory/fuchsia.hardware.sharedmemory/cpp/fidl/fuchsia.hardware.sharedmemory/cpp/natural_messaging.h

void Transmit (TransmitRequest & request, TransmitCompleter::Sync & completer)

Sends the data in buffer to the device.

void Receive (ReceiveRequest & request, ReceiveCompleter::Sync & completer)

Receives data from the device into buffer.

void Exchange (ExchangeRequest & request, ExchangeCompleter::Sync & completer)

Simultaneously transmits and receives data. The size fields of tx_buffer and rx_buffer must

be the same.

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 ~Server ()

Defined at line 468 of file fidling/gen/sdk/fidl/fuchsia.hardware.sharedmemory/fuchsia.hardware.sharedmemory/cpp/fidl/fuchsia.hardware.sharedmemory/cpp/natural_messaging.h