template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 2530 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/wire_types.h
Public Methods
::fuchsia_hardware_network::wire::DelegatedRxLease Build ()
Build and return the table. The builder should not be used after this.
bool has_hold_until_frame ()
void clear_hold_until_frame ()
Clears the hold_until_frame field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & hold_until_frame ()
The frame after which the lease in `handle` can be released.
Agents observing leases must keep track of received frames with an
increasing counter to be able to properly relinquish leases after the
frame `hold_until_frame` is fully processed.
This value can be interpreted as either the 1-based index of a given
frame or as the total number of exchanged frames so far, which are
mathematically equivalent.
This mechanism allows for wake lease handles from received frames to be
passed up and keep the system from suspension until the frame is fully
processed.
Required.
BuilderImpl & hold_until_frame (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
The frame after which the lease in `handle` can be released.
Agents observing leases must keep track of received frames with an
increasing counter to be able to properly relinquish leases after the
frame `hold_until_frame` is fully processed.
This value can be interpreted as either the 1-based index of a given
frame or as the total number of exchanged frames so far, which are
mathematically equivalent.
This mechanism allows for wake lease handles from received frames to be
passed up and keep the system from suspension until the frame is fully
processed.
Required.
bool has_handle ()
void clear_handle ()
Clears the handle field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_hardware_network::wire::DelegatedRxLeaseHandle & handle ()
A handle representing the held lease.
Required.
BuilderImpl & handle (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_hardware_network::wire::DelegatedRxLeaseHandle>> elem)
A handle representing the held lease.
Required.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_hardware_network::wire::DelegatedRxLease, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_network::wire::DelegatedRxLease>> && frame)