class TcpSocket

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

A matcher for TCP sockets.

Public Methods

void TcpSocket (const TcpSocket & )

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

void TcpSocket (TcpSocket && )

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

void TcpSocket ()
bool has_invalid_tag ()
bool is_empty ()
TcpSocket 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 ()
TcpSocket WithSrcPort (::fidl::ObjectView< ::fuchsia_net_matchers::wire::BoundPort> val)

Match against the source port of TCP sockets.

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

Match against the source port of TCP sockets.

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

Match against the source port of TCP sockets.

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

Match against the destination port of TCP sockets.

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

Match against the destination port of TCP sockets.

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

Match against the destination port of TCP sockets.

bool is_states ()
TcpSocket WithStates (::fuchsia_net_matchers::wire::TcpState val)

The TCP socket's state must be contained in the set of states. If unset,

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

The constants are structured to correspond to the enum values of

fuchsia.net.tcp.States.

::fuchsia_net_matchers::wire::TcpState & states ()

The TCP socket's state must be contained in the set of states. If unset,

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

The constants are structured to correspond to the enum values of

fuchsia.net.tcp.States.

const ::fuchsia_net_matchers::wire::TcpState & states ()

The TCP socket's state must be contained in the set of states. If unset,

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

The constants are structured to correspond to the enum values of

fuchsia.net.tcp.States.

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

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

TcpSocket & operator= (TcpSocket && )

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

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

Match against the source port of TCP sockets.

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

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

Match against the destination port of TCP sockets.

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