|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.echarts.Port org.echarts.LocalPort
public abstract class LocalPort
This represents the common operations one can perform on a port that is local to an EChart. FSM message transitions can only refer to LocalPort instances.
Field Summary | |
---|---|
protected FIFOImpl |
inputQueue
Queue into which messages are placed by peer ports. |
Fields inherited from interface org.echarts.PortReference |
---|
serialVersionUID |
Constructor Summary | |
---|---|
LocalPort()
|
Method Summary | |
---|---|
protected void |
clearMachineReference(Machine machine)
|
protected int |
getDynamicChildIndex()
|
protected DynamicMachine |
getDynamicParent()
|
FIFOImpl |
getInputQueue()
|
abstract PortProperties |
getMonitorProperties()
Returns port properties for this port. |
protected boolean |
isPossiblyReferencedBy(Machine machine)
Used in Machine.getMaxEnabledMessageTransition() to guide search for enabledMessageTransitions. |
protected boolean |
isPossiblyReferencedBySupermachineOf(Machine machine)
Used by Machine.getMaxEnabledMessageTransition to determine if neccessary to look for additional enabled message transitions. |
protected boolean |
isUniquelyReferenced()
|
protected boolean |
isUniquelyReferencedByMachine(Machine machine)
|
protected void |
setMachineReference(Machine machine,
DynamicMachine dynamicParent,
int dynamicChildIndex)
Sets machine reference to least common ancestor of current reference and 'machine' parameter. |
Methods inherited from class org.echarts.Port |
---|
equals, getID |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected FIFOImpl inputQueue
Constructor Detail |
---|
public LocalPort()
Method Detail |
---|
public FIFOImpl getInputQueue()
protected void setMachineReference(Machine machine, DynamicMachine dynamicParent, int dynamicChildIndex) throws MachineException
MachineException
protected void clearMachineReference(Machine machine) throws MachineException
MachineException
protected DynamicMachine getDynamicParent()
protected int getDynamicChildIndex()
protected boolean isUniquelyReferencedByMachine(Machine machine)
protected boolean isUniquelyReferenced()
protected boolean isPossiblyReferencedBy(Machine machine) throws MachineException
MachineException
protected boolean isPossiblyReferencedBySupermachineOf(Machine machine) throws MachineException
MachineException
public abstract PortProperties getMonitorProperties()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |