|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.servlet.sip.core.SipApplicationDispatcherImpl.RequestTask
protected class SipApplicationDispatcherImpl.RequestTask
This class is the task that will be run by the request thread pool executor Running the request dispatching in its own task is better since it won't block the thread from the sip stack. Since the sip stack serializes on transaction if the listener blocks too much or takes too much time to process the request (Sip Servlets accessing a DB or doing heavy computation) and retransmissions comes in and cannot get the jsip transaction lock a 503 Service Unavailable will be sent.
| Constructor Summary | |
|---|---|
SipApplicationDispatcherImpl.RequestTask(SipApplicationDispatcherImpl sipApplicationDispatcher,
javax.sip.SipProvider sipProvider,
SipServletRequestImpl sipServletRequest)
|
|
| Method Summary | |
|---|---|
void |
run()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SipApplicationDispatcherImpl.RequestTask(SipApplicationDispatcherImpl sipApplicationDispatcher,
javax.sip.SipProvider sipProvider,
SipServletRequestImpl sipServletRequest)
| Method Detail |
|---|
public void run()
run in interface java.lang.Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||