template <>

class WireWeakAsyncClientImpl

Defined at line 6778 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::internal::WireThenable< ::fuchsia_netemul_network::Network::GetConfig> GetConfig ()

Gets network configuration.

Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_netemul_network::Network::GetName> GetName ()

Gets network name.

Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.

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

Updates network configuration.

Allocates 104 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_netemul_network::Network::AttachEndpoint> AttachEndpoint (::fidl::StringView name)

Attaches endpoint with given name to network.

Allocates 288 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_netemul_network::Network::RemoveEndpoint> RemoveEndpoint (::fidl::StringView name)

Removes endpoint with given name from network.

Allocates 288 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::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.

Allocates 288 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::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.

Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.