|
Richfaces Examples: Richfaces Showcase Application 4.1.0.20110910-M2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.richfaces.demo.push.MessageProducerRunnable
public class MessageProducerRunnable
Runnable which are periodically sending messages until it is stopped or underlying thread is interrupted.
| Constructor Summary | |
|---|---|
MessageProducerRunnable(MessageProducer messageProducer)
Creates runnable with associated message producer. |
|
| Method Summary | |
|---|---|
void |
run()
|
void |
stop()
Stops the cycle with body sending messages. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageProducerRunnable(MessageProducer messageProducer)
messageProducer - will be associated with this runnable| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablepublic void stop()
|
Richfaces Examples: Richfaces Showcase Application 4.1.0.20110910-M2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||