template <>
class WireServer
Defined at line 356 of file fidling/gen/sdk/fidl/fuchsia.hardware.securemem/fuchsia.hardware.securemem/cpp/fidl/fuchsia.hardware.securemem/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_hardware_securemem::Device>|
and |::fidl::ServerEnd
<
::fuchsia_hardware_securemem::Device>|).
Public Methods
void GetSecureMemoryPhysicalAddress (::fuchsia_hardware_securemem::wire::DeviceGetSecureMemoryPhysicalAddressRequest * request, GetSecureMemoryPhysicalAddressCompleter::Sync & completer)
Gets the physical address of a previously pinned VMO.
Note:
* The VMO must be contiguous.
* `secure_mem` is expected to have a stable physical address that is pinned by some other
entity. The protocol implementation should not be expected to keep the VMO pinned.
* The server implementation must not use an IOMMU-backed BTI handle, as the physical
address of the VMO being pinned must be stable.
void WireServer ()
Defined at line 359 of file fidling/gen/sdk/fidl/fuchsia.hardware.securemem/fuchsia.hardware.securemem/cpp/fidl/fuchsia.hardware.securemem/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 360 of file fidling/gen/sdk/fidl/fuchsia.hardware.securemem/fuchsia.hardware.securemem/cpp/fidl/fuchsia.hardware.securemem/cpp/wire_messaging.h