class PreferredLifetimeInfo

Defined at line 201 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h

Information about the preferred lifetime of an IP address or delegated

prefix.

Public Members

static const fidl_type_t * FidlType

Public Methods

void PreferredLifetimeInfo ()
void ~PreferredLifetimeInfo ()
void PreferredLifetimeInfo (PreferredLifetimeInfo && )
PreferredLifetimeInfo & operator= (PreferredLifetimeInfo && )
PreferredLifetimeInfo WithPreferredUntil (int64_t && )
PreferredLifetimeInfo WithDeprecated (::fuchsia::net::interfaces::Empty && )
::std::unique_ptr<PreferredLifetimeInfo> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, PreferredLifetimeInfo * value, size_t offset)
zx_status_t Clone (PreferredLifetimeInfo * result)
bool has_invalid_tag ()

Defined at line 228 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h

bool is_preferred_until ()

Defined at line 232 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h

int64_t & preferred_until ()

The end of the preferred lifetime.

The address/prefix should *not* be considered deprecated if `zx.Time`

is in the past. `preferred_until` is exchanged as a means to inform

the deadline where deprecation is expected to happen.

The preferred lifetime of addresses is defined in

[RFC 4862, section 2](https://tools.ietf.org/html/rfc4862#section-2).

Addresses configured using a delegated prefix must have a preferred

lifetime no longer than that of the prefix according to

[RFC 8415, section 6.3](https://datatracker.ietf.org/doc/html/rfc8415#section-6.3).

Must be greater than 0. If `zx.Time.INFINITE`, the preferred lifetime

does not expire.

Defined at line 249 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h

const int64_t & preferred_until ()

The end of the preferred lifetime.

The address/prefix should *not* be considered deprecated if `zx.Time`

is in the past. `preferred_until` is exchanged as a means to inform

the deadline where deprecation is expected to happen.

The preferred lifetime of addresses is defined in

[RFC 4862, section 2](https://tools.ietf.org/html/rfc4862#section-2).

Addresses configured using a delegated prefix must have a preferred

lifetime no longer than that of the prefix according to

[RFC 8415, section 6.3](https://datatracker.ietf.org/doc/html/rfc8415#section-6.3).

Must be greater than 0. If `zx.Time.INFINITE`, the preferred lifetime

does not expire.

Defined at line 269 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h

bool is_deprecated ()

Defined at line 275 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h

::fuchsia::net::interfaces::Empty & deprecated ()

The address/prefix is deprecated.

Deprecated addresses should no longer be used for initiating

new connections unless explicitly requested, or if no other

non-deprecated addresses are assigned (as described in

[RFC 4862, section 1](https://tools.ietf.org/html/rfc4862#section-1)).

Addresses configured using a deprecated delegated prefix must also be

deprecated according to

[RFC 8415, section 6.3](https://datatracker.ietf.org/doc/html/rfc8415#section-6.3).

An address/prefix can become undeprecated if its preferred lifetime is

extended.

Defined at line 290 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h

const ::fuchsia::net::interfaces::Empty & deprecated ()

The address/prefix is deprecated.

Deprecated addresses should no longer be used for initiating

new connections unless explicitly requested, or if no other

non-deprecated addresses are assigned (as described in

[RFC 4862, section 1](https://tools.ietf.org/html/rfc4862#section-1)).

Addresses configured using a deprecated delegated prefix must also be

deprecated according to

[RFC 8415, section 6.3](https://datatracker.ietf.org/doc/html/rfc8415#section-6.3).

An address/prefix can become undeprecated if its preferred lifetime is

extended.

Defined at line 308 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h

::fuchsia::net::interfaces::PreferredLifetimeInfo::Tag Which ()

Defined at line 314 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h

fidl_xunion_tag_t Ordinal ()

You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need

access to the raw integral ordinal value.

Defined at line 320 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h

PreferredLifetimeInfo & set_preferred_until (int64_t value)
PreferredLifetimeInfo & set_deprecated (::fuchsia::net::interfaces::Empty value)

Enumerations

enum Tag
Name Value
kPreferredUntil 1
kDeprecated 2
Invalid ::std::numeric_limits<::fidl_union_tag_t>::max()

Defined at line 214 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h

Friends

class Equality