|
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.TopicsContextMessageProducer
public class TopicsContextMessageProducer
Sends message to topic using TopicsContext.
| Field Summary | |
|---|---|
static java.lang.String |
PUSH_TOPICS_CONTEXT_TOPIC
|
| Constructor Summary | |
|---|---|
TopicsContextMessageProducer()
|
|
| Method Summary | |
|---|---|
int |
getInterval()
Interval which will be producer sleeping after last message sent before start of sending of next message. |
void |
sendMessage()
Sends a message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PUSH_TOPICS_CONTEXT_TOPIC
| Constructor Detail |
|---|
public TopicsContextMessageProducer()
| Method Detail |
|---|
public void sendMessage()
throws java.lang.Exception
MessageProducer
sendMessage in interface MessageProducerjava.lang.Exception - any exception which was thrown when trying to send message.public int getInterval()
MessageProducer
getInterval in interface MessageProducer
|
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 | |||||||||