Package i5.las2peer.p2p.pastry
Class PastryTestMessage
java.lang.Object
i5.las2peer.p2p.pastry.PastryTestMessage
- All Implemented Interfaces:
java.io.Serializable
,rice.p2p.commonapi.Message
public class PastryTestMessage
extends java.lang.Object
implements rice.p2p.commonapi.Message
A simple test message to be sent through the pastry network will be removed later
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PastryTestMessage(rice.p2p.commonapi.Id from, rice.p2p.commonapi.Id to)
Constructor. -
Method Summary
Modifier and Type Method Description int
getPriority()
java.lang.String
toString()
-
Constructor Details
-
PastryTestMessage
public PastryTestMessage(rice.p2p.commonapi.Id from, rice.p2p.commonapi.Id to)Constructor.- Parameters:
from
- A sending idto
- A receiving id
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
getPriority
public int getPriority()- Specified by:
getPriority
in interfacerice.p2p.commonapi.Message
-