|
|||||||||
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 org.echarts.TransitionTimerPort
public final class TransitionTimerPort
Field Summary | |
---|---|
static long |
serialVersionUID
|
Fields inherited from class org.echarts.LocalPort |
---|
inputQueue |
Constructor Summary | |
---|---|
TransitionTimerPort(TransitionMachine machine,
TransitionTimerPortDurationMethod durationMethod)
|
Method Summary | |
---|---|
long |
getActivationTime()
Returns most recent activation time of the transition associated with this port. |
long |
getActualExpiryTime()
Returns most recent actual expiry time of the transition associated with this port. |
java.lang.Long |
getDesiredExpiryTime()
Called by TransitionTimer when determining if transition associated with this port should be enabled. |
long |
getDuration()
Called by TransitionTimer to obtain current transition duration value when activating the transition. |
TransitionMachine |
getMachine()
Returns a reference to this port's declaring machine. |
PortProperties |
getMonitorProperties()
Returns port's monitor properties. |
TransitionTimeoutMessage |
getTimeoutMessage()
Called by TransitionTimer after transition has timed out. |
void |
input(TransitionTimeoutMessage message)
Puts timeout message in port's input queue. |
void |
setActivationTime(long activationTime)
Called by TransitionTimer when timer associated with this port's transition is activated. |
void |
setDesiredExpiryTime(java.lang.Long desiredExpiryTime)
Called by TransitionTimer once it has determined when the transition associated with this port should expire. |
Methods inherited from class org.echarts.LocalPort |
---|
clearMachineReference, getDynamicChildIndex, getDynamicParent, getInputQueue, isPossiblyReferencedBy, isPossiblyReferencedBySupermachineOf, isUniquelyReferenced, isUniquelyReferencedByMachine, setMachineReference |
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 |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public TransitionTimerPort(TransitionMachine machine, TransitionTimerPortDurationMethod durationMethod)
Method Detail |
---|
public java.lang.Long getDesiredExpiryTime()
public void setDesiredExpiryTime(java.lang.Long desiredExpiryTime)
public long getDuration() throws java.lang.Exception
java.lang.Exception
public long getActualExpiryTime()
public long getActivationTime()
public void setActivationTime(long activationTime)
public TransitionTimeoutMessage getTimeoutMessage()
public void input(TransitionTimeoutMessage message)
public TransitionMachine getMachine()
public PortProperties getMonitorProperties()
getMonitorProperties
in class LocalPort
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |