public class DataVolumeMeter extends OnePointMeter
DataVolumeMeter
, the data volume transmitted on one or more
ports to which it is attached can be measured. You have to be careful, since
such data volumes can become very high leading to an overflow within the used
StdCounterStatistic
.Modifier and Type | Field and Description |
---|---|
protected StdCounterStatistic |
volumeStatistic |
Constructor and Description |
---|
DataVolumeMeter(java.lang.String name,
SimNode parentNode) |
Modifier and Type | Method and Description |
---|---|
protected void |
evaluateMessage(Message msg,
Port port) |
attachInput, attachInput, monitorGetMessage, monitorIsMessageAvailable, monitorMessageIndication
protected StdCounterStatistic volumeStatistic
public DataVolumeMeter(java.lang.String name, SimNode parentNode)
protected void evaluateMessage(Message msg, Port port)
evaluateMessage
in class OnePointMeter