org.echarts.servlet.sip
Class Port
java.lang.Object
org.echarts.Port
org.echarts.LocalPort
org.echarts.OutputPort
org.echarts.ExternalPort
org.echarts.servlet.sip.Port
- All Implemented Interfaces:
- java.io.Serializable, java.rmi.Remote, ExternalPortReference, PortReference
- Direct Known Subclasses:
- BoxPort, NonSipPort, RemotePort, SipPort
public abstract class Port
- extends ExternalPort
Base class for all ports in this package.
- See Also:
- Serialized Form
Constructor Summary |
protected |
Port(java.lang.String name)
Construct a new Port |
protected |
Port(java.lang.String name,
FeatureBox box)
Construct a new Port belonging to specified Machine. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
box
protected final FeatureBox box
portMonitor
protected final PortMonitor portMonitor
Port
protected Port(java.lang.String name)
- Construct a new Port
- Parameters:
name
- desired symbolic name (for monitor).
Port
protected Port(java.lang.String name,
FeatureBox box)
- Construct a new Port belonging to specified Machine.
- Parameters:
name
- desired symbolic namebox
- feature box containing this port
getBox
public FeatureBox getBox()
destroy
public void destroy()
- Marks a port as unusable.
isDestroyed
public boolean isDestroyed()
- Returns:
- true if port destroyed (unusable), otherwise false.