org.echarts.servlet.sip.machines
Class ByeSwitchNewFSM

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.ByeSwitchNewFSM
All Implemented Interfaces:
java.io.Serializable


public class ByeSwitchNewFSM
extends TransitionMachine

Switches common port from oldCall to newCall (where oldCall is connected, newCall is not).

  1. Tears down/releases oldCall
  2. Places call to newCall (using newInvite)
  3. Upon success response from newCall, sends re-INVITE to common

See Also:
Serialized Form

Nested Class Summary
 class ByeSwitchNewFSM.CALLS
           
 
Field Summary
 
Constructor Summary
ByeSwitchNewFSM(SipPort common, SipPort oldCall, SipPort newCall)
           
 
Method Summary
 FinalResponse getFailureResponse()
           
 ProvisionalResponse183 getSessionProgressResponse()
           
 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

ByeSwitchNewFSM

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

getSessionProgressResponse

public ProvisionalResponse183 getSessionProgressResponse()

getSuccessResponse

public SuccessResponse getSuccessResponse()

getFailureResponse

public FinalResponse getFailureResponse()