org.echarts.servlet.sip.utilities
Class UrlCallbackStrategy
java.lang.Object
org.echarts.servlet.sip.utilities.UrlCallbackStrategy
- All Implemented Interfaces:
- CallbackStrategy
public class UrlCallbackStrategy
- extends java.lang.Object
- implements CallbackStrategy
Implementation of CallbackStrategy that uses an HTTP URL
as a targeting mechanism for the SIP application instance.
Method Summary |
void |
addCallbackParameters(java.util.Properties params)
Sets parameters that will be passed to the non-machine Java code
for purposes of identifying a particular machine instance for callbacks. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UrlCallbackStrategy
public UrlCallbackStrategy(SipApplicationSession appSession,
java.lang.String serverInfo,
java.lang.String urlPrefix)
- Parameters:
appSession
- urlPrefix
-
UrlCallbackStrategy
public UrlCallbackStrategy(SipApplicationSession appSession,
java.lang.String serverInfo)
- Parameters:
appSession
- urlPrefix
-
addCallbackParameters
public void addCallbackParameters(java.util.Properties params)
- Description copied from interface:
CallbackStrategy
- Sets parameters that will be passed to the non-machine Java code
for purposes of identifying a particular machine instance for callbacks.
- Specified by:
addCallbackParameters
in interface CallbackStrategy
- Parameters:
params
- set of parameters to which to add.