template <>
class NaturalSyncClientImpl
Defined at line 1406 of file fidling/gen/sdk/fidl/fuchsia.vsock/fuchsia.vsock/cpp/fidl/fuchsia.vsock/cpp/natural_messaging.h
Public Methods
::fidl::Result< ::fuchsia_vsock::StreamSocket::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::Result< ::fuchsia_vsock::StreamSocket::Bind> Bind (const ::fidl::Request< ::fuchsia_vsock::StreamSocket::Bind> & request)
Bind this socket to a specific address.
::fidl::Result< ::fuchsia_vsock::StreamSocket::Connect> Connect (::fidl::Request< ::fuchsia_vsock::StreamSocket::Connect> request)
Initiate a connection to |remote_address|.
When the connection attempt completes the signal SIGNAL_STREAM_CONNECTED
will be asserted on the data plane zx.Handle:SOCKET.
::fidl::Result< ::fuchsia_vsock::StreamSocket::Listen> Listen (const ::fidl::Request< ::fuchsia_vsock::StreamSocket::Listen> & request)
Places this socket into listening mode with a specified backlog.
When a new connection is available the signal SIGNAL_STREAM_INCOMING
will be asserted on the data plane zx.Handle:SOCKET.
::fidl::Result< ::fuchsia_vsock::StreamSocket::Accept> Accept (::fidl::Request< ::fuchsia_vsock::StreamSocket::Accept> request)
Accepts a connection from this socket's listen backlog and binds it to
|socket| with data plane |data|.
If |want_addr| is true, returns the address of the accepted socket.
When this call returns, if SIGNAL_STREAM_INCOMING is asserted another
incoming connection is available.
::fidl::Result< ::fuchsia_vsock::StreamSocket::GetSockName> GetSockName ()
Retrieves the local socket address.
::fidl::Result< ::fuchsia_vsock::StreamSocket::GetPeerName> GetPeerName ()
Retrieves the remote socket address.
::fidl::Result< ::fuchsia_vsock::StreamSocket::GetError> GetError ()
Get `SOL_SOCKET` -> `SO_ERROR`