org.echarts.servlet.sip
Class SipPortTeardownFSM

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


public class SipPortTeardownFSM
extends TransitionMachine
implements BoxMachine

FSM to tear down a SipPort based on its PortState.

See Also:
Serialized Form

Field Summary
 
Constructor Summary
SipPortTeardownFSM(SipPort sipPort)
          Machine to tear down a SipPort based on its current call state.
SipPortTeardownFSM(SipPort sipPort, boolean destroyAfterTeardown)
          Machine to tear down a SipPort based on its current call state, and optionally destroy port after teardown.
 
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

SipPortTeardownFSM

public SipPortTeardownFSM(SipPort sipPort)
                   throws java.lang.Exception
Machine to tear down a SipPort based on its current call state. Will not destroy port after teardown.

Throws:
java.lang.Exception

SipPortTeardownFSM

public SipPortTeardownFSM(SipPort sipPort,
                          boolean destroyAfterTeardown)
                   throws java.lang.Exception
Machine to tear down a SipPort based on its current call state, and optionally destroy port after teardown.

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.