template <>

class WireServer

Defined at line 2644 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::ConnectionReceiver>|

and |::fidl::ServerEnd

<

::fuchsia_bluetooth_bredr::ConnectionReceiver>|).

Public Methods

void Connected (::fuchsia_bluetooth_bredr::wire::ConnectionReceiverConnectedRequest * request, ConnectedCompleter::Sync & completer)

Called when a peer connects to this service. The channel connected is delivered

with parameters in `channel`.

`protocol` will contain a protocol list up to the point connected (for example, if

L2CAP is connected, it will contain the L2CAP protocol and specify the PSM connected)

void WireServer ()

Defined at line 2647 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 2648 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.bredr/fuchsia.bluetooth.bredr/cpp/fidl/fuchsia.bluetooth.bredr/cpp/wire_messaging.h