|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.echarts.servlet.sip.JavaToEChartsMachine
org.echarts.servlet.sip.features.click2DialFlow1.JavaToClick2DialFlow1Machine
public final class JavaToClick2DialFlow1Machine
JavaToEChartsMachine interface class for the Click2DialFlow1Machine.
| Constructor Summary | |
|---|---|
JavaToClick2DialFlow1Machine()
|
|
| Method Summary | |
|---|---|
void |
dropCalls()
Instruct Click2DialFlow1Machine to drop calls regardless of their respective states. |
java.lang.String |
getApplicationSessionId()
Return SIP application session ID associated with this interface instance. |
java.lang.String |
getUid()
Return value of X-ECHARTS-UID header in INVITE to first party. |
protected void |
init(TransitionMachine machine)
This method is called immediately after new JavaToEChartsMachine instance is created. Sets the value of the X-ECHARTS-UID, the NonSip controlPort, and the SIP app session ID used by the machine. |
static JavaToClick2DialFlow1Machine |
initiate(Click2DialFlow1Bean bean)
Initiate click-to-dial session specified by bean's fields. |
static JavaToClick2DialFlow1Machine |
initiate(Click2DialFlow1MachineToJava machineToJava,
Click2DialFlow1Bean bean)
Initiate click-to-dial session specified by bean's fields. |
static JavaToClick2DialFlow1Machine |
initiate(java.lang.String party1,
java.lang.String party2,
int timeoutSec,
boolean earlyMediaReinvite)
Initiate click-to-dial session. |
static JavaToClick2DialFlow1Machine |
initiate(java.lang.String party1,
java.lang.String party2,
int timeoutSec,
boolean earlyMediaReinvite,
java.lang.String uid)
Initiate click-to-dial session. |
| Methods inherited from class org.echarts.servlet.sip.JavaToEChartsMachine |
|---|
getInstance, getInstance, putEvent, setBox |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaToClick2DialFlow1Machine()
| Method Detail |
|---|
public static final JavaToClick2DialFlow1Machine initiate(Click2DialFlow1Bean bean)
throws java.lang.Exception
Click2DialFlow1MachineToJava interface returned by EChartsMachineToJava.getInstance().
bean - specifies parameters required to
establish click-to-dial session e.g. first and second party
addresses
java.lang.Exception
public static final JavaToClick2DialFlow1Machine initiate(Click2DialFlow1MachineToJava machineToJava,
Click2DialFlow1Bean bean)
throws java.lang.Exception
Click2DialFlow1MachineToJava interface.
machineToJava - instance of implementation of machine's
EChartsMachineToJava interfacebean - specifies parameters required to establish
click-to-dial session e.g. first and second party addresses
java.lang.Exception
public static final JavaToClick2DialFlow1Machine initiate(java.lang.String party1,
java.lang.String party2,
int timeoutSec,
boolean earlyMediaReinvite,
java.lang.String uid)
throws java.lang.Exception
Click2DialFlow1MachineToJavaImpl.
party1 - Address of the desired first party (String
representation of SIP URI)party2 - Address of the desired second party (String
representation of SIP URI)timeoutSec - Optional timeout in seconds for first party
to answer. If no answer in the specified number of seconds,
then the call will abort. A value of -1 signifies no timeout.earlyMediaReinvite - Specifies whether or not the first
party should receive a re-INVITE if the party returns an early
media response.uid - Value of X-ECHARTS-UID header in INVITE to first
party. Default: null.
java.lang.Exception
public static final JavaToClick2DialFlow1Machine initiate(java.lang.String party1,
java.lang.String party2,
int timeoutSec,
boolean earlyMediaReinvite)
throws java.lang.Exception
party1 - Address of the desired first party (String
representation of SIP URI)party2 - Address of the desired second party (String
representation of SIP URI)timeoutSec - Optional timeout in seconds for first party
to answer. If no answer in the specified number of seconds,
then the call will abort. A value of -1 signifies no timeout.earlyMediaReinvite - Specifies whether or not the first
party should receive a re-INVITE if the party returns an early
media response.
java.lang.Exception
protected void init(TransitionMachine machine)
throws java.lang.Exception
init in class JavaToEChartsMachinemachine - application machine instance associated with
this instance's SIP application session
java.lang.Exceptionpublic java.lang.String getUid()
public void dropCalls()
throws FeatureBoxException
FeatureBoxException - - if exception encountered sending
DropCalls message to the Click2DialFlow1Machinepublic java.lang.String getApplicationSessionId()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||