rice.pastry.testing.rendezvous
Class MyMsg
java.lang.Object
rice.pastry.testing.rendezvous.MyMsg
- All Implemented Interfaces:
- Serializable, Message
public class MyMsg
- extends Object
- implements Message
An example message.
- Author:
- Jeff Hoye
- See Also:
- Serialized Form
|
Constructor Summary |
MyMsg(Id from,
Id to)
Constructor. |
|
Method Summary |
int |
getPriority()
Use low priority to prevent interference with overlay maintenance traffic. |
String |
toString()
|
MyMsg
public MyMsg(Id from,
Id to)
- Constructor.
toString
public String toString()
- Overrides:
toString in class Object
getPriority
public int getPriority()
- Use low priority to prevent interference with overlay maintenance traffic.
- Specified by:
getPriority in interface Message
- Returns:
- This message's priority
Copyright © 2010. All Rights Reserved.