template <>
class Server
Defined at line 1620 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/natural_messaging.h
Public Methods
void Send (SendRequest & 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 (ConfigureScoRequest & request, ConfigureScoCompleter::Sync & completer)
Establish a SCO connection. Only 1 SCO connection can be configured at a time.
void Server ()
Defined at line 1623 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/natural_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 ~Server ()
Defined at line 1624 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/natural_messaging.h