Class GetInfoMessage

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

public class GetInfoMessage extends Object implements rice.p2p.commonapi.Message
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
    GetInfoMessage(rice.p2p.commonapi.NodeHandle sender)
    create a new
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    a random id for answer collection
    int
     
    rice.p2p.commonapi.NodeHandle
    get the sender of the information request

    Methods inherited from class java.lang.Object

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

    • GetInfoMessage

      public GetInfoMessage(rice.p2p.commonapi.NodeHandle sender)
      create a new
      Parameters:
      sender - A sending node handle
  • Method Details

    • getSender

      public rice.p2p.commonapi.NodeHandle getSender()
      get the sender of the information request
      Returns:
      sending node of the request
    • getId

      public long getId()
      a random id for answer collection
      Returns:
      id of this message
    • getPriority

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