template <>
class WireServer
Defined at line 3436 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.bredr/fuchsia.bluetooth.bredr/cpp/fidl/fuchsia.bluetooth.bredr/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_bluetooth_bredr::SearchResults>|
and |::fidl::ServerEnd
<
::fuchsia_bluetooth_bredr::SearchResults>|).
Public Methods
void ServiceFound (::fuchsia_bluetooth_bredr::wire::SearchResultsServiceFoundRequest * request, ServiceFoundCompleter::Sync & completer)
Called when a search this client added finds a matching service on a peer.
`peer_id` is the peer the service was found on.
`protocol` includes the ProtocolDescriptorList in the service record if it exists
(it is also included in `attributes`.)
`attributes` contains all attributes requested from the search that are present on the
peer record. It may also include additional attributes.
Each ServiceFound call should be acknowledged by replying.
A limited amount of unacknowledged results will be sent on the channel. Results may be
dropped if results are received while too many results are unacknowledged.
void WireServer ()
Defined at line 3439 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.bredr/fuchsia.bluetooth.bredr/cpp/fidl/fuchsia.bluetooth.bredr/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 3440 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.bredr/fuchsia.bluetooth.bredr/cpp/fidl/fuchsia.bluetooth.bredr/cpp/wire_messaging.h