org.echarts.servlet.sip.machines
Class TransparentFSM

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


public class TransparentFSM
extends TransitionMachine

Propagate requests and responses between ports. Appropriate to use once a call is connected (e.g., B2BUA.CONNECTED). When BYE is received, this FSM propagates it like any other request. This allows for end-to-end teardown in the case where the BYE or the BYE response carries information that should be propagated.

See Also:
Serialized Form

Nested Class Summary
 class TransparentFSM.TRANSPARENT
           
 
Field Summary
static java.lang.String RECEIVED_BYE
           
 TransparentHandleRequestFSM[] TRANSPARENT
           
 
Constructor Summary
TransparentFSM(SipPort port1, SipPort port2)
           
 
Method Summary
 Bye getReceivedBye()
          Get BYE message received by this machine.
 
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

RECEIVED_BYE

public static final java.lang.String RECEIVED_BYE
See Also:
Constant Field Values

TRANSPARENT

public TransparentHandleRequestFSM[] TRANSPARENT
Constructor Detail

TransparentFSM

public TransparentFSM(SipPort port1,
                      SipPort port2)
               throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getReceivedBye

public Bye getReceivedBye()
Get BYE message received by this machine. May be null.