template <>

class WireSyncClientImpl

Defined at line 4019 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces.admin/fuchsia.net.interfaces.admin/cpp/fidl/fuchsia.net.interfaces.admin/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_interfaces_admin::DeviceControl>|,

avoiding setting up a client.

Public Methods

::fidl::OneWayStatus CreateInterface (const ::fuchsia_hardware_network::wire::PortId & port, ::fidl::ServerEnd< ::fuchsia_net_interfaces_admin::Control> && control, ::fuchsia_net_interfaces_admin::wire::Options options)

Creates an interface on the network stack.

+ request `port` the device's port to instantiate as an interface.

+ request `control` grants access to the created interface.

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

::fidl::OneWayStatus Detach ()

Detaches the client end from the device's lifetime.

After calling `Detach`, closing this client end no longer causes the

device or any of the interfaces created from it to be removed. Note that

the lifetime of any created interface will continue to be coupled with

the associated [`Control`] client end.

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