template <>
class WireServer
Defined at line 4744 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::HciTransport>|
and |::fidl::ServerEnd
<
::fuchsia_hardware_bluetooth::HciTransport>|).
Public Methods
void Send (::fuchsia_hardware_bluetooth::wire::SentPacket * 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.
If an event or SCO packet is received by the server, the server should close the protocol.
void AckReceive (AckReceiveCompleter::Sync & completer)
void ConfigureSco (::fuchsia_hardware_bluetooth::wire::HciTransportConfigureScoRequest * request, ConfigureScoCompleter::Sync & completer)
Establish a SCO connection. Only 1 SCO connection can be configured at a time.
void WireServer ()
Defined at line 4747 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 4748 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/wire_messaging.h