public abstract class OnePointMeter extends Meter
| Modifier and Type | Field and Description |
|---|---|
protected PortMonitor |
portHandler |
| Modifier | Constructor and Description |
|---|---|
protected |
OnePointMeter() |
| Modifier and Type | Method and Description |
|---|---|
void |
attachInput(Entity entity,
java.lang.String localPortName)
Attaches this meter to the specified port.
|
void |
attachInput(Port port)
Attaches this meter to the specified port.
|
protected abstract void |
evaluateMessage(Message msg,
Port port) |
protected final PortMonitor portHandler
public void attachInput(Entity entity, java.lang.String localPortName)
entity - entity which owns the portlocalPortName - port namepublic void attachInput(Port port)
port - the port to connect to