template <>

class WireWeakSyncClientImpl

Defined at line 6891 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::WireResult< ::fuchsia_netemul_network::Network::GetConfig> GetConfig ()

Gets network configuration.

Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.

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

Gets network name.

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

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

Updates network configuration.

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

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

Attaches endpoint with given name to network.

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

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

Removes endpoint with given name from network.

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

::fidl::WireResult< ::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 312 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::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 32 bytes of message buffer on the stack. No heap allocation necessary.