class SocketAddress

Defined at line 759 of file fidling/gen/sdk/fidl/fuchsia.net/fuchsia.net/cpp/fidl/fuchsia.net/cpp/natural_types.h

Represents an IP socket address that may be either v4 or v6.

Public Methods

void SocketAddress (SocketAddress && other)
SocketAddress & operator= (SocketAddress && other)
void SocketAddress (const SocketAddress & other)
SocketAddress & operator= (const SocketAddress & other)
bool operator== (const SocketAddress & other)
bool operator!= (const SocketAddress & other)
::fuchsia_net::SocketAddress::Tag Which ()
SocketAddress WithIpv4 (::fuchsia_net::Ipv4SocketAddress val)
const ::fidl::internal::UnionMemberView<1, Storage_> ipv4 ()
::fidl::internal::UnionMemberView<1, Storage_> ipv4 ()
SocketAddress & ipv4 (::fuchsia_net::Ipv4SocketAddress value)

Sets the union to hold the ipv4 member.

SocketAddress WithIpv6 (::fuchsia_net::Ipv6SocketAddress val)
const ::fidl::internal::UnionMemberView<2, Storage_> ipv6 ()
::fidl::internal::UnionMemberView<2, Storage_> ipv6 ()
SocketAddress & ipv6 (::fuchsia_net::Ipv6SocketAddress value)

Sets the union to hold the ipv6 member.

void SocketAddress (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kIpv4 1
kIpv6 2

TODO: share union tag types between wire

&

natural.

Defined at line 767 of file fidling/gen/sdk/fidl/fuchsia.net/fuchsia.net/cpp/fidl/fuchsia.net/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits