org.echarts.servlet.sip.features.vxmlRedirect
Class JavaToVxmlRedirectFSM

java.lang.Object
  extended by org.echarts.servlet.sip.JavaToEChartsMachine
      extended by org.echarts.servlet.sip.features.vxmlRedirect.JavaToVxmlRedirectFSM

public class JavaToVxmlRedirectFSM
extends JavaToEChartsMachine


Constructor Summary
JavaToVxmlRedirectFSM()
           
 
Method Summary
 boolean continueCall(boolean reconnect, boolean waitForBye, java.util.Map<java.lang.String,java.lang.String> parameters)
           
 boolean dropCall()
           
protected  void init(TransitionMachine machine)
          This method is called immediately after new JavaToEChartsMachine instance is created.
 boolean newCall(java.lang.String source, java.lang.String target, boolean reconnect, boolean waitForBye, java.util.Map<java.lang.String,java.lang.String> parameters)
           
 boolean updateCall(java.lang.String source, java.lang.String target, boolean reconnect, boolean waitForBye, java.util.Map<java.lang.String,java.lang.String> parameters)
           
 
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

JavaToVxmlRedirectFSM

public JavaToVxmlRedirectFSM()
Method Detail

init

protected void init(TransitionMachine machine)
Description copied from class: JavaToEChartsMachine
This method is called immediately after new JavaToEChartsMachine instance is created. This method should be overridden in order to initialize subclass fields.

Overrides:
init in class JavaToEChartsMachine
Parameters:
machine - application machine instance associated with this instance's SIP application session

dropCall

public boolean dropCall()
                 throws java.lang.Exception
Throws:
java.lang.Exception

continueCall

public boolean continueCall(boolean reconnect,
                            boolean waitForBye,
                            java.util.Map<java.lang.String,java.lang.String> parameters)
                     throws java.lang.Exception
Throws:
java.lang.Exception

newCall

public boolean newCall(java.lang.String source,
                       java.lang.String target,
                       boolean reconnect,
                       boolean waitForBye,
                       java.util.Map<java.lang.String,java.lang.String> parameters)
                throws java.lang.Exception
Throws:
java.lang.Exception

updateCall

public boolean updateCall(java.lang.String source,
                          java.lang.String target,
                          boolean reconnect,
                          boolean waitForBye,
                          java.util.Map<java.lang.String,java.lang.String> parameters)
                   throws java.lang.Exception
Throws:
java.lang.Exception