org.echarts.servlet.sip
Class FeatureBoxTerminationHandlerFSM

java.lang.Object
  extended by org.echarts.Machine
      extended by org.echarts.StateMachine
          extended by org.echarts.TransitionMachine
              extended by org.echarts.servlet.sip.FeatureBoxTerminationHandlerFSM
All Implemented Interfaces:
java.io.Serializable, BoxMachine


public class FeatureBoxTerminationHandlerFSM
extends TransitionMachine
implements BoxMachine

Tear down all ports for the given box when any of these conditions occur: 1. Underlying FSM reaches terminal state 2. Bye received, not handled by underlying FSM 3. Cancel received, not handled by underlying FSM

See Also:
Serialized Form

Nested Class Summary
 class FeatureBoxTerminationHandlerFSM.TERMINATE
           
 
Field Summary
 
Constructor Summary
FeatureBoxTerminationHandlerFSM(FeatureBox box)
           
 
Method Summary
 FeatureBox getBox()
          For BoxMachine interface.
 
Methods inherited from class org.echarts.TransitionMachine
addMessagelessTransition, addMessageTransition, globalStateString, globalStateString, initializeMessagelessTransitions, initializeMessageTransitions, initializeRoot, localStateString, localStateString, removePort, run, run, runNoQueueing
 
Methods inherited from class org.echarts.StateMachine
setMachineDebugging, setMachineMonitor, setMachineMonitoring
 
Methods inherited from class org.echarts.Machine
getDefaultMachineDebugging, getDefaultMachineDebuggingGlobalStateOutput, getDefaultMachineMonitor, getDefaultMachineMonitorFilter, getDefaultMachineMonitoring, getMachineDebugging, getMachineDebuggingGlobalStateOutput, getMachineID, getMachineIndex, getMachineMonitor, getMachineMonitoring, getParentMachine, getRootMachine, getSystemDebugging, getSystemMonitoring, putEvent, setDebugging, setDefaultMachineDebugging, setDefaultMachineDebuggingGlobalStateOutput, setDefaultMachineMonitor, setDefaultMachineMonitorFilter, setDefaultMachineMonitoring, setMachineDebuggingGlobalStateOutput, setSystemDebugging, setSystemMonitoring, statePathString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.echarts.servlet.sip.BoxMachine
run
 

Constructor Detail

FeatureBoxTerminationHandlerFSM

public FeatureBoxTerminationHandlerFSM(FeatureBox box)
                                throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getBox

public final FeatureBox getBox()
For BoxMachine interface.

Specified by:
getBox in interface BoxMachine
Returns:
reference to creating box.