NS3-GUI-HELPER V1.2.0
A code generator for NS-3 Scripts
Loading...
Searching...
No Matches
Ns3Objects.Netoworks.Network Class Reference

Public Member Functions

 Network (int id, String netId, String netMask, String name)
 
 Network (int id, String netId, String netMask, String name, boolean isDefault)
 
String toString ()
 
String forSettings ()
 

Public Attributes

int id
 
String netId
 
String netMask
 
String name
 
boolean isDefault
 

Detailed Description

a storage type for network settings in NS-3

Definition at line 13 of file Network.java.

Constructor & Destructor Documentation

◆ Network() [1/2]

Ns3Objects.Netoworks.Network.Network ( int id,
String netId,
String netMask,
String name )

to make the object of type Network

Parameters
idunique identity
netIdnet id of the network
netMasksubnet mask for the network
namealias name of the network
Since
0.3.0

Definition at line 44 of file Network.java.

◆ Network() [2/2]

Ns3Objects.Netoworks.Network.Network ( int id,
String netId,
String netMask,
String name,
boolean isDefault )

to make the object of type Network

Parameters
idunique identity
netIdnet id of the network
netMasksubnet mask for the network
namealias name of the network
isDefaultselect as default link
Since
0.3.0

Definition at line 62 of file Network.java.

Member Function Documentation

◆ forSettings()

String Ns3Objects.Netoworks.Network.forSettings ( )

to generate the storage format in settings file

Returns
storage format for settings file
Since
0.3.0

Definition at line 85 of file Network.java.

◆ toString()

String Ns3Objects.Netoworks.Network.toString ( )

to render the network settings

Returns
the network settings information
Since
0.3.0

Definition at line 74 of file Network.java.

Member Data Documentation

◆ id

int Ns3Objects.Netoworks.Network.id

for unique identity

Definition at line 17 of file Network.java.

◆ isDefault

boolean Ns3Objects.Netoworks.Network.isDefault

for selecting as default network settings

Definition at line 33 of file Network.java.

◆ name

String Ns3Objects.Netoworks.Network.name

for name alias name

Definition at line 29 of file Network.java.

◆ netId

String Ns3Objects.Netoworks.Network.netId

for net id of the network settings

Definition at line 21 of file Network.java.

◆ netMask

String Ns3Objects.Netoworks.Network.netMask

for netmask of the network settings

Definition at line 25 of file Network.java.


The documentation for this class was generated from the following file: