server
Class Pulser

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--server.Pulser
All Implemented Interfaces:
java.lang.Runnable

public class Pulser
extends java.lang.Thread

this is a thread that will pulse call the sendLocal of all the Threads in the threadgroup

Author:
Ben Litchfield

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
 void quit()
          to quit this thread
 void run()
          this will run this thread and pulse all of the information
 void sendFishToClient(Fish going)
          this will send a fish to the client
 
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
 

Method Detail

sendFishToClient

public void sendFishToClient(Fish going)
this will send a fish to the client


quit

public void quit()
to quit this thread


run

public void run()
this will run this thread and pulse all of the information

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