class SocketTransportProtocol
Defined at line 1547 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/wire_types.h
A matcher for transport-layer fields of a socket.
Public Methods
void SocketTransportProtocol ()
void SocketTransportProtocol (const SocketTransportProtocol & )
Defined at line 1551 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/wire_types.h
SocketTransportProtocol & operator= (const SocketTransportProtocol & )
Defined at line 1552 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/wire_types.h
void SocketTransportProtocol (SocketTransportProtocol && )
Defined at line 1553 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/wire_types.h
SocketTransportProtocol & operator= (SocketTransportProtocol && )
Defined at line 1554 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 1561 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/wire_types.h
bool has_invalid_tag ()
bool is_tcp ()
SocketTransportProtocol WithTcp (::fidl::ObjectView< ::fuchsia_net_matchers::wire::TcpSocket> val)
Matches against TCP fields.
template <typename... Args>
SocketTransportProtocol WithTcp (::fidl::AnyArena & allocator, Args &&... args)
Matches against TCP fields.
Defined at line 1574 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/wire_types.h
::fuchsia_net_matchers::wire::TcpSocket & tcp ()
Matches against TCP fields.
const ::fuchsia_net_matchers::wire::TcpSocket & tcp ()
Matches against TCP fields.
bool is_udp ()
SocketTransportProtocol WithUdp (::fidl::ObjectView< ::fuchsia_net_matchers::wire::UdpSocket> val)
Matches against UDP fields.
template <typename... Args>
SocketTransportProtocol WithUdp (::fidl::AnyArena & allocator, Args &&... args)
Matches against UDP fields.
Defined at line 1592 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/wire_types.h
::fuchsia_net_matchers::wire::UdpSocket & udp ()
Matches against UDP fields.
const ::fuchsia_net_matchers::wire::UdpSocket & udp ()
Matches against UDP fields.
::fuchsia_net_matchers::wire::SocketTransportProtocol::Tag Which ()
Enumerations
enum Tag
| Name | Value |
|---|---|
| kTcp | 1 |
| kUdp | 2 |
| _do_not_handle_this__write_a_default_case_instead | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 1556 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/wire_types.h