Class PastryTestMessage

java.lang.Object
i5.las2peer.p2p.pastry.PastryTestMessage
All Implemented Interfaces:
Serializable, rice.p2p.commonapi.Message

public class PastryTestMessage extends Object implements rice.p2p.commonapi.Message
A simple test message to be sent through the pastry network will be removed later
See Also:
  • 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
     
     

    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 String toString()
      Overrides:
      toString in class Object
    • getPriority

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