Purple Code

com.purpletech.message.server
Class Receiver

java.lang.Object
  |
  +--com.purpletech.util.ActiveTask
        |
        +--com.purpletech.message.server.Receiver
All Implemented Interfaces:
java.lang.Runnable, Task

public class Receiver
extends ActiveTask

a Receiver walks down each of the clients and checks for messages. For each message, it puts it on the incoming queue.

Version:
$Id: Receiver.java,v 1.2 2001/10/30 12:20:52 alex Exp $
Author:
Alex

Field Summary
 
Fields inherited from class com.purpletech.util.ActiveTask
doStop, name, priority, watcher
 
Constructor Summary
Receiver(java.util.Set clients, Queue incoming, java.util.List problems)
          Initialize this object
 
Method Summary
 int getCount()
           
 void run()
           
 
Methods inherited from class com.purpletech.util.ActiveTask
setName, setPriority, setWatcher, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Receiver

public Receiver(java.util.Set clients,
                Queue incoming,
                java.util.List problems)
Initialize this object

Method Detail

run

public void run()

getCount

public int getCount()

Documentation generated March 5 2003