fr.lifl.magique.platform
Class Listener

java.lang.Object
  extended byjava.lang.Thread
      extended byfr.lifl.magique.platform.Listener
All Implemented Interfaces:
java.lang.Runnable

public class Listener
extends java.lang.Thread

Listen to the messages received by the platform.


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Listener(Platform platform)
           
 
Method Summary
 void halt()
          halts the Listener : no more messages are treated
 void run()
          spies if messages are to be treated
 
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

Listener

public Listener(Platform platform)
Parameters:
platform - the platform i am the Listener of
Method Detail

halt

public void halt()
halts the Listener : no more messages are treated


run

public void run()
spies if messages are to be treated