template <typename BuilderImpl>

class WireTableBaseBuilder

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

Public Methods

::fuchsia_bluetooth_bredr::wire::Channel Build ()

Build and return the table. The builder should not be used after this.

bool has_socket ()
void clear_socket ()

Clears the socket field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::zx::socket & socket ()

Deprecated.

Socket interface for sending/receiving SDUs on the channel.

The channel will be closed if both this socket and the Connection are closed.

Always present.

BuilderImpl & socket (::zx::socket elem)

Deprecated.

Socket interface for sending/receiving SDUs on the channel.

The channel will be closed if both this socket and the Connection are closed.

Always present.

bool has_channel_mode ()
void clear_channel_mode ()

Clears the channel_mode field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_bluetooth::wire::ChannelMode & channel_mode ()

Channel mode accepted by the peer.

Always present.

BuilderImpl & channel_mode (::fuchsia_bluetooth::wire::ChannelMode elem)

Channel mode accepted by the peer.

Always present.

bool has_max_tx_sdu_size ()
void clear_max_tx_sdu_size ()

Clears the max_tx_sdu_size field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

uint16_t & max_tx_sdu_size ()

Maximum SDU size the peer is capable of accepting.

Always present.

BuilderImpl & max_tx_sdu_size (uint16_t elem)

Maximum SDU size the peer is capable of accepting.

Always present.

bool has_ext_direction ()
void clear_ext_direction ()

Clears the ext_direction field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::ClientEnd< ::fuchsia_bluetooth_bredr::AudioDirectionExt> & ext_direction ()

Audio Direction priority extension. See `AudioDirectionExt`.

Present only if supported.

BuilderImpl & ext_direction (::fidl::ClientEnd< ::fuchsia_bluetooth_bredr::AudioDirectionExt> elem)

Audio Direction priority extension. See `AudioDirectionExt`.

Present only if supported.

bool has_flush_timeout ()
void clear_flush_timeout ()

Clears the flush_timeout field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

int64_t & flush_timeout ()

Getter for flush_timeout.

BuilderImpl & flush_timeout (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)

Setter for flush_timeout.

bool has_ext_l2cap ()
void clear_ext_l2cap ()

Clears the ext_l2cap field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::ClientEnd< ::fuchsia_bluetooth_bredr::L2capParametersExt> & ext_l2cap ()

L2CAP parameter extension. See `L2capParametersExt`.

Always present for L2CAP Channels, never present for other Channels.

BuilderImpl & ext_l2cap (::fidl::ClientEnd< ::fuchsia_bluetooth_bredr::L2capParametersExt> elem)

L2CAP parameter extension. See `L2capParametersExt`.

Always present for L2CAP Channels, never present for other Channels.

bool has_ext_audio_offload ()
void clear_ext_audio_offload ()

Clears the ext_audio_offload field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::ClientEnd< ::fuchsia_bluetooth_bredr::AudioOffloadExt> & ext_audio_offload ()

Audio offload extension. See `AudioOffloadExt`.

Present only if supported.

BuilderImpl & ext_audio_offload (::fidl::ClientEnd< ::fuchsia_bluetooth_bredr::AudioOffloadExt> elem)

Audio offload extension. See `AudioOffloadExt`.

Present only if supported.

bool has_connection ()
void clear_connection ()

Clears the connection field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::ClientEnd< ::fuchsia_bluetooth::Channel> & connection ()

Protocol for sending/receiving SDUs on the channel.

If present, closing this and `socket` will close the channel.

BuilderImpl & connection (::fidl::ClientEnd< ::fuchsia_bluetooth::Channel> elem)

Protocol for sending/receiving SDUs on the channel.

If present, closing this and `socket` will close the channel.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_bluetooth_bredr::wire::Channel, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_bluetooth_bredr::wire::Channel>> && frame)

Records