|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SipApplicationDispatcher
Classes implementing this interface can be used in the SipService Class to be the central point getting the sip messages from the different stacks and dispatching them to sip applications.
| Method Summary | |
|---|---|
void |
addHostName(java.lang.String hostName)
Add a new hostname to the application dispatcher. |
void |
addSipApplication(java.lang.String sipApplicationName,
SipContext sipApplication)
Add a new sip application to which sip messages can be routed |
java.util.Set<java.lang.String> |
findHostNames()
Returns An immutable instance of the java.util.List interface containing the sip application dispatcher registered host names |
SipContext |
findSipApplication(java.lang.String applicationName)
Find the sip application to which sip messages can currently be routed by its name |
java.util.Iterator<SipContext> |
findSipApplications()
Find the sip applications to which sip messages can currently be routed |
java.lang.String |
getApplicationNameFromHash(java.lang.String hash)
|
java.util.concurrent.ExecutorService |
getAsynchronousExecutor()
|
int |
getBackToNormalMemoryThreshold()
|
int |
getBackToNormalQueueSize()
|
int |
getBaseTimerInterval()
|
ConcurrencyControlMode |
getConcurrencyControlMode()
|
long |
getCongestionControlCheckingInterval()
|
CongestionControlPolicy |
getCongestionControlPolicy()
|
org.mobicents.ext.javax.sip.dns.DNSServerLocator |
getDNSServerLocator()
|
java.lang.String |
getDomain()
|
java.lang.String[] |
getExtensionsSupported()
|
java.lang.String |
getHashFromApplicationName(java.lang.String appName)
|
int |
getMemoryThreshold()
|
SipApplicationRouterInfo |
getNextInterestedApplication(SipServletRequestImpl sipServletRequestImpl)
|
int |
getNumberOfMessagesInQueue()
|
java.util.List<SipURI> |
getOutboundInterfaces()
Returns An immutable instance of the java.util.List interface containing the SipURI representation of IP addresses which are used by the container to send out the messages. |
double |
getPercentageOfMemoryUsed()
|
int |
getQueueSize()
|
java.lang.String[] |
getRfcSupported()
|
SipApplicationRouter |
getSipApplicationRouter()
|
SipFactoryImpl |
getSipFactory()
retrieve the sip factory |
SipNetworkInterfaceManager |
getSipNetworkInterfaceManager()
Retrieve the manager for the sip network interfaces for this application dispatcher |
javax.sip.SipStack |
getSipStack()
|
int |
getT2Interval()
|
int |
getT4Interval()
|
int |
getTimerDInterval()
|
java.lang.String |
getVersion()
|
void |
init()
Initialize the sip application dispatcher. |
boolean |
isBypassRequestExecutor()
|
boolean |
isBypassResponseExecutor()
|
boolean |
isExternal(java.lang.String host,
int port,
java.lang.String transport)
|
boolean |
isGatherStatistics()
|
boolean |
isRouteExternal(javax.sip.header.RouteHeader routeHeader)
|
boolean |
isViaHeaderExternal(javax.sip.header.ViaHeader viaHeader)
|
void |
removeHostName(java.lang.String hostName)
Remove the hostname from the application dispatcher. |
SipContext |
removeSipApplication(java.lang.String sipApplicationName)
Remove a sip application to which sip messages can be routed |
void |
sendSwitchoverInstruction(java.lang.String fromJvmRoute,
java.lang.String toJvmRoute)
|
void |
setBackToNormalMemoryThreshold(int backToNormalMemoryThreshold)
|
void |
setBackToNormalQueueSize(int backToNormalQueueSize)
|
void |
setBaseTimerInterval(int baseTimerInterval)
|
void |
setBypassRequestExecutor(boolean bypassRequestExecutor)
|
void |
setBypassResponseExecutor(boolean bypassResponseExecutor)
|
void |
setConcurrencyControlMode(ConcurrencyControlMode concurrencyControlMode)
|
void |
setConcurrencyControlModeByName(java.lang.String concurrencyControlMode)
|
void |
setCongestionControlCheckingInterval(long interval)
|
void |
setCongestionControlPolicy(CongestionControlPolicy congestionControlPolicy)
|
void |
setCongestionControlPolicyByName(java.lang.String congestionControlPolicy)
|
void |
setDNSServerLocator(org.mobicents.ext.javax.sip.dns.DNSServerLocator dnsServerLocator)
|
void |
setDomain(java.lang.String domain)
|
void |
setGatherStatistics(boolean gatherStatistics)
|
void |
setMemoryThreshold(int memoryThreshold)
|
void |
setQueueSize(int queueSize)
|
void |
setSipStack(javax.sip.SipStack sipStack)
|
void |
setT2Interval(int t2Interval)
|
void |
setT4Interval(int t4Interval)
|
void |
setTimerDInterval(int timerDInterval)
|
void |
start()
Start the sip application dispatcher |
void |
stop()
Stop the sip application dispatcher |
| Methods inherited from interface gov.nist.javax.sip.SipListenerExt |
|---|
processDialogTimeout |
| Methods inherited from interface javax.sip.SipListener |
|---|
processDialogTerminated, processIOException, processRequest, processResponse, processTimeout, processTransactionTerminated |
| Method Detail |
|---|
void init()
throws org.apache.catalina.LifecycleException
org.apache.catalina.LifecycleException - The Sip Application Router cannot be initialized correctlyvoid start()
void stop()
void addSipApplication(java.lang.String sipApplicationName,
SipContext sipApplication)
sipApplicationName - the sip application logical namesipApplication - the sip context representing the applicationSipContext removeSipApplication(java.lang.String sipApplicationName)
sipApplicationName - the sip application logical name of the application to removejava.util.Iterator<SipContext> findSipApplications()
SipContext findSipApplication(java.lang.String applicationName)
applicationName - the name of the application
SipNetworkInterfaceManager getSipNetworkInterfaceManager()
SipFactoryImpl getSipFactory()
java.util.List<SipURI> getOutboundInterfaces()
void addHostName(java.lang.String hostName)
hostName - the host namevoid removeHostName(java.lang.String hostName)
hostName - the host namejava.util.Set<java.lang.String> findHostNames()
SipApplicationRouterInfo getNextInterestedApplication(SipServletRequestImpl sipServletRequestImpl)
sipServletRequestImpl -
java.lang.String getDomain()
void setDomain(java.lang.String domain)
boolean isRouteExternal(javax.sip.header.RouteHeader routeHeader)
boolean isViaHeaderExternal(javax.sip.header.ViaHeader viaHeader)
boolean isExternal(java.lang.String host,
int port,
java.lang.String transport)
SipApplicationRouter getSipApplicationRouter()
void sendSwitchoverInstruction(java.lang.String fromJvmRoute,
java.lang.String toJvmRoute)
java.lang.String getApplicationNameFromHash(java.lang.String hash)
java.lang.String getHashFromApplicationName(java.lang.String appName)
ConcurrencyControlMode getConcurrencyControlMode()
void setConcurrencyControlMode(ConcurrencyControlMode concurrencyControlMode)
void setConcurrencyControlModeByName(java.lang.String concurrencyControlMode)
int getQueueSize()
void setQueueSize(int queueSize)
void setMemoryThreshold(int memoryThreshold)
int getMemoryThreshold()
void setCongestionControlCheckingInterval(long interval)
long getCongestionControlCheckingInterval()
CongestionControlPolicy getCongestionControlPolicy()
void setCongestionControlPolicy(CongestionControlPolicy congestionControlPolicy)
void setCongestionControlPolicyByName(java.lang.String congestionControlPolicy)
int getNumberOfMessagesInQueue()
double getPercentageOfMemoryUsed()
void setBypassRequestExecutor(boolean bypassRequestExecutor)
boolean isBypassRequestExecutor()
void setBypassResponseExecutor(boolean bypassResponseExecutor)
boolean isBypassResponseExecutor()
void setBaseTimerInterval(int baseTimerInterval)
int getBaseTimerInterval()
void setT2Interval(int t2Interval)
int getT2Interval()
void setT4Interval(int t4Interval)
int getT4Interval()
void setTimerDInterval(int timerDInterval)
int getTimerDInterval()
java.lang.String[] getExtensionsSupported()
java.lang.String[] getRfcSupported()
void setGatherStatistics(boolean gatherStatistics)
boolean isGatherStatistics()
void setBackToNormalMemoryThreshold(int backToNormalMemoryThreshold)
int getBackToNormalMemoryThreshold()
void setBackToNormalQueueSize(int backToNormalQueueSize)
int getBackToNormalQueueSize()
java.util.concurrent.ExecutorService getAsynchronousExecutor()
void setSipStack(javax.sip.SipStack sipStack)
javax.sip.SipStack getSipStack()
void setDNSServerLocator(org.mobicents.ext.javax.sip.dns.DNSServerLocator dnsServerLocator)
org.mobicents.ext.javax.sip.dns.DNSServerLocator getDNSServerLocator()
java.lang.String getVersion()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||