class UdpSocket

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

A matcher for UDP sockets.

Public Members

static const fidl_type_t * FidlType

Public Methods

::fuchsia::net::matchers::BoundPort & dst_port ()

Match against the destination port of UDP sockets.

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

void UdpSocket ()
void UdpSocket (UdpSocket && )
::std::unique_ptr<UdpSocket> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, UdpSocket * value, size_t offset)
zx_status_t Clone (UdpSocket * result)
UdpSocket & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)
bool has_invalid_tag ()

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

bool is_empty ()

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

::fuchsia::net::matchers::Empty & empty ()

Only matches against the transport protocol and nothing else.

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

const ::fuchsia::net::matchers::Empty & empty ()

Only matches against the transport protocol and nothing else.

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

bool is_src_port ()

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

::fuchsia::net::matchers::BoundPort & src_port ()

Match against the source port of UDP sockets.

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

const ::fuchsia::net::matchers::BoundPort & src_port ()

Match against the source port of UDP sockets.

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

bool is_dst_port ()

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

const ::fuchsia::net::matchers::BoundPort & dst_port ()

Match against the destination port of UDP sockets.

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

bool is_states ()

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

::fuchsia::net::matchers::UdpState & states ()

The UDP socket's state must be contained in the set of states.

If unset, matches all states, just as if it was fully set.

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

const ::fuchsia::net::matchers::UdpState & states ()

The UDP socket's state must be contained in the set of states.

If unset, matches all states, just as if it was fully set.

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

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

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

void ~UdpSocket ()
UdpSocket & operator= (UdpSocket && )
UdpSocket WithEmpty (::fuchsia::net::matchers::Empty && )
UdpSocket WithSrcPort (::fuchsia::net::matchers::BoundPort && )
UdpSocket WithDstPort (::fuchsia::net::matchers::BoundPort && )
UdpSocket WithStates (::fuchsia::net::matchers::UdpState && )
UdpSocket & set_empty (::fuchsia::net::matchers::Empty value)
UdpSocket & set_src_port (::fuchsia::net::matchers::BoundPort value)
UdpSocket & set_dst_port (::fuchsia::net::matchers::BoundPort value)
UdpSocket & set_states (::fuchsia::net::matchers::UdpState value)

Enumerations

enum Tag
Name Value
kUnknown 0
kEmpty 1
kSrcPort 2
kDstPort 3
kStates 4
Invalid ::std::numeric_limits<::fidl_union_tag_t>::max()

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

Friends

class Equality