template <>
class WireSyncBufferClientImpl
Defined at line 3215 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_messaging.h
Public Methods
::fidl::WireUnownedResult< ::fuchsia_net_tun::DevicePair::AddPort> AddPort (::fuchsia_net_tun::wire::DevicePairPortConfig config)
Adds a logical port to this device pair.
+ request `config` port configuration.
* error `ZX_ERR_INVALID_ARGS` if `config` is invalid.
* error `ZX_ERR_ALREADY_EXISTS` if the provided port identifier is
already in use.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::fuchsia_net_tun::DevicePair::RemovePort> RemovePort (uint8_t id)
Removes a logical port created by
[`fuchsia.net.tun/DevicePair.AddPort`].
+ request `id` identifier of the port to remove.
* error `ZX_ERR_NOT_FOUND` if `id` does not map to an existing port.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::OneWayStatus GetLeft (::fidl::ServerEnd< ::fuchsia_hardware_network::Device> && device)
Connects to the underlying left device endpoint.
+ request `device` handle serve the left device endpoint on.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::OneWayStatus GetRight (::fidl::ServerEnd< ::fuchsia_hardware_network::Device> && device)
Connects to the underlying right device endpoint.
+ request `device` handle serve the right device endpoint on.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::OneWayStatus GetLeftPort (uint8_t id, ::fidl::ServerEnd< ::fuchsia_hardware_network::Port> && port)
Connects to an underlying left port.
+ request `id` requested port identifier.
+ request `port` grants access to the requested port on the left device.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::OneWayStatus GetRightPort (uint8_t id, ::fidl::ServerEnd< ::fuchsia_hardware_network::Port> && port)
Connects to an underlying right port.
+ request `id` requested port identifier.
+ request `port` grants access to the requested port on the right device.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.