org.mobicents.servlet.sip.core.dispatchers
Class DispatchTask

java.lang.Object
  extended by org.mobicents.servlet.sip.core.dispatchers.DispatchTask
All Implemented Interfaces:
java.lang.Runnable

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

Constructor Summary
DispatchTask(SipServletMessageImpl sipServletMessage, javax.sip.SipProvider sipProvider)
           
 
Method Summary
abstract  void dispatch()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DispatchTask

public DispatchTask(SipServletMessageImpl sipServletMessage,
                    javax.sip.SipProvider sipProvider)
Method Detail

dispatch

public abstract void dispatch()
                       throws DispatcherException
Throws:
DispatcherException

run

public void run()
Specified by:
run in interface java.lang.Runnable


Copyright © 2008. All Rights Reserved.