template <>
class WireWeakSyncClientImpl
Defined at line 5435 of file fidling/gen/sdk/fidl/fuchsia.vsock/fuchsia.vsock/cpp/fidl/fuchsia.vsock/cpp/wire_messaging.h
Public Methods
::fidl::WireResult< ::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 64 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::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 56 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::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 64 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::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 40 bytes of message buffer on the stack. No heap allocation necessary.