org.ideahamster.metis.util
Class KeyboardProcessor

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--faust.sacha.web.bot.spider.event.ThreadEventManager
              |
              +--org.ideahamster.metis.util.KeyboardProcessor
All Implemented Interfaces:
java.lang.Runnable

public class KeyboardProcessor
extends faust.sacha.web.bot.spider.event.ThreadEventManager

The class used to managed the keyboard input during a spider.

Version:
1.4
Author:
Sacha Faust

Field Summary
 
Fields inherited from class faust.sacha.web.bot.spider.event.ThreadEventManager
m_state
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
KeyboardProcessor(java.io.InputStream in, faust.sacha.web.bot.spider.event.ThreadEventManager mainListenner)
           
 
Method Summary
 void run()
           
 
Methods inherited from class faust.sacha.web.bot.spider.event.ThreadEventManager
addToListeners, getState, receiveEvent, sendEvent, sendEventAll, setState, stopAllListenningThreads
 
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

KeyboardProcessor

public KeyboardProcessor(java.io.InputStream in,
                         faust.sacha.web.bot.spider.event.ThreadEventManager mainListenner)
Parameters:
in - The key pressed by the user.
mainListenner - The ThreadEventManager class that wish to receive events based on the input.
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class faust.sacha.web.bot.spider.event.ThreadEventManager