template <>
class NaturalClientImpl
Defined at line 10543 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/natural_messaging.h
Public Methods
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::Close> Close ()
Terminates the connection.
After calling `Close`, the client must not send any other requests.
Servers, after sending the status response, should close the connection
regardless of status and without sending an epitaph.
Closing the client end of the channel should be semantically equivalent
to calling `Close` without knowing when the close has completed or its
status.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::Query> Query ()
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetReuseAddress> SetReuseAddress (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetReuseAddress> & request)
Set `SOL_SOCKET` -> `SO_REUSEADDR`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetReuseAddress> GetReuseAddress ()
Get `SOL_SOCKET` -> `SO_REUSEADDR`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetError> GetError ()
Get `SOL_SOCKET` -> `SO_ERROR`.
Returns the last error if there is an error set on the socket.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetBroadcast> SetBroadcast (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetBroadcast> & request)
Set `SOL_SOCKET` -> `SO_BROADCAST`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetBroadcast> GetBroadcast ()
Get `SOL_SOCKET` -> `SO_BROADCAST`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetSendBuffer> SetSendBuffer (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetSendBuffer> & request)
Set `SOL_SOCKET` -> `SO_SNDBUF`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetSendBuffer> GetSendBuffer ()
Get `SOL_SOCKET` -> `SO_SNDBUF`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetReceiveBuffer> SetReceiveBuffer (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetReceiveBuffer> & request)
Set `SOL_SOCKET` -> `SO_RCVBUF`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetReceiveBuffer> GetReceiveBuffer ()
Get `SOL_SOCKET` -> `SO_RCVBUF`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetKeepAlive> SetKeepAlive (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetKeepAlive> & request)
Set `SOL_SOCKET` -> `SO_KEEPALIVE`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetKeepAlive> GetKeepAlive ()
Get `SOL_SOCKET` -> `SO_KEEPALIVE`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetOutOfBandInline> SetOutOfBandInline (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetOutOfBandInline> & request)
Set `SOL_SOCKET` -> `SO_OOBINLINE`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetOutOfBandInline> GetOutOfBandInline ()
Get `SOL_SOCKET` -> `SO_OOBINLINE`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetNoCheck> SetNoCheck (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetNoCheck> & request)
Set `SOL_SOCKET` -> `SO_NO_CHECK`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetNoCheck> GetNoCheck ()
Get `SOL_SOCKET` -> `SO_NO_CHECK`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetLinger> SetLinger (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetLinger> & request)
Set `SOL_SOCKET` -> `SO_LINGER`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetLinger> GetLinger ()
Get `SOL_SOCKET` -> `SO_LINGER`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetReusePort> SetReusePort (::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetReusePort> request)
Set `SOL_SOCKET` -> `SO_REUSEPORT`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetReusePortDeprecated> SetReusePortDeprecated (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetReusePortDeprecated> & request)
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetReusePort> GetReusePort ()
Get `SOL_SOCKET` -> `SO_REUSEPORT`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetAcceptConn> GetAcceptConn ()
Get `SOL_SOCKET` -> `SO_ACCEPTCONN`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetBindToDevice> SetBindToDevice (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetBindToDevice> & request)
Set `SOL_SOCKET` -> `SO_BINDTODEVICE`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetBindToDevice> GetBindToDevice ()
Get `SOL_SOCKET` -> `SO_BINDTODEVICE`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetBindToInterfaceIndex> SetBindToInterfaceIndex (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetBindToInterfaceIndex> & request)
Set `SOL_SOCKET` -> `SO_BINDTOIFINDEX`.
If `value` is 0, this clears the bound interface.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetBindToInterfaceIndex> GetBindToInterfaceIndex ()
Get `SOL_SOCKET` -> `SO_BINDTOIFINDEX`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetTimestamp> SetTimestamp (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetTimestamp> & request)
Set `SOL_SOCKET` -> `SO_TIMESTAMP` or `SO_TIMESTAMPNS`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetTimestamp> GetTimestamp ()
Get `SOL_SOCKET` -> `SO_TIMESTAMP` or `SO_TIMESTAMPNS`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetMark> SetMark (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetMark> & request)
Like setting `SOL_SOCKET` -> `SO_MARK`. The major difference is that
unlike the standard SO_MARK, this API has multiple mark domains and each
mark can be set independently in each domain.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetMark> GetMark (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::GetMark> & request)
Like getting `SOL_SOCKET` -> `SO_MARK`. The major difference is that
unlike the standard SO_MARK, this API has multiple mark domains and each
mark can be retrieved independently in each domain.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetCookie> GetCookie ()
Get `SOL_SOCKET` -> `SO_COOKIE`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::Bind> Bind (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::Bind> & request)
Sets the local address used for the socket.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::Connect> Connect (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::Connect> & request)
Initiates a connection to a remote address.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::Disconnect> Disconnect ()
Clears connection information from this socket.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetSockName> GetSockName ()
Retrieves the local socket address.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetPeerName> GetPeerName ()
Retrieves the remote socket address.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::Shutdown> Shutdown (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::Shutdown> & request)
Shuts down part of the socket.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpTypeOfService> SetIpTypeOfService (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpTypeOfService> & request)
Set `SOL_IP` -> `IP_TOS`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetIpTypeOfService> GetIpTypeOfService ()
Get `SOL_IP` -> `IP_TOS`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpTtl> SetIpTtl (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpTtl> & request)
Set `SOL_IP` -> `IP_TTL`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetIpTtl> GetIpTtl ()
Get `SOL_IP` -> `IP_TTL`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpPacketInfo> SetIpPacketInfo (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpPacketInfo> & request)
Set `SOL_IP` -> `IP_PKTINFO`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetIpPacketInfo> GetIpPacketInfo ()
Get `SOL_IP` -> `IP_PKTINFO`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpReceiveTypeOfService> SetIpReceiveTypeOfService (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpReceiveTypeOfService> & request)
Set `SOL_IP` -> `IP_RECVTOS`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetIpReceiveTypeOfService> GetIpReceiveTypeOfService ()
Get `SOL_IP` -> `IP_RECVTOS`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpReceiveTtl> SetIpReceiveTtl (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpReceiveTtl> & request)
Set `SOL_IP` -> `IP_RECVTTL`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetIpReceiveTtl> GetIpReceiveTtl ()
Get `SOL_IP` -> `IP_RECVTTL`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpMulticastInterface> SetIpMulticastInterface (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpMulticastInterface> & request)
Set `SOL_IP` -> `IP_MULTICAST_IF`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetIpMulticastInterface> GetIpMulticastInterface ()
Get `SOL_IP` -> `IP_MULTICAST_IF`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpMulticastTtl> SetIpMulticastTtl (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpMulticastTtl> & request)
Set `SOL_IP` -> `IP_MULTICAST_TTL`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetIpMulticastTtl> GetIpMulticastTtl ()
Get `SOL_IP` -> `IP_MULTICAST_TTL`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpMulticastLoopback> SetIpMulticastLoopback (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpMulticastLoopback> & request)
Set `SOL_IP` -> `IP_MULTICAST_LOOP`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetIpMulticastLoopback> GetIpMulticastLoopback ()
Get `SOL_IP` -> `IP_MULTICAST_LOOP`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::AddIpMembership> AddIpMembership (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::AddIpMembership> & request)
Set `SOL_IP` -> `IP_ADD_MEMBERSHIP`
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::DropIpMembership> DropIpMembership (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::DropIpMembership> & request)
Set `SOL_IP` -> `IP_DROP_MEMBERSHIP`
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpTransparent> SetIpTransparent (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpTransparent> & request)
Set `SOL_IP` -> `IP_TRANSPARENT`
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetIpTransparent> GetIpTransparent ()
Get `SOL_IP` -> `IP_TRANSPARENT`
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpReceiveOriginalDestinationAddress> SetIpReceiveOriginalDestinationAddress (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpReceiveOriginalDestinationAddress> & request)
Set `SOL_IP` -> `IP_RECVORIGDSTADDR`
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetIpReceiveOriginalDestinationAddress> GetIpReceiveOriginalDestinationAddress ()
Get `SOL_IP` -> `IP_RECVORIGDSTADDR`
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::AddIpv6Membership> AddIpv6Membership (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::AddIpv6Membership> & request)
Set `SOL_IPV6` -> `IPV6_ADD_MEMBERSHIP`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::DropIpv6Membership> DropIpv6Membership (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::DropIpv6Membership> & request)
Set `SOL_IPV6` -> `IPV6_DROP_MEMBERSHIP`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpv6MulticastInterface> SetIpv6MulticastInterface (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpv6MulticastInterface> & request)
Set `SOL_IPV6` -> `IPV6_MULTICAST_IF`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetIpv6MulticastInterface> GetIpv6MulticastInterface ()
Get `SOL_IPV6` -> `IPV6_MULTICAST_IF`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpv6UnicastHops> SetIpv6UnicastHops (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpv6UnicastHops> & request)
Set `SOL_IPV6` -> `IPV6_UNICAST_HOPS`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetIpv6UnicastHops> GetIpv6UnicastHops ()
Get `SOL_IPV6` -> `IPV6_UNICAST_HOPS`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpv6ReceiveHopLimit> SetIpv6ReceiveHopLimit (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpv6ReceiveHopLimit> & request)
Set `SOL_IPV6` -> `IPV6_RECVHOPLIMIT`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetIpv6ReceiveHopLimit> GetIpv6ReceiveHopLimit ()
Get `SOL_IPV6` -> `IPV6_RECVHOPLIMIT`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpv6MulticastHops> SetIpv6MulticastHops (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpv6MulticastHops> & request)
Set `SOL_IPV6` -> `IPV6_MULTICAST_HOPS`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetIpv6MulticastHops> GetIpv6MulticastHops ()
Get `SOL_IPV6` -> `IPV6_MULTICAST_HOPS`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpv6MulticastLoopback> SetIpv6MulticastLoopback (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpv6MulticastLoopback> & request)
Set `SOL_IPV6` -> `IPV6_MULTICAST_LOOP`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetIpv6MulticastLoopback> GetIpv6MulticastLoopback ()
Get `SOL_IPV6` -> `IPV6_MULTICAST_LOOP`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpv6Only> SetIpv6Only (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpv6Only> & request)
Set `SOL_IPV6` -> `IPV6_V6ONLY`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetIpv6Only> GetIpv6Only ()
Get `SOL_IPV6` -> `IPV6_V6ONLY`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpv6ReceiveTrafficClass> SetIpv6ReceiveTrafficClass (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpv6ReceiveTrafficClass> & request)
Set `SOL_IPV6` -> `IPV6_RECVTCLASS`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetIpv6ReceiveTrafficClass> GetIpv6ReceiveTrafficClass ()
Get `SOL_IPV6` -> `IPV6_RECVTCLASS`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpv6TrafficClass> SetIpv6TrafficClass (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpv6TrafficClass> & request)
Set `SOL_IPV6` -> `IPV6_TCLASS`
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetIpv6TrafficClass> GetIpv6TrafficClass ()
Get `SOL_IPV6` -> `IPV6_TCLASS`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpv6ReceivePacketInfo> SetIpv6ReceivePacketInfo (const ::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::SetIpv6ReceivePacketInfo> & request)
Set `SOL_IPV6` -> `IPV6_RECVPKTINFO`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetIpv6ReceivePacketInfo> GetIpv6ReceivePacketInfo ()
Get `SOL_IPV6` -> `IPV6_RECVPKTINFO`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetOriginalDestination> GetOriginalDestination ()
Get `SOL_IP` -> `SO_ORIGINAL_DST`.
::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::BaseDatagramSocket::GetInfo> GetInfo ()
Retrieves creation information from the socket.
- response `domain` the socket's associated domain.
- response `proto` the socket's associated protocol.
::fit::result< ::fidl::OneWayError> Clone (::fidl::Request< ::fuchsia_posix_socket::BaseDatagramSocket::Clone> request)