rice.rm.testing
Class ReplicateResponseMsg

java.lang.Object
  extended byrice.pastry.messaging.Message
      extended byrice.rm.testing.TestMessage
          extended byrice.rm.testing.ReplicateResponseMsg
All Implemented Interfaces:
java.io.Serializable

public class ReplicateResponseMsg
extends TestMessage
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class rice.rm.testing.TestMessage
_source
 
Constructor Summary
ReplicateResponseMsg(NodeHandle source, Address address, Id _key, NodeSet _replicaSet, Credentials authorCred)
          Constructor : Builds a new RM Message
 
Method Summary
 Id getObjectKey()
           
 NodeSet getReplicaSet()
           
 void handleDeliverMessage(RMRegrTestApp testApp)
          This method is called whenever the rm node receives a message for itself and wants to process it.
 
Methods inherited from class rice.rm.testing.TestMessage
getCredentials, getSource
 
Methods inherited from class rice.pastry.messaging.Message
getDate, getDestination, getSenderId, getStream, hasPriority, setPriority, setSenderId, stamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicateResponseMsg

public ReplicateResponseMsg(NodeHandle source,
                            Address address,
                            Id _key,
                            NodeSet _replicaSet,
                            Credentials authorCred)
Constructor : Builds a new RM Message

Method Detail

handleDeliverMessage

public void handleDeliverMessage(RMRegrTestApp testApp)
This method is called whenever the rm node receives a message for itself and wants to process it. The processing is delegated by rm to the message.

Specified by:
handleDeliverMessage in class TestMessage

getObjectKey

public Id getObjectKey()

getReplicaSet

public NodeSet getReplicaSet()





Imprint-Dataprotection