rice.rm.testing
Class ReplicateMsg

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

public class ReplicateMsg
extends TestMessage
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class rice.rm.testing.TestMessage
_source
 
Constructor Summary
ReplicateMsg(NodeHandle source, Address address, Id _objectKey, Credentials authorCred)
           
 
Method Summary
 Id getObjectKey()
          Gets the objectKey of the object.
 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

ReplicateMsg

public ReplicateMsg(NodeHandle source,
                    Address address,
                    Id _objectKey,
                    Credentials authorCred)
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()
Gets the objectKey of the object.

Returns:
objectKey





Imprint-Dataprotection