|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.p2p.multiring.messaging.RingMessage
public class RingMessage
Field Summary | |
---|---|
protected java.lang.String |
application
The name of the application which sent this message |
protected RingId |
id
The target of this ring message |
protected Message |
message
The internal message to be sent |
Fields inherited from interface rice.p2p.commonapi.Message |
---|
HIGH_PRIORITY, LOW_PRIORITY, MEDIUM_HIGH_PRIORITY, MEDIUM_LOW_PRIORITY, MEDIUM_PRIORITY |
Constructor Summary | |
---|---|
RingMessage(RingId id,
Message message,
java.lang.String application)
Constructor which takes a unique integer Id |
Method Summary | |
---|---|
java.lang.String |
getApplication()
Method which returns this messages' applicaiton name |
RingId |
getId()
Method which returns this messages' id |
Message |
getMessage()
Method which returns this messages' internal message |
int |
getPriority()
Method which should return the priority level of this message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected RingId id
protected Message message
protected java.lang.String application
Constructor Detail |
---|
public RingMessage(RingId id, Message message, java.lang.String application)
id
- The unique idsource
- The source addressdest
- The destination addressMethod Detail |
---|
public int getPriority()
getPriority
in interface Message
public RingId getId()
public Message getMessage()
public java.lang.String getApplication()
|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |