template <>

class WireWeakAsyncClientImpl

Defined at line 5608 of file fidling/gen/sdk/fidl/fuchsia.vsock/fuchsia.vsock/cpp/fidl/fuchsia.vsock/cpp/wire_messaging.h

Public Methods

::fidl::internal::WireThenable< ::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.

Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_vsock::StreamSocket::Bind> Bind (const ::fuchsia_vsock::wire::VsockAddress & addr)

Bind this socket to a specific address.

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::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.

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::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.

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::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.

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_vsock::StreamSocket::GetSockName> GetSockName ()

Retrieves the local socket address.

Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_vsock::StreamSocket::GetPeerName> GetPeerName ()

Retrieves the remote socket address.

Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_vsock::StreamSocket::GetError> GetError ()

Get `SOL_SOCKET` -> `SO_ERROR`

Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.