template <>
class WireSyncClientImpl
Defined at line 2217 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.bredr/fuchsia.bluetooth.bredr/cpp/fidl/fuchsia.bluetooth.bredr/cpp/wire_messaging.h
Methods to make a sync FIDL call directly on an unowned handle or a
const reference to a |::fidl::ClientEnd
<
::fuchsia_bluetooth_bredr::ScoConnection>|,
avoiding setting up a client.
Public Methods
::fidl::WireResult< ::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.
Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.
::fidl::WireResult< ::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.
Allocates 32 bytes of response buffer on the stack. Request is heap-allocated.
::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.
Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.