edu.unima.ky.parallel
Class ExSocChanConsWorker

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--edu.unima.ky.parallel.ExSocChanConsWorker
All Implemented Interfaces:
java.lang.Runnable

class ExSocChanConsWorker
extends java.lang.Thread

a connection worker class


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ExSocChanConsWorker(edu.unima.ky.parallel.SocketChannel c)
          Constructs a worker for this connection
 
Method Summary
 void run()
          do some work (receives integers 1 to 10)
 
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, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExSocChanConsWorker

public ExSocChanConsWorker(edu.unima.ky.parallel.SocketChannel c)
                    throws java.io.IOException
Constructs a worker for this connection

Method Detail

run

public void run()
do some work (receives integers 1 to 10)

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