class SocketCreationOptions
Defined at line 21319 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.
void SocketCreationOptions ()
void SocketCreationOptions (SocketCreationOptions && other)
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 21327 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 21331 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 21337 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 21345 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 21360 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 21364 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 21375 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 21383 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 ()
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)