|
|||||||||
| Home >> All >> com >> ubermq >> chord >> [ jms overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.ubermq.chord.jms
Class ChordNotifyMessage

java.lang.Objectcom.ubermq.chord.jms.ChordMessage
com.ubermq.chord.jms.ChordNotifyMessage
- public final class ChordNotifyMessage
- extends ChordMessage
A chord notify command.
| Field Summary | |
private static java.lang.String |
CHORD_NOTIFY_GOING_AWAY_PROPERTY
A boolean property that signifies whether the notify message indicates a node joining, or leaving, the infrastructure. |
private boolean |
goingAway
|
private com.ubermq.chord.ChordNode |
node
|
| Fields inherited from class com.ubermq.chord.jms.ChordMessage |
CHORD_COMMAND_PROPERTY, CHORD_NOOP, CHORD_NOTIFY, CHORD_QUERY, CHORD_STORE, CHORD_VALUE |
| Constructor Summary | |
(package private) |
ChordNotifyMessage(javax.jms.Message m)
Constructs a chord node notification message. |
(package private) |
ChordNotifyMessage(javax.jms.Session session,
boolean goingAway,
com.ubermq.chord.ChordNode node)
|
| Method Summary | |
void |
execute(javax.jms.TopicSession session,
javax.jms.TopicPublisher pub,
com.ubermq.chord.ChordNodeProvider p)
Executes the contained command on the local node specified. |
com.ubermq.chord.ChordNode |
getNode()
Returns the node that is doing the notification. |
| Methods inherited from class com.ubermq.chord.jms.ChordMessage |
createFromIncoming, createNotifyMessage, createQueryMessage, createStoreMessage, createValueMessage, getCommand, getJMSMessage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
node
private com.ubermq.chord.ChordNode node
goingAway
private boolean goingAway
CHORD_NOTIFY_GOING_AWAY_PROPERTY
private static final java.lang.String CHORD_NOTIFY_GOING_AWAY_PROPERTY
- A boolean property that signifies whether the notify message
indicates a node joining, or leaving, the infrastructure.
- See Also:
- Constant Field Values
| Constructor Detail |
ChordNotifyMessage
ChordNotifyMessage(javax.jms.Session session, boolean goingAway, com.ubermq.chord.ChordNode node) throws javax.jms.JMSException
ChordNotifyMessage
ChordNotifyMessage(javax.jms.Message m)
- Constructs a chord node notification message.
| Method Detail |
getNode
public com.ubermq.chord.ChordNode getNode()
- Returns the node that is doing the notification.
execute
public void execute(javax.jms.TopicSession session, javax.jms.TopicPublisher pub, com.ubermq.chord.ChordNodeProvider p) throws javax.jms.JMSException
- Description copied from class:
ChordMessage - Executes the contained command on the local node
specified.
- Overrides:
executein classChordMessage
|
|||||||||
| Home >> All >> com >> ubermq >> chord >> [ jms overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC