template <>

class WireSyncClientImpl

Defined at line 3675 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/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_net_tun::Control>|,

avoiding setting up a client.

Public Methods

::fidl::OneWayStatus CreateDevice (::fuchsia_net_tun::wire::DeviceConfig config, ::fidl::ServerEnd< ::fuchsia_net_tun::Device> && device)

Creates a `Device` with given `config`.

+ request `config` new device configuration.

+ request `device` grants control over the device. Closed with an

epitaph if `config` is not valid.

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

::fidl::OneWayStatus CreatePair (::fuchsia_net_tun::wire::DevicePairConfig config, ::fidl::ServerEnd< ::fuchsia_net_tun::DevicePair> && device_pair)

Creates a `DevicePair` with given `config`.

If `config` is not valid or the device could not be created,

`device_pair` is closed with an error epitaph.

+ request `config` new device pair configuration.

+ request `device_pair` grants control over the device pair. Closed with

an epitaph if `config` is not valid.

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