template <>
class WireServer
Defined at line 1547 of file fidling/gen/sdk/fidl/fuchsia.hardware.goldfish/fuchsia.hardware.goldfish/cpp/fidl/fuchsia.hardware.goldfish/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_hardware_goldfish::AddressSpaceChildDriver>|
and |::fidl::ServerEnd
<
::fuchsia_hardware_goldfish::AddressSpaceChildDriver>|).
Public Methods
void AllocateBlock (::fuchsia_hardware_goldfish::wire::AddressSpaceChildDriverAllocateBlockRequest * request, AllocateBlockCompleter::Sync & completer)
Allocates goldfish address space of given size.
void DeallocateBlock (::fuchsia_hardware_goldfish::wire::AddressSpaceChildDriverDeallocateBlockRequest * request, DeallocateBlockCompleter::Sync & completer)
Free goldfish address space associated with given ID.
void ClaimSharedBlock (::fuchsia_hardware_goldfish::wire::AddressSpaceChildDriverClaimSharedBlockRequest * 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 UnclaimSharedBlock (::fuchsia_hardware_goldfish::wire::AddressSpaceChildDriverUnclaimSharedBlockRequest * 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 (::fuchsia_hardware_goldfish::wire::AddressSpaceChildDriverPingRequest * request, PingCompleter::Sync & completer)
Ping (General notification for child drivers)
void WireServer ()
Defined at line 1550 of file fidling/gen/sdk/fidl/fuchsia.hardware.goldfish/fuchsia.hardware.goldfish/cpp/fidl/fuchsia.hardware.goldfish/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 1551 of file fidling/gen/sdk/fidl/fuchsia.hardware.goldfish/fuchsia.hardware.goldfish/cpp/fidl/fuchsia.hardware.goldfish/cpp/wire_messaging.h