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

java.lang.Object
  extended by org.echarts.servlet.sip.features.vxmlRedirect.VxmlRedirectBean
All Implemented Interfaces:
AddressInfo

public class VxmlRedirectBean
extends java.lang.Object
implements AddressInfo

Contains information on how to dispatch the incoming call.


Constructor Summary
VxmlRedirectBean()
           
 
Method Summary
 Action getAction()
           
 boolean getReconnect()
          indicates whether or not the caller should be reconnected to vxml after far party hangs up
 java.lang.String getSource()
           
 java.lang.String getTarget()
           
 java.util.Map<java.lang.String,java.lang.String> getTargetParameters()
           
 boolean getWaitForBye()
          indicates whether or not to wait for BYE from vxml before initiating NEW, CONTINUEd or UPDATEd call.
 void setAction(Action action)
          Set the desired action for the incoming call
 void setReconnect(boolean reconnect)
           
 void setSource(java.lang.String source)
           
 void setTarget(java.lang.String target)
           
 void setTargetParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
           
 void setWaitForBye(boolean waitForBye)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VxmlRedirectBean

public VxmlRedirectBean()
Method Detail

getAction

public Action getAction()
Returns:
the desired Action for the incoming call

setAction

public void setAction(Action action)
Set the desired action for the incoming call

Parameters:
action - - desired action

getSource

public java.lang.String getSource()
Specified by:
getSource in interface AddressInfo
Returns:
the desired source address

setSource

public void setSource(java.lang.String source)
Parameters:
source - the desired source address for outgoing INVITE (Action.NEW)

getTarget

public java.lang.String getTarget()
Specified by:
getTarget in interface AddressInfo
Returns:
the desired target address

setTarget

public void setTarget(java.lang.String target)
Parameters:
target - the desired target address for outgoing INVITE (Action.UPDATE or Action.NEW)

getReconnect

public boolean getReconnect()
indicates whether or not the caller should be reconnected to vxml after far party hangs up


setReconnect

public void setReconnect(boolean reconnect)
Parameters:
reconnect - indicates whether or not the caller should be reconnected to vxml after far party hangs up

getWaitForBye

public boolean getWaitForBye()
indicates whether or not to wait for BYE from vxml before initiating NEW, CONTINUEd or UPDATEd call.


setWaitForBye

public void setWaitForBye(boolean waitForBye)
Parameters:
waitForBye - indicates whether or not to wait for BYE from vxml before initiating NEW, CONTINUEd or UPDATEd call.

getTargetParameters

public java.util.Map<java.lang.String,java.lang.String> getTargetParameters()
Specified by:
getTargetParameters in interface AddressInfo
Returns:
URI parameters for the target address

setTargetParameters

public void setTargetParameters(java.util.Map<java.lang.String,java.lang.String> parameters)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object