class Network

Defined at line 1650 of file fidling/gen/sdk/fidl/fuchsia.net.virtualization/fuchsia.net.virtualization/hlcpp/fuchsia/net/virtualization/cpp/fidl.h

Provides control over a network.

This protocol encodes the lifetime of the underlying network in both

directions, that is:

- if the client end is closed: all interfaces added to the network

(not including any used to provide upstream connectivity) will be

removed and destroyed, and the network will be removed;

- if the server end is closed, all interfaces on the network and the

network itself have been destroyed.

Public Methods

void ~Network ()
void AddPort (::fidl::InterfaceHandle< ::fuchsia::hardware::network::Port> port, ::fidl::InterfaceRequest< ::fuchsia::net::virtualization::Interface> interface)

Adds a port to the network.

+ request `port` port to be added.

+ request `interface` provides control over the interface.