|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.catalina.core.StandardService
org.mobicents.servlet.sip.startup.SipStandardService
public class SipStandardService
Sip Servlet implementation of the SipService interface.
This class inherits from the Tomcat StandardService. It adds a SipApplicationDispatcher
that will be listen for sip messages received by the sip stacks started by
the sip connectors associated with this context.
This has one attribute which is the sipApplicationDispatcherClassName allowing one
to specify the class name of the sipApplicationDispacther to easily replace
the default sipApplicationDispatcher with a custom one.
| Field Summary | |
|---|---|
protected java.lang.String |
additionalParameterableHeaders
|
protected boolean |
bypassRequestExecutor
|
protected boolean |
bypassResponseExecutor
|
protected java.lang.String |
concurrencyControlMode
|
protected long |
congestionControlCheckingInterval
|
protected java.lang.String |
congestionControlPolicy
|
protected boolean |
connectorsStartedExternally
|
protected java.lang.String |
darConfigurationFileLocation
|
protected int |
memoryThreshold
|
protected SipApplicationDispatcher |
sipApplicationDispatcher
|
protected java.lang.String |
sipApplicationDispatcherClassName
|
protected int |
sipMessageQueueSize
|
| Fields inherited from class org.apache.catalina.core.StandardService |
|---|
connectors, container, controller, domain, executors, initialized, mserver, oname, suffix, support, type |
| Fields inherited from interface org.apache.catalina.Lifecycle |
|---|
AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, DESTROY_EVENT, INIT_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT |
| Constructor Summary | |
|---|---|
SipStandardService()
|
|
| Method Summary | |
|---|---|
void |
addConnector(org.apache.catalina.connector.Connector connector)
|
java.lang.String |
getAdditionalParameterableHeaders()
|
java.lang.String |
getConcurrencyControlMode()
ConcurrencyControl control mode is SipSession, AppSession or None Specifies the isolation level of concurrently executing requests. |
long |
getCongestionControlCheckingInterval()
|
java.lang.String |
getCongestionControlPolicy()
|
java.lang.String |
getDarConfigurationFileLocation()
|
java.lang.String |
getInfo()
|
int |
getMemoryThreshold()
|
SipApplicationDispatcher |
getSipApplicationDispatcher()
Retrieve the sip application dispatcher associated with this service |
java.lang.String |
getSipApplicationDispatcherClassName()
Retrieve the sip application dispatcher class name |
int |
getSipMessageQueueSize()
Message queue size. |
void |
initialize()
|
boolean |
isBypassRequestExecutor()
|
boolean |
isBypassResponseExecutor()
|
void |
removeConnector(org.apache.catalina.connector.Connector connector)
|
void |
setAdditionalParameterableHeaders(java.lang.String additionalParameterableHeaders)
|
void |
setBypassRequestExecutor(boolean bypassRequestExecutor)
|
void |
setBypassResponseExecutor(boolean bypassResponseExecutor)
|
void |
setConcurrencyControlMode(java.lang.String concurrencyControlMode)
ConcurrencyControl control mode is SipSession, AppSession or None Specifies the isolation level of concurrently executing requests. |
void |
setCongestionControlCheckingInterval(long congestionControlCheckingInterval)
|
void |
setCongestionControlPolicy(java.lang.String congestionControlPolicy)
|
void |
setDarConfigurationFileLocation(java.lang.String darConfigurationFileLocation)
|
void |
setMemoryThreshold(int memoryThreshold)
|
void |
setSipApplicationDispatcher(SipApplicationDispatcher sipApplicationDispatcher)
Set the sip application dispatcher associated with this service |
void |
setSipApplicationDispatcherClassName(java.lang.String sipApplicationDispatcherName)
Set the sip application dispatcher class name |
void |
setSipMessageQueueSize(int sipMessageQueueSize)
Message queue size. |
void |
start()
|
void |
stop()
|
| Methods inherited from class org.apache.catalina.core.StandardService |
|---|
addExecutor, addLifecycleListener, addPropertyChangeListener, destroy, findConnectors, findExecutors, findLifecycleListeners, getConnectorNames, getContainer, getContainerName, getDomain, getExecutor, getName, getObjectName, getServer, init, postDeregister, postRegister, preDeregister, preRegister, removeExecutor, removeLifecycleListener, removePropertyChangeListener, setContainer, setName, setServer, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.catalina.Service |
|---|
addExecutor, findConnectors, findExecutors, getContainer, getExecutor, getName, getServer, removeExecutor, setContainer, setName, setServer |
| Field Detail |
|---|
protected java.lang.String sipApplicationDispatcherClassName
protected SipApplicationDispatcher sipApplicationDispatcher
protected int sipMessageQueueSize
protected int memoryThreshold
protected long congestionControlCheckingInterval
protected java.lang.String concurrencyControlMode
protected java.lang.String congestionControlPolicy
protected java.lang.String additionalParameterableHeaders
protected boolean bypassResponseExecutor
protected boolean bypassRequestExecutor
protected java.lang.String darConfigurationFileLocation
protected boolean connectorsStartedExternally
| Constructor Detail |
|---|
public SipStandardService()
| Method Detail |
|---|
public java.lang.String getInfo()
getInfo in interface org.apache.catalina.ServicegetInfo in class org.apache.catalina.core.StandardServicepublic void addConnector(org.apache.catalina.connector.Connector connector)
addConnector in interface org.apache.catalina.ServiceaddConnector in class org.apache.catalina.core.StandardServicepublic void removeConnector(org.apache.catalina.connector.Connector connector)
removeConnector in interface org.apache.catalina.ServiceremoveConnector in class org.apache.catalina.core.StandardService
public void initialize()
throws org.apache.catalina.LifecycleException
initialize in interface org.apache.catalina.Serviceinitialize in class org.apache.catalina.core.StandardServiceorg.apache.catalina.LifecycleException
public void start()
throws org.apache.catalina.LifecycleException
start in interface org.apache.catalina.Lifecyclestart in class org.apache.catalina.core.StandardServiceorg.apache.catalina.LifecycleException
public void stop()
throws org.apache.catalina.LifecycleException
stop in interface org.apache.catalina.Lifecyclestop in class org.apache.catalina.core.StandardServiceorg.apache.catalina.LifecycleExceptionpublic java.lang.String getSipApplicationDispatcherClassName()
public void setSipApplicationDispatcherClassName(java.lang.String sipApplicationDispatcherName)
sipApplicationDispatcherClassName - the sip application dispatcher class name to be setpublic SipApplicationDispatcher getSipApplicationDispatcher()
SipService
getSipApplicationDispatcher in interface SipServicepublic void setSipApplicationDispatcher(SipApplicationDispatcher sipApplicationDispatcher)
SipService
setSipApplicationDispatcher in interface SipServicesipApplicationDispatcher - the sipApplicationDispatcher to setpublic java.lang.String getDarConfigurationFileLocation()
public void setDarConfigurationFileLocation(java.lang.String darConfigurationFileLocation)
darConfigurationFileLocation - the darConfigurationFileLocation to setpublic int getSipMessageQueueSize()
public void setSipMessageQueueSize(int sipMessageQueueSize)
public java.lang.String getConcurrencyControlMode()
public void setConcurrencyControlMode(java.lang.String concurrencyControlMode)
public void setMemoryThreshold(int memoryThreshold)
memoryThreshold - the memoryThreshold to setpublic int getMemoryThreshold()
public void setCongestionControlPolicy(java.lang.String congestionControlPolicy)
congestionControlPolicy - the congestionControlPolicy to setpublic java.lang.String getCongestionControlPolicy()
public void setCongestionControlCheckingInterval(long congestionControlCheckingInterval)
congestionControlCheckingInterval - the congestionControlCheckingInterval to setpublic long getCongestionControlCheckingInterval()
public java.lang.String getAdditionalParameterableHeaders()
public void setAdditionalParameterableHeaders(java.lang.String additionalParameterableHeaders)
public boolean isBypassResponseExecutor()
public void setBypassResponseExecutor(boolean bypassResponseExecutor)
bypassResponseExecutor - the bypassResponseExecutor to setpublic boolean isBypassRequestExecutor()
public void setBypassRequestExecutor(boolean bypassRequestExecutor)
bypassRequestExecutor - the bypassRequestExecutor to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||