org.echarts.servlet.sip.machines
Class TransparentHandleRequestFSM
java.lang.Object
org.echarts.Machine
org.echarts.StateMachine
org.echarts.TransitionMachine
org.echarts.servlet.sip.machines.TransparentHandleRequestFSM
All Implemented Interfaces: java.io.Serializable
public class TransparentHandleRequestFSM extends TransitionMachine
Propagate a SIP request from receiver to sender as a B2BUA.
Wait for and propagate responses until a final response is received.
A special case is ACK. ACK is handled as part of INVITE handling, and
should not be passed directly into this FSM.
See Also: Serialized Form
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.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
INCOMING_REQUEST_ATTR
public static final java.lang.String INCOMING_REQUEST_ATTR
See Also: Constant Field Values
OUTGOING_REQUEST_ATTR
public static final java.lang.String OUTGOING_REQUEST_ATTR
See Also: Constant Field Values
SUCCESS_RESPONSE_ATTR
public static final java.lang.String SUCCESS_RESPONSE_ATTR
See Also: Constant Field Values
TransparentHandleRequestFSM
public TransparentHandleRequestFSM (SipServletRequest incomingRequest,
SipPort receiver,
SipPort sender)
throws java.lang.Exception
Throws:
java.lang.Exception
getIncomingRequest
public SipServletRequest getIncomingRequest ()
Get the incoming request that started this transaction.
getOutgoingRequest
public SipServletRequest getOutgoingRequest ()
Get the outgoing request sent by this Machine.
getSuccessResponse
public SipServletResponse getSuccessResponse ()
Get received success response to outgoing request. May be null.