template <>

class Server

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

Public Methods

void ReadBuffer (ReadBufferRequest & request, ReadBufferCompleter::Sync & completer)

The VMO used in the method is not owned by the protocol implementation.

In the case of ReadBuffer, the client provides an empty VMO for the server to fill,

while in the case of WriteBuffer, the client must fill the VMO with data before making

the request.

void Server ()

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

void WriteBuffer (WriteBufferRequest & request, WriteBufferCompleter::Sync & completer)
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 189 of file fidling/gen/sdk/fidl/fuchsia.hardware.scsi/fuchsia.hardware.scsi/cpp/fidl/fuchsia.hardware.scsi/cpp/natural_messaging.h