template <>
class WireServer
Defined at line 1871 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/cpp/fidl/fuchsia.gpu.magma/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_gpu_magma::CombinedDevice>|
and |::fidl::ServerEnd
<
::fuchsia_gpu_magma::CombinedDevice>|).
Public Methods
void Query (::fuchsia_gpu_magma::wire::DeviceQueryRequest * request, QueryCompleter::Sync & completer)
On success, returns a result either in a buffer or a simple value.
void Connect2 (::fuchsia_gpu_magma::wire::DeviceConnect2Request * request, Connect2Completer::Sync & completer)
Creates a connection to the device comprised of two IPC channels.
The primary channel is for the Primary protocol (see below). The notification channel is
used for vendor-specific messages which are sent only in the reverse (server-client)
direction, typically in response to client command completion.
void DumpState (::fuchsia_gpu_magma::wire::DiagnosticDeviceDumpStateRequest * request, DumpStateCompleter::Sync & completer)
Dumps driver and hardware state to the log.
void GetIcdList (GetIcdListCompleter::Sync & completer)
Returns a list of ICDs that can be used with this Magma device. The list is sorted in
descending order of preference.
void WireServer ()
Defined at line 1874 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/cpp/fidl/fuchsia.gpu.magma/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 1875 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/cpp/fidl/fuchsia.gpu.magma/cpp/wire_messaging.h