class DelegatedRxLease

Defined at line 4259 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h

An acquired lease that is propagated up to applications.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

void DelegatedRxLease ()
void DelegatedRxLease (DelegatedRxLease && other)
const 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.

Defined at line 4280 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h

bool has_hold_until_frame ()

Defined at line 4284 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h

uint64_t * mutable_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.

Defined at line 4303 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h

void clear_hold_until_frame ()

Defined at line 4311 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h

const ::fuchsia::hardware::network::DelegatedRxLeaseHandle & handle ()

A handle representing the held lease.

Required.

Defined at line 4322 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h

bool has_handle ()

Defined at line 4326 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h

::fuchsia::hardware::network::DelegatedRxLeaseHandle * mutable_handle ()

A handle representing the held lease.

Required.

Defined at line 4333 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h

void clear_handle ()

Defined at line 4341 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h

DelegatedRxLease & set_hold_until_frame (uint64_t _value)
DelegatedRxLease & set_handle (::fuchsia::hardware::network::DelegatedRxLeaseHandle _value)
void ~DelegatedRxLease ()
DelegatedRxLease & operator= (DelegatedRxLease && other)
::std::unique_ptr<DelegatedRxLease> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, DelegatedRxLease * _value, size_t _offset)
zx_status_t Clone (DelegatedRxLease * _result)