org.mobicents.servlet.sip.core.dispatchers
Class DispatchTask
java.lang.Object
org.mobicents.servlet.sip.core.dispatchers.DispatchTask
- All Implemented Interfaces:
- java.lang.Runnable
- Direct Known Subclasses:
- CancelRequestDispatcher.CancelDispatchTask, InitialRequestDispatcher.InitialDispatchTask, SubsequentRequestDispatcher.SubsequentDispatchTask
public abstract class DispatchTask
- extends java.lang.Object
- implements java.lang.Runnable
Generic class that allows async execution of tasks in one of the executors depending
on what session isolation you need. Error handling is also done here.
- Author:
- Vladimir Ralev
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sipServletMessage
protected SipServletMessageImpl sipServletMessage
sipProvider
protected javax.sip.SipProvider sipProvider
DispatchTask
public DispatchTask(SipServletMessageImpl sipServletMessage,
javax.sip.SipProvider sipProvider)
dispatch
public abstract void dispatch()
throws DispatcherException
- Throws:
DispatcherException
run
public void run()
- Specified by:
run in interface java.lang.Runnable
dispatchAndHandleExceptions
public void dispatchAndHandleExceptions()
Copyright © 2010. All Rights Reserved.