template <>
class WireWeakAsyncClientImpl
Defined at line 120155 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/wire_messaging.h
Public Methods
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::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.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::Query> Query ()
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::SetReuseAddress> SetReuseAddress (bool value)
Set `SOL_SOCKET` -> `SO_REUSEADDR`.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::GetReuseAddress> GetReuseAddress ()
Get `SOL_SOCKET` -> `SO_REUSEADDR`.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::GetError> GetError ()
Get `SOL_SOCKET` -> `SO_ERROR`.
Returns the last error if there is an error set on the socket.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::SetBroadcast> SetBroadcast (bool value)
Set `SOL_SOCKET` -> `SO_BROADCAST`.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::GetBroadcast> GetBroadcast ()
Get `SOL_SOCKET` -> `SO_BROADCAST`.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::SetSendBuffer> SetSendBuffer (uint64_t value_bytes)
Set `SOL_SOCKET` -> `SO_SNDBUF`.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::GetSendBuffer> GetSendBuffer ()
Get `SOL_SOCKET` -> `SO_SNDBUF`.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::SetReceiveBuffer> SetReceiveBuffer (uint64_t value_bytes)
Set `SOL_SOCKET` -> `SO_RCVBUF`.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::GetReceiveBuffer> GetReceiveBuffer ()
Get `SOL_SOCKET` -> `SO_RCVBUF`.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::SetKeepAlive> SetKeepAlive (bool value)
Set `SOL_SOCKET` -> `SO_KEEPALIVE`.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::GetKeepAlive> GetKeepAlive ()
Get `SOL_SOCKET` -> `SO_KEEPALIVE`.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::SetOutOfBandInline> SetOutOfBandInline (bool value)
Set `SOL_SOCKET` -> `SO_OOBINLINE`.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::GetOutOfBandInline> GetOutOfBandInline ()
Get `SOL_SOCKET` -> `SO_OOBINLINE`.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::SetNoCheck> SetNoCheck (bool value)
Set `SOL_SOCKET` -> `SO_NO_CHECK`.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::GetNoCheck> GetNoCheck ()
Get `SOL_SOCKET` -> `SO_NO_CHECK`.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::SetLinger> SetLinger (bool linger, uint32_t length_secs)
Set `SOL_SOCKET` -> `SO_LINGER`.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::GetLinger> GetLinger ()
Get `SOL_SOCKET` -> `SO_LINGER`.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::SetReusePort> SetReusePort (::fuchsia_posix_socket::wire::ReusePortOption value)
Set `SOL_SOCKET` -> `SO_REUSEPORT`.
Allocates 32 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::SetReusePortDeprecated> SetReusePortDeprecated (bool value)
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::GetReusePort> GetReusePort ()
Get `SOL_SOCKET` -> `SO_REUSEPORT`.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::GetAcceptConn> GetAcceptConn ()
Get `SOL_SOCKET` -> `SO_ACCEPTCONN`.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::SetBindToDevice> SetBindToDevice (::fidl::StringView value)
Set `SOL_SOCKET` -> `SO_BINDTODEVICE`.
Allocates 48 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::GetBindToDevice> GetBindToDevice ()
Get `SOL_SOCKET` -> `SO_BINDTODEVICE`.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::SetBindToInterfaceIndex> SetBindToInterfaceIndex (uint64_t value)
Set `SOL_SOCKET` -> `SO_BINDTOIFINDEX`.
If `value` is 0, this clears the bound interface.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::GetBindToInterfaceIndex> GetBindToInterfaceIndex ()
Get `SOL_SOCKET` -> `SO_BINDTOIFINDEX`.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::SetTimestamp> SetTimestamp (::fuchsia_posix_socket::wire::TimestampOption value)
Set `SOL_SOCKET` -> `SO_TIMESTAMP` or `SO_TIMESTAMPNS`.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::GetTimestamp> GetTimestamp ()
Get `SOL_SOCKET` -> `SO_TIMESTAMP` or `SO_TIMESTAMPNS`.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::SetMark> SetMark (::fuchsia_net::wire::MarkDomain domain, ::fuchsia_posix_socket::wire::OptionalUint32 mark)
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.
Allocates 40 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::GetMark> GetMark (::fuchsia_net::wire::MarkDomain domain)
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.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_posix_socket::BaseSocket::GetCookie> GetCookie ()
Get `SOL_SOCKET` -> `SO_COOKIE`.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.