template <>

class Server

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

Public Methods

void ConfigureQueue (ConfigureQueueRequest & request, ConfigureQueueCompleter::Sync & completer)

Configure a `queue` for the device. This specifies the `size` and the

guest physical addresses of the queue: `desc`, `avail`, and `used`.

void NotifyQueue (NotifyQueueRequest & request, NotifyQueueCompleter::Sync & completer)

Notify a `queue` for the device. Primarily used for black-box testing.

void Ready (ReadyRequest & request, ReadyCompleter::Sync & completer)

Ready a device. This provides the set of `negotiated_features` that the

driver and device have agreed upon.

void Server ()

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

void Start (StartRequest & request, StartCompleter::Sync & completer)

Start the console device. This uses `socket` to handle input and output.

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 1051 of file fidling/gen/sdk/fidl/fuchsia.virtualization.hardware/fuchsia.virtualization.hardware/cpp/fidl/fuchsia.virtualization.hardware/cpp/natural_messaging.h