com.isti.quakewatch.util
Class QWWebSvcsConnector.MessageFetchingThread

java.lang.Object
  extended by java.lang.Thread
      extended by com.isti.util.IstiThread
          extended by com.isti.util.IstiNotifyThread
              extended by com.isti.quakewatch.util.QWWebSvcsConnector.MessageFetchingThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
QWWebSvcsConnector

protected class QWWebSvcsConnector.MessageFetchingThread
extends IstiNotifyThread

Class MessageFetchingThread defines a thread used to continuously fetch messages from a QuakeWatch Web Services Server. The thread also simulates server-alive-message events.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class com.isti.util.IstiThread
DEFAULT_TERMINATE_WAIT_TIME, terminateFlag
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
QWWebSvcsConnector.MessageFetchingThread()
          Creates a message-fetching thread.
 
Method Summary
 void run()
          Runs the message-fetching thread.
 
Methods inherited from class com.isti.util.IstiNotifyThread
sleep, terminate
 
Methods inherited from class com.isti.util.IstiThread
clearThreadWaitNotifyFlag, isTerminated, nextThreadNum, notifyThread, start, terminate, waitForNotify, waitForNotify, waitForTerminate, waitForTerminate, wasStarted
 
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, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QWWebSvcsConnector.MessageFetchingThread

public QWWebSvcsConnector.MessageFetchingThread()
Creates a message-fetching thread.

Method Detail

run

public void run()
Runs the message-fetching thread.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread