template <>

class WireSyncBufferClientImpl

Defined at line 3976 of file fidling/gen/src/connectivity/network/testing/netemul/network-context/fidl/network/cpp/fidl/fuchsia.netemul.network/cpp/wire_messaging.h

Public Methods

::fidl::OneWayStatus AddPort (::fidl::ClientEnd< ::fuchsia_hardware_network::Port> && port, ::fidl::ServerEnd< ::fuchsia_net_virtualization::Interface> && interface)

Adds a port to the network.

+ request `port` port to be added.

+ request `interface` provides control over the interface.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_netemul_network::Network::GetConfig> GetConfig ()

Gets network configuration.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_netemul_network::Network::GetName> GetName ()

Gets network name.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_netemul_network::Network::SetConfig> SetConfig (::fuchsia_netemul_network::wire::NetworkConfig config)

Updates network configuration.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_netemul_network::Network::AttachEndpoint> AttachEndpoint (::fidl::StringView name)

Attaches endpoint with given name to network.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_netemul_network::Network::RemoveEndpoint> RemoveEndpoint (::fidl::StringView name)

Removes endpoint with given name from network.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::OneWayStatus CreateFakeEndpoint (::fidl::ServerEnd< ::fuchsia_netemul_network::FakeEndpoint> && ep)

Injects a fake endpoint.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_netemul_network::Network::StartCapture> StartCapture (::fidl::StringView name)

Starts capturing packet in this network.

The packet capture will be stored at `/custom_artifacts/{name}.pcapng`.

Returns [`ZX_ERR_ALREADY_EXISTS`] if the capturing is already started

in this network.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_netemul_network::Network::StopCapture> StopCapture ()

Stops capturing packets. This function is guaranteed to succeed.

The packet capture will be stored in the file at the path chosen when

capturing started. The packet capture will stop automatically once the

network is destroyed regardless of whether this method is called.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.