template <>
class WireSyncBufferClientImpl
Defined at line 4673 of file fidling/gen/sdk/fidl/fuchsia.vsock/fuchsia.vsock/cpp/fidl/fuchsia.vsock/cpp/wire_messaging.h
Public Methods
::fidl::WireUnownedResult< ::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.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::fuchsia_vsock::StreamSocket::Bind> Bind (const ::fuchsia_vsock::wire::VsockAddress & addr)
Bind this socket to a specific address.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::fuchsia_vsock::StreamSocket::Connect> Connect (const ::fuchsia_vsock::wire::VsockAddress & remote_address)
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.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::fuchsia_vsock::StreamSocket::Listen> Listen (int32_t backlog)
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.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::fuchsia_vsock::StreamSocket::Accept> Accept (bool want_addr)
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.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::fuchsia_vsock::StreamSocket::GetSockName> GetSockName ()
Retrieves the local socket address.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::fuchsia_vsock::StreamSocket::GetPeerName> GetPeerName ()
Retrieves the remote socket address.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::fuchsia_vsock::StreamSocket::GetError> GetError ()
Get `SOL_SOCKET` -> `SO_ERROR`
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.