public abstract class MessageLengthMeter extends OnePointMeter
Constructor and Description |
---|
MessageLengthMeter(java.lang.String name,
SimNode parentNode) |
Modifier and Type | Method and Description |
---|---|
protected void |
evaluateMessage(Message msg,
Port port) |
protected abstract void |
evaluateSample(long length) |
protected boolean |
useMessage(Message msg) |
attachInput, attachInput, monitorGetMessage, monitorIsMessageAvailable, monitorMessageIndication
public MessageLengthMeter(java.lang.String name, SimNode parentNode)
protected abstract void evaluateSample(long length)
protected void evaluateMessage(Message msg, Port port)
evaluateMessage
in class OnePointMeter
protected boolean useMessage(Message msg)