template <>

class WireSyncBufferClientImpl

Defined at line 2251 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.bredr/fuchsia.bluetooth.bredr/cpp/fidl/fuchsia.bluetooth.bredr/cpp/wire_messaging.h

Public Methods

::fidl::WireUnownedResult< ::fuchsia_bluetooth_bredr::ScoConnection::Read> Read ()

Read the next inbound SCO payload.

Hangs until new data is received.

Only one Read request may be pending at a time. Additional requests will result in protocol

closure.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_bluetooth_bredr::ScoConnection::Write> Write (::fuchsia_bluetooth_bredr::wire::ScoConnectionWriteRequest ScoConnectionWriteRequest)

Write `data` to the SCO connection.

If Write tries to send more data than `max_tx_data_size`, the protocol will be closed.

Only one Write request may be pending at a time. Additional requests will result in protocol

closure.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::OneWayStatus RequestDisconnect ()

Request disconnect of the current connection. The server is expected to close the

protocol once the underlying connection is disconnected. This can be used to order

events to happen after the connection is dropped. If this is not necessary, the

server will always disconnect the SCO when this protocol is closed by the client.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.