|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.tutorial.prioritylistener.MyMsg
public class MyMsg
An example message.
Field Summary |
---|
Fields inherited from interface rice.p2p.commonapi.Message |
---|
DEFAULT_PRIORITY, HIGH_PRIORITY, LOW_PRIORITY, LOWEST_PRIORITY, MAX_PRIORITY, MEDIUM_HIGH_PRIORITY, MEDIUM_LOW_PRIORITY, MEDIUM_PRIORITY |
Constructor Summary | |
---|---|
MyMsg(Id from,
Id to)
Constructor. |
Method Summary | |
---|---|
int |
getPriority()
Use low priority to prevent interference with overlay maintenance traffic. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MyMsg(Id from, Id to)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public int getPriority()
getPriority
in interface Message
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |