class UdpSocket

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

A matcher for UDP sockets.

Public Methods

void UdpSocket (const UdpSocket & )

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

void UdpSocket (UdpSocket && )

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

bool IsUnknown ()

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

void UdpSocket ()
bool has_invalid_tag ()
bool is_empty ()
UdpSocket WithEmpty (::fuchsia_net_matchers::wire::Empty val)

Only matches against the transport protocol and nothing else.

::fuchsia_net_matchers::wire::Empty & empty ()

Only matches against the transport protocol and nothing else.

const ::fuchsia_net_matchers::wire::Empty & empty ()

Only matches against the transport protocol and nothing else.

bool is_src_port ()
UdpSocket WithSrcPort (::fidl::ObjectView< ::fuchsia_net_matchers::wire::BoundPort> val)

Match against the source port of UDP sockets.

::fuchsia_net_matchers::wire::BoundPort & src_port ()

Match against the source port of UDP sockets.

const ::fuchsia_net_matchers::wire::BoundPort & src_port ()

Match against the source port of UDP sockets.

bool is_dst_port ()
UdpSocket WithDstPort (::fidl::ObjectView< ::fuchsia_net_matchers::wire::BoundPort> val)

Match against the destination port of UDP sockets.

::fuchsia_net_matchers::wire::BoundPort & dst_port ()

Match against the destination port of UDP sockets.

const ::fuchsia_net_matchers::wire::BoundPort & dst_port ()

Match against the destination port of UDP sockets.

bool is_states ()
UdpSocket WithStates (::fuchsia_net_matchers::wire::UdpState val)

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.

::fuchsia_net_matchers::wire::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.

const ::fuchsia_net_matchers::wire::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.

::fuchsia_net_matchers::wire::UdpSocket::Tag Which ()
UdpSocket & operator= (const UdpSocket & )

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

UdpSocket & operator= (UdpSocket && )

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

template <typename... Args>
UdpSocket WithSrcPort (::fidl::AnyArena & allocator, Args &&... args)

Match against the source port of UDP sockets.

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

template <typename... Args>
UdpSocket WithDstPort (::fidl::AnyArena & allocator, Args &&... args)

Match against the destination port of UDP sockets.

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

Enumerations

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

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