template <>

class WireServer

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

Pure-virtual interface to be implemented by a server.

This interface uses typed channels (i.e. |::fidl::ClientEnd

<

::fuchsia_hardware_sysmem::Sysmem>|

and |::fidl::ServerEnd

<

::fuchsia_hardware_sysmem::Sysmem>|).

Public Methods

void RegisterHeap (::fuchsia_hardware_sysmem::wire::SysmemRegisterHeapRequest * request, RegisterHeapCompleter::Sync & completer)

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

fuchsia.sysmem2.Heap.

void RegisterSecureMem (::fuchsia_hardware_sysmem::wire::SysmemRegisterSecureMemRequest * 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 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.

void WireServer ()

Defined at line 1469 of file fidling/gen/sdk/fidl/fuchsia.hardware.sysmem/fuchsia.hardware.sysmem/cpp/fidl/fuchsia.hardware.sysmem/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 1470 of file fidling/gen/sdk/fidl/fuchsia.hardware.sysmem/fuchsia.hardware.sysmem/cpp/fidl/fuchsia.hardware.sysmem/cpp/wire_messaging.h