template <>
class WireServer
Defined at line 330 of file fidling/gen/src/devices/tests/v2/compat/fuchsia.hardware.compat/cpp/fidl/fuchsia.hardware.compat/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_hardware_compat::Leaf>|
and |::fidl::ServerEnd
<
::fuchsia_hardware_compat::Leaf>|).
Public Methods
void GetString (GetStringCompleter::Sync & completer)
void WireServer ()
Defined at line 333 of file fidling/gen/src/devices/tests/v2/compat/fuchsia.hardware.compat/cpp/fidl/fuchsia.hardware.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 GlobalCounter (GlobalCounterCompleter::Sync & completer)
This returns the driver's global counter, and then increments it.
The global counter starts at 0.
void AddChild (::fuchsia_hardware_compat::wire::LeafAddChildRequest * request, AddChildCompleter::Sync & completer)
void ~WireServer ()
Defined at line 334 of file fidling/gen/src/devices/tests/v2/compat/fuchsia.hardware.compat/cpp/fidl/fuchsia.hardware.compat/cpp/wire_messaging.h