template <>
class WireServer
Defined at line 3805 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_hardware_bluetooth::ScoConnection>|
and |::fidl::ServerEnd
<
::fuchsia_hardware_bluetooth::ScoConnection>|).
Public Methods
void Send (::fuchsia_hardware_bluetooth::wire::ScoPacket * request, SendCompleter::Sync & completer)
More than one Send can be pending simultaneously.
Prefer to limit the number of pending calls to avoid overflow.
A maximum of 10 pending calls is suggested.
void AckReceive (AckReceiveCompleter::Sync & completer)
void Stop (StopCompleter::Sync & completer)
The server will close the protocol when `Stop` is received. This is useful for
synchronization (e.g. before configuring another `ScoConnection`).
void WireServer ()
Defined at line 3808 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/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 3809 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/wire_messaging.h