com.ontimize.util.gis.client.defaultimplementations
Class DispatchThread

java.lang.Object
  extended by java.lang.Thread
      extended by com.ontimize.util.gis.client.defaultimplementations.DispatchThread
All Implemented Interfaces:
java.lang.Runnable

public class DispatchThread
extends java.lang.Thread

Data dispatching thread. This class will be used by the gis data dispatcher in order to send the requested data to its requesters.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  IGisDataDispatcher dispatcher
           
protected  java.lang.Object layerKeys
           
protected  java.util.Hashtable<java.lang.Object,java.lang.Object> requestedData
           
protected  boolean shutdown
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
DispatchThread(IGisDataDispatcher dispatcher)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

layerKeys

protected java.lang.Object layerKeys

shutdown

protected boolean shutdown

requestedData

protected java.util.Hashtable<java.lang.Object,java.lang.Object> requestedData

dispatcher

protected IGisDataDispatcher dispatcher
Constructor Detail

DispatchThread

public DispatchThread(IGisDataDispatcher dispatcher)
Method Detail

run

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