class SocketCreationOptions

Defined at line 21261 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h

Options that can be provided at socket creation.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const ::fuchsia::net::Marks & marks ()

The marks for the created socket. If a mark is missing from the table,

it will remain unset for the created socket.

Defined at line 21269 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h

bool has_marks ()

Defined at line 21273 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h

::fuchsia::net::Marks * mutable_marks ()

The marks for the created socket. If a mark is missing from the table,

it will remain unset for the created socket.

Defined at line 21279 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h

void clear_marks ()

Defined at line 21287 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h

const ::fuchsia::net::resources::WakeGroupToken & group ()

A wake group to add the socket to on creation.

If absent, the socket is not added to any wake group. If the token

provided does not correspond to an existing wake group, socket creation

succeeds, but the socket is not added to any wake group. This makes it

easier for clients to avoid a race between shutting down their wake

group and creating a new socket.

Defined at line 21302 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h

bool has_group ()

Defined at line 21306 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h

::fuchsia::net::resources::WakeGroupToken * mutable_group ()

A wake group to add the socket to on creation.

If absent, the socket is not added to any wake group. If the token

provided does not correspond to an existing wake group, socket creation

succeeds, but the socket is not added to any wake group. This makes it

easier for clients to avoid a race between shutting down their wake

group and creating a new socket.

Defined at line 21317 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h

void clear_group ()

Defined at line 21325 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h

SocketCreationOptions & set_marks (::fuchsia::net::Marks _value)
SocketCreationOptions & set_group (::fuchsia::net::resources::WakeGroupToken _value)
void SocketCreationOptions ()
void SocketCreationOptions (SocketCreationOptions && other)
void ~SocketCreationOptions ()
SocketCreationOptions & operator= (SocketCreationOptions && other)
::std::unique_ptr<SocketCreationOptions> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, SocketCreationOptions * _value, size_t _offset)
zx_status_t Clone (SocketCreationOptions * _result)