template <>
class WireServer
Defined at line 578 of file fidling/gen/sdk/fidl/fuchsia.driver.compat/fuchsia.driver.compat/cpp/fidl/fuchsia.driver.compat/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_driver_compat::Device>|
and |::fidl::ServerEnd
<
::fuchsia_driver_compat::Device>|).
Public Methods
void GetMetadata (GetMetadataCompleter::Sync & completer)
Get all of the metadata associated with this device.
void GetBanjoProtocol (::fuchsia_driver_compat::wire::DeviceGetBanjoProtocolRequest * request, GetBanjoProtocolCompleter::Sync & completer)
Connect to a banjo protocol that this device is exposing.
The caller needs to send a copy of their process koid so the callee can verify
that both drivers are in the same process.
void WireServer ()
Defined at line 581 of file fidling/gen/sdk/fidl/fuchsia.driver.compat/fuchsia.driver.compat/cpp/fidl/fuchsia.driver.compat/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 582 of file fidling/gen/sdk/fidl/fuchsia.driver.compat/fuchsia.driver.compat/cpp/fidl/fuchsia.driver.compat/cpp/wire_messaging.h