rice.p2p.replication.messaging
Class RequestMessage

java.lang.Object
  extended byrice.p2p.replication.messaging.ReplicationMessage
      extended byrice.p2p.replication.messaging.RequestMessage
All Implemented Interfaces:
Message, java.io.Serializable

public class RequestMessage
extends ReplicationMessage

See Also:
Serialized Form

Field Summary
protected  Id[] hashes
           
protected  IdRange[] ranges
           
 
Fields inherited from class rice.p2p.replication.messaging.ReplicationMessage
source
 
Constructor Summary
RequestMessage(NodeHandle source, IdRange[] ranges, Id[] hashes)
          Constructor which takes a unique integer Id
 
Method Summary
 Id[] getHashes()
          Method which returns this messages' hashes
 IdRange[] getRanges()
          Method which returns this messages' ranges
 
Methods inherited from class rice.p2p.replication.messaging.ReplicationMessage
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ranges

protected IdRange[] ranges

hashes

protected Id[] hashes
Constructor Detail

RequestMessage

public RequestMessage(NodeHandle source,
                      IdRange[] ranges,
                      Id[] hashes)
Constructor which takes a unique integer Id

Parameters:
source - The source address
Method Detail

getRanges

public IdRange[] getRanges()
Method which returns this messages' ranges

Returns:
The ranges of this message

getHashes

public Id[] getHashes()
Method which returns this messages' hashes

Returns:
The ranges of this message





Imprint-Dataprotection