net.sf.dexterim.msn
Class ReceiverThread

java.lang.Object
  extended byjava.lang.Thread
      extended bynet.sf.dexterim.msn.ReceiverThread
All Implemented Interfaces:
java.lang.Runnable

public class ReceiverThread
extends java.lang.Thread

Author:
Christoph Walcher

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ReceiverThread(java.lang.String id, BufferedMsnMessageReader messageReader)
          Creates a new instance of ReceiverThread
 
Method Summary
 void addMessageListener(MessageListener listener)
           
protected  void fireMessageReceived(MsnMessage message)
           
 void removeMessageListener(MessageListener listener)
           
 void run()
           
 void setStopped(boolean stopped)
           
 
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

ReceiverThread

public ReceiverThread(java.lang.String id,
                      BufferedMsnMessageReader messageReader)
Creates a new instance of ReceiverThread

Method Detail

run

public void run()

addMessageListener

public void addMessageListener(MessageListener listener)

removeMessageListener

public void removeMessageListener(MessageListener listener)

fireMessageReceived

protected void fireMessageReceived(MsnMessage message)

setStopped

public void setStopped(boolean stopped)


Copyright © 2003-2004 Dexter IM Team. All Rights Reserved.