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

    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

    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()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PastryTestMessage

      public PastryTestMessage​(rice.p2p.commonapi.Id from, rice.p2p.commonapi.Id to)
      Constructor.
      Parameters:
      from - A sending id
      to - A receiving id
  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • getPriority

      public int getPriority()
      Specified by:
      getPriority in interface rice.p2p.commonapi.Message