org.echarts.servlet.sip.machines
Class SwitchFSM

java.lang.Object
  extended by org.echarts.Machine
      extended by org.echarts.StateMachine
          extended by org.echarts.TransitionMachine
              extended by org.echarts.servlet.sip.machines.SwitchFSM
All Implemented Interfaces:
java.io.Serializable


public class SwitchFSM
extends TransitionMachine

Switches common port to newCall (where common is not yet connected).

  1. Places call to newCall
  2. Upon success response from newCall, propagates to common

See Also:
Serialized Form

Nested Class Summary
 class SwitchFSM.PLACE_NEW_CALL
           
 
Field Summary
 
Constructor Summary
SwitchFSM(SipPort common, SipPort newCall)
           
 
Method Summary
 SuccessResponse getSuccessResponse()
           
 
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
 

Field Detail
Constructor Detail

SwitchFSM

public SwitchFSM(SipPort common,
                 SipPort newCall)
          throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getSuccessResponse

public SuccessResponse getSuccessResponse()