template <>
class WireWeakAsyncClientImpl
Defined at line 5365 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::Connector::Connect> Connect (uint32_t remote_cid, uint32_t remote_port, ::fuchsia_vsock::wire::ConnectionTransport && con)
Attempt to establish a connection to the specified remote cid/port pair.
No local port is specified as an ephemeral one will automatically be allocated.
Allocates 32 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_vsock::Connector::Listen> Listen (uint32_t local_port, ::fidl::ClientEnd< ::fuchsia_vsock::Acceptor> && acceptor)
Registers a listener for a local port. There can only be one listener for
a single port at a time.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_vsock::Connector::Bind> Bind (uint32_t remote_cid, uint32_t local_port, ::fidl::ServerEnd< ::fuchsia_vsock::Listener> && listener)
Registers a listener for a local port. There can only be one listener for
a single port at a time.
Allocates 32 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_vsock::Connector::GetCid> GetCid ()
Query the current context id of the system. The local CID is should not
necessary in interactions with the same device; instead you may pass
`VMADDR_CID_LOCAL`, which will alias to local CID this returns. The cid returned
by this method is useful for debugging or if you have some other communication
channel to a different host and you would like to send them your CID to then
establish a vsock connection on.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.