NASA World Wind WMS

gov.nasa.worldwind.servers.wms
Class WMSDataDiscoveryThread

java.lang.Object
  extended by java.lang.Thread
      extended by gov.nasa.worldwind.servers.wms.WMSDataDiscoveryThread
All Implemented Interfaces:
java.lang.Runnable

public class WMSDataDiscoveryThread
extends java.lang.Thread

Acts as a surrogate for a container to service a WMS request.


Nested Class Summary
protected static class WMSDataDiscoveryThread.LayerEntry
           
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
WMSDataDiscoveryThread(gov.nasa.worldwind.cache.FileStore dataFileStore, gov.nasa.worldwind.cache.FileStoreFilter filter, gov.nasa.worldwind.Factory dataConfigFactory)
           
 
Method Summary
 void addWMSLayerEventListener(WMSLayerEventListener listener)
           
protected  void doRun()
           
protected  void fireLayerAdded(WMSLayerEvent e)
           
protected  void fireLayerChanged(WMSLayerEvent e)
           
protected  void fireLayerRemoved(WMSLayerEvent e)
           
protected  void getDataConfigParams(gov.nasa.worldwind.cache.FileStore fileStore, java.lang.String filename, gov.nasa.worldwind.DataConfiguration config, gov.nasa.worldwind.avlist.AVList params)
           
protected  long getLastModifiedTime(gov.nasa.worldwind.cache.FileStore fileStore, java.lang.String filename)
           
 WMSLayerEventListener[] getWMSLayerEventListeners()
           
protected  java.lang.String[] listConfigFileNames(gov.nasa.worldwind.cache.FileStore fileStore)
           
protected  gov.nasa.worldwind.DataConfiguration openDataConfig(gov.nasa.worldwind.cache.FileStore fileStore, java.lang.String filename)
           
 void removeWMSLayerEventListener(WMSLayerEventListener listener)
           
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, 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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WMSDataDiscoveryThread

public WMSDataDiscoveryThread(gov.nasa.worldwind.cache.FileStore dataFileStore,
                              gov.nasa.worldwind.cache.FileStoreFilter filter,
                              gov.nasa.worldwind.Factory dataConfigFactory)
Method Detail

addWMSLayerEventListener

public void addWMSLayerEventListener(WMSLayerEventListener listener)

doRun

protected void doRun()

fireLayerAdded

protected void fireLayerAdded(WMSLayerEvent e)

fireLayerChanged

protected void fireLayerChanged(WMSLayerEvent e)

fireLayerRemoved

protected void fireLayerRemoved(WMSLayerEvent e)

getDataConfigParams

protected void getDataConfigParams(gov.nasa.worldwind.cache.FileStore fileStore,
                                   java.lang.String filename,
                                   gov.nasa.worldwind.DataConfiguration config,
                                   gov.nasa.worldwind.avlist.AVList params)

getLastModifiedTime

protected long getLastModifiedTime(gov.nasa.worldwind.cache.FileStore fileStore,
                                   java.lang.String filename)

getWMSLayerEventListeners

public WMSLayerEventListener[] getWMSLayerEventListeners()

listConfigFileNames

protected java.lang.String[] listConfigFileNames(gov.nasa.worldwind.cache.FileStore fileStore)

openDataConfig

protected gov.nasa.worldwind.DataConfiguration openDataConfig(gov.nasa.worldwind.cache.FileStore fileStore,
                                                              java.lang.String filename)

removeWMSLayerEventListener

public void removeWMSLayerEventListener(WMSLayerEventListener listener)

run

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

NASA World Wind WMS