template <>

class WireSyncClientImpl

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

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_vsock::Provider>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_vsock::Provider::StreamSocket> StreamSocket (::fidl::ServerEnd< ::fuchsia_vsock::StreamSocket> && server, ::zx::socket && data)

Create a new virtio socket in stream mode.

Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_vsock::Provider::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.