org.echarts.servlet.sip.machines
Class SendReinviteFSM

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


public class SendReinviteFSM
extends TransitionMachine

Send a re-INVITE on given port and process response.

See Also:
Serialized Form

Field Summary
static java.lang.String SUCCESS_RESPONSE
           
 
Constructor Summary
SendReinviteFSM(SipPort p, javax.sdp.SessionDescription sdp)
          Send a re-INVITE on port p with the supplied SessionDescription.
SendReinviteFSM(SipPort p, SipServletRequest reinvite)
          Send the specified re-INVITE on port p
SendReinviteFSM(SipPort p, SipServletResponse responseToMatch)
          Send a re-INVITE on port p with SDP from responseToMatch.
SendReinviteFSM(SipPort p, java.lang.String sdpString)
          Send a re-INVITE on port p with the supplied SDP.
 
Method Summary
 SuccessResponse getSuccessResponse()
          Retrieve 2xx response to re-INVITE
 
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

SUCCESS_RESPONSE

public static final java.lang.String SUCCESS_RESPONSE
See Also:
Constant Field Values
Constructor Detail

SendReinviteFSM

public SendReinviteFSM(SipPort p,
                       SipServletRequest reinvite)
                throws java.lang.Exception
Send the specified re-INVITE on port p

Throws:
java.lang.Exception

SendReinviteFSM

public SendReinviteFSM(SipPort p,
                       SipServletResponse responseToMatch)
                throws java.lang.Exception
Send a re-INVITE on port p with SDP from responseToMatch.

Throws:
java.lang.Exception

SendReinviteFSM

public SendReinviteFSM(SipPort p,
                       java.lang.String sdpString)
                throws java.lang.Exception
Send a re-INVITE on port p with the supplied SDP.

Throws:
java.lang.Exception

SendReinviteFSM

public SendReinviteFSM(SipPort p,
                       javax.sdp.SessionDescription sdp)
                throws java.lang.Exception
Send a re-INVITE on port p with the supplied SessionDescription.

Throws:
java.lang.Exception
Method Detail

getSuccessResponse

public SuccessResponse getSuccessResponse()
Retrieve 2xx response to re-INVITE