edu.sdsc.inca
Class ServerWorker

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

public class ServerWorker
extends Worker


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, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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