Class CCell
- java.lang.Object
-
- org.eclipse.mosaic.fed.cell.config.CCell
-
public final class CCell extends Object
Storage class for convenient access to the cell configuration (cell_config.json). Provides general configuration for the ambassador, such as paths to the regions and network configuration files.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CCell.CBandwidthMeasurement
static class
CCell.CHeaderLengths
-
Field Summary
Fields Modifier and Type Field Description boolean
bandwidthMeasurementCompression
If enabled, the export files with bandwidth measurements will be compressed using gzip compression (default: false).int
bandwidthMeasurementInterval
Interval (in seconds) in which the bandwidth is aggregated.List<CCell.CBandwidthMeasurement>
bandwidthMeasurements
Measure the bandwidth between regions.CCell.CHeaderLengths
headerLengths
Configuration of header sizes added to all messages before simulating packet transmission.String
networkConfigurationFile
relative path to the network configuration file (default: network.json)String
regionConfigurationFile
relative path to the region configuration file (default: regions.json)
-
Constructor Summary
Constructors Constructor Description CCell()
-
-
-
Field Detail
-
headerLengths
public final CCell.CHeaderLengths headerLengths
Configuration of header sizes added to all messages before simulating packet transmission.
-
bandwidthMeasurementInterval
public int bandwidthMeasurementInterval
Interval (in seconds) in which the bandwidth is aggregated.- See Also:
bandwidthMeasurements
-
bandwidthMeasurementCompression
public boolean bandwidthMeasurementCompression
If enabled, the export files with bandwidth measurements will be compressed using gzip compression (default: false).- See Also:
bandwidthMeasurements
-
bandwidthMeasurements
public List<CCell.CBandwidthMeasurement> bandwidthMeasurements
Measure the bandwidth between regions.
-
networkConfigurationFile
public String networkConfigurationFile
relative path to the network configuration file (default: network.json)
-
regionConfigurationFile
public String regionConfigurationFile
relative path to the region configuration file (default: regions.json)
-
-