template <>

class NaturalSyncClientImpl

Defined at line 675 of file fidling/gen/sdk/fidl/fuchsia.vsock/fuchsia.vsock/cpp/fidl/fuchsia.vsock/cpp/natural_messaging.h

Public Methods

::fidl::Result< ::fuchsia_vsock::Connector::Connect> Connect (::fidl::Request< ::fuchsia_vsock::Connector::Connect> request)

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.

::fidl::Result< ::fuchsia_vsock::Connector::Listen> Listen (::fidl::Request< ::fuchsia_vsock::Connector::Listen> request)

Registers a listener for a local port. There can only be one listener for

a single port at a time.

::fidl::Result< ::fuchsia_vsock::Connector::Bind> Bind (::fidl::Request< ::fuchsia_vsock::Connector::Bind> request)

Registers a listener for a local port. There can only be one listener for

a single port at a time.

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