template <>

class WireSyncBufferClientImpl

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

Public Methods

::fidl::WireUnownedResult< ::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.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::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.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::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.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::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.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.