class SocketTransportProtocol

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

A matcher for transport-layer fields of a socket.

Public Members

static const fidl_type_t * FidlType

Public Methods

void SocketTransportProtocol ()
void ~SocketTransportProtocol ()
void SocketTransportProtocol (SocketTransportProtocol && )
SocketTransportProtocol & operator= (SocketTransportProtocol && )
SocketTransportProtocol WithTcp (::fuchsia::net::matchers::TcpSocket && )
SocketTransportProtocol WithUdp (::fuchsia::net::matchers::UdpSocket && )
::std::unique_ptr<SocketTransportProtocol> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, SocketTransportProtocol * value, size_t offset)
zx_status_t Clone (SocketTransportProtocol * result)
bool has_invalid_tag ()

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

bool is_tcp ()

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

SocketTransportProtocol & set_tcp (::fuchsia::net::matchers::TcpSocket value)
::fuchsia::net::matchers::TcpSocket & tcp ()

Matches against TCP fields.

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

const ::fuchsia::net::matchers::TcpSocket & tcp ()

Matches against TCP fields.

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

bool is_udp ()

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

SocketTransportProtocol & set_udp (::fuchsia::net::matchers::UdpSocket value)
SocketTransportProtocol & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)
::fuchsia::net::matchers::UdpSocket & udp ()

Matches against UDP fields.

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

const ::fuchsia::net::matchers::UdpSocket & udp ()

Matches against UDP fields.

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

::fuchsia::net::matchers::SocketTransportProtocol::Tag Which ()

Defined at line 1940 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/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 1953 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h

const std::vector<uint8_t> * UnknownBytes ()

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

Enumerations

enum Tag
Name Value
kUnknown 0
kTcp 1
kUdp 2
Invalid ::std::numeric_limits<::fidl_union_tag_t>::max()

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

Friends

class Equality