template <>
class NaturalClientImpl
Defined at line 915 of file fidling/gen/src/connectivity/network/testing/netemul/network-context/fidl/network/cpp/fidl/fuchsia.netemul.network/cpp/natural_messaging.h
Public Methods
::fidl::internal::NaturalThenable< ::fuchsia_netemul_network::Network::GetConfig> GetConfig ()
Gets network configuration.
::fidl::internal::NaturalThenable< ::fuchsia_netemul_network::Network::GetName> GetName ()
Gets network name.
::fidl::internal::NaturalThenable< ::fuchsia_netemul_network::Network::SetConfig> SetConfig (const ::fidl::Request< ::fuchsia_netemul_network::Network::SetConfig> & request)
Updates network configuration.
::fidl::internal::NaturalThenable< ::fuchsia_netemul_network::Network::AttachEndpoint> AttachEndpoint (const ::fidl::Request< ::fuchsia_netemul_network::Network::AttachEndpoint> & request)
Attaches endpoint with given name to network.
::fidl::internal::NaturalThenable< ::fuchsia_netemul_network::Network::RemoveEndpoint> RemoveEndpoint (const ::fidl::Request< ::fuchsia_netemul_network::Network::RemoveEndpoint> & request)
Removes endpoint with given name from network.
::fidl::internal::NaturalThenable< ::fuchsia_netemul_network::Network::StartCapture> StartCapture (const ::fidl::Request< ::fuchsia_netemul_network::Network::StartCapture> & request)
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.
::fidl::internal::NaturalThenable< ::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.
::fit::result< ::fidl::OneWayError> AddPort (::fidl::Request< ::fuchsia_netemul_network::Network::AddPort> request)
Adds a port to the network.
+ request `port` port to be added.
+ request `interface` provides control over the interface.
::fit::result< ::fidl::OneWayError> CreateFakeEndpoint (::fidl::Request< ::fuchsia_netemul_network::Network::CreateFakeEndpoint> request)
Injects a fake endpoint.