|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ulg.montefiore.run.totem.socketInterface.Producer
public class Producer
It listens on a socket to messages and stores them in a BlockingQueue (along with client outputStream) where they will be read by the Consumer class.
Creation date: 03-June-2005
Constructor Summary | |
---|---|
Producer(java.net.Socket client,
java.util.concurrent.BlockingQueue<Server.Input> queue)
|
Method Summary | |
---|---|
void |
run()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Producer(java.net.Socket client, java.util.concurrent.BlockingQueue<Server.Input> queue)
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |