org.echarts
Class AnyPort
java.lang.Object
org.echarts.Port
org.echarts.LocalPort
org.echarts.AnyPort
- All Implemented Interfaces:
- java.io.Serializable, java.rmi.Remote, PortReference
public final class AnyPort
- extends LocalPort
- See Also:
- Serialized Form
Field Summary |
static AnyPort |
ANY_PORT
Globally accessible constant for use in machines. |
Methods inherited from class org.echarts.Port |
getID |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ANY_PORT
public static final AnyPort ANY_PORT
- Globally accessible constant for use in machines.
AnyPort
public AnyPort()
setMachineReference
protected final void setMachineReference(Machine machine,
DynamicMachine dynamicParent,
int dynamicChildIndex)
throws MachineException
- Does nothing since AnyPort isn't a real port. Overrides method
in LocalPort ancestor class.
- Overrides:
setMachineReference
in class LocalPort
- Throws:
MachineException
clearMachineReference
protected final void clearMachineReference(Machine machine)
throws MachineException
- Does nothing since AnyPort isn't a real port. Overrides method
in LocalPort ancestor class.
- Overrides:
clearMachineReference
in class LocalPort
- Throws:
MachineException
equals
public boolean equals(java.lang.Object object)
- AnyPort is effectively equal to any LocalPort instance.
- Overrides:
equals
in class Port
getMonitorProperties
public PortProperties getMonitorProperties()
- Returns port's monitor properties.
- Specified by:
getMonitorProperties
in class LocalPort