Rice Pastry API

rice.rm.testing
Class ReplicateResponseMsg

java.lang.Object
  |
  +--rice.pastry.messaging.Message
        |
        +--rice.rm.testing.TestMessage
              |
              +--rice.rm.testing.ReplicateResponseMsg
All Implemented Interfaces:
java.io.Serializable

public class ReplicateResponseMsg
extends TestMessage
implements java.io.Serializable

Version:
$Id: ReplicateResponseMsg.java,v 1.2 2003/05/11 05:40:10 animesh Exp $
Author:
Animesh Nandi
See Also:
Serialized Form

Field Summary
 
Fields inherited from class rice.rm.testing.TestMessage
_source
 
Constructor Summary
ReplicateResponseMsg(rice.pastry.NodeHandle source, rice.pastry.messaging.Address address, rice.pastry.Id _key, rice.pastry.NodeSet _replicaSet, rice.pastry.security.Credentials authorCred)
          Constructor : Builds a new RM Message
 
Method Summary
 rice.pastry.Id getObjectKey()
           
 rice.pastry.NodeSet getReplicaSet()
           
 void handleDeliverMessage(rice.rm.testing.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(rice.pastry.NodeHandle source,
                            rice.pastry.messaging.Address address,
                            rice.pastry.Id _key,
                            rice.pastry.NodeSet _replicaSet,
                            rice.pastry.security.Credentials authorCred)
Constructor : Builds a new RM Message

Method Detail

handleDeliverMessage

public void handleDeliverMessage(rice.rm.testing.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 rice.pastry.Id getObjectKey()

getReplicaSet

public rice.pastry.NodeSet getReplicaSet()

Rice Pastry API

Copyright © 2001 - Rice Pastry.


Imprint-Dataprotection