edu.sdsc.inca
Class ServerWorker

java.lang.Object
  extended by java.lang.Thread
      extended by edu.sdsc.inca.util.Worker
          extended by edu.sdsc.inca.ServerWorker
All Implemented Interfaces:
java.lang.Runnable

public class ServerWorker
extends Worker


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected static org.apache.log4j.Logger logger
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ServerWorker(WorkQueue q)
          Create the worker object associated with the named queue.
 
Method Summary
protected  void doWork(java.lang.Object work)
          Abstract method: should do the actual work required.
 
Methods inherited from class edu.sdsc.inca.util.Worker
run, toString
 
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, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

protected static final org.apache.log4j.Logger logger
Constructor Detail

ServerWorker

public ServerWorker(WorkQueue q)
Create the worker object associated with the named queue.

Parameters:
q -
Method Detail

doWork

protected void doWork(java.lang.Object work)
Description copied from class: Worker
Abstract method: should do the actual work required.

Specified by:
doWork in class Worker
Parameters:
work - the socket that was queued