|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.echarts.Machine org.echarts.StateMachine org.echarts.TransitionMachine org.echarts.servlet.sip.machines.CallFSM
public class CallFSM
Places a new call on a fresh port. This machine acts as user agent client (UAC) and sends an INVITE request. If a success final response (2xx) is received, this machine sends ACK and transitions to SUCCESS state. If a failure final response (>=300) is received, this machine transitions to FAILURE state.
Field Summary | |
---|---|
static java.lang.String |
EARLY_MEDIA_RESPONSE
|
static java.lang.String |
FINAL_RESPONSE
|
Constructor Summary | |
---|---|
CallFSM(SipPort p)
Place call with INVITE already created on p |
|
CallFSM(SipPort p,
Address fromAddress,
Address toAddress,
java.lang.Object sdp,
java.util.Properties headers)
Place call from fromAdress to toAddress on port p with specified sdp, setting headers. |
|
CallFSM(SipPort p,
SipServletRequest origInvite,
URI ruri)
Continue call with savedInvite updated to go to ruri |
|
CallFSM(SipPort p,
URI fromuri,
URI ruri,
java.lang.Object sdp)
Place call from fromuri to ruri on port p with specified sdp. |
|
CallFSM(SipPort p,
URI fromuri,
URI ruri,
java.lang.Object sdp,
java.util.Properties headers)
Place call from fromuri to ruri on port p with specified sdp, setting headers. |
Method Summary | |
---|---|
ProvisionalResponse |
getEarlyMediaResponse()
Get early media response received (if any). |
FinalResponse |
getFinalResponse()
Get received final response. |
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String EARLY_MEDIA_RESPONSE
public static final java.lang.String FINAL_RESPONSE
Constructor Detail |
---|
public CallFSM(SipPort p, URI fromuri, URI ruri, java.lang.Object sdp, java.util.Properties headers) throws java.lang.Exception
java.lang.Exception
public CallFSM(SipPort p, Address fromAddress, Address toAddress, java.lang.Object sdp, java.util.Properties headers) throws java.lang.Exception
java.lang.Exception
public CallFSM(SipPort p, URI fromuri, URI ruri, java.lang.Object sdp) throws java.lang.Exception
java.lang.Exception
public CallFSM(SipPort p, SipServletRequest origInvite, URI ruri) throws java.lang.Exception
java.lang.Exception
public CallFSM(SipPort p) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public FinalResponse getFinalResponse()
public ProvisionalResponse getEarlyMediaResponse()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |