template <>

class Server

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

Public Methods

void RegisterHeap (RegisterHeapRequest & request, RegisterHeapCompleter::Sync & completer)

Takes the client end of a FIDL connection that'll serve

fuchsia.sysmem2.Heap.

void RegisterSecureMem (RegisterSecureMemRequest & request, RegisterSecureMemCompleter::Sync & completer)

Takes the client end of a FIDL connection that'll serve

fuchsia.sysmem2.SecureMem, which is a protocol that's specific to

sysmem

<

->securemem concerns.

void Server ()

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

void UnregisterSecureMem (UnregisterSecureMemCompleter::Sync & completer)

Informs sysmem that the channel previously passed to RegisterSecureMem()

will be closing soon, and that this channel closure should not be

considered an error.

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