template <>

class Server

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

Public Methods

void AllocateBlock (AllocateBlockRequest & request, AllocateBlockCompleter::Sync & completer)

Allocates goldfish address space of given size.

void DeallocateBlock (DeallocateBlockRequest & request, DeallocateBlockCompleter::Sync & completer)

Free goldfish address space associated with given ID.

void ClaimSharedBlock (ClaimSharedBlockRequest & request, ClaimSharedBlockCompleter::Sync & completer)

Claim a region at `[offset, offset + size)` that is a subregion of a

larger region managed by hardware. It is possible to share the same

regions across different connections, but within a connection, we

require the claimed regions to be disjoint. Otherwise,

`ZX_ERROR_INVALID_ARGS1` is returned.

void Server ()

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

void UnclaimSharedBlock (UnclaimSharedBlockRequest & request, UnclaimSharedBlockCompleter::Sync & completer)

Unclaim a hardware-shared region. This must correspond to an existing

claimed region in the current connection. Otherwise,

`ZX_ERROR_INVALID_ARGS` is returned.

void Ping (PingRequest & request, PingCompleter::Sync & completer)

Ping (General notification for child drivers)

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