Rice Pastry API

rice.rm.testing
Class DistRMRegrTestReplicateMessage

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

public class DistRMRegrTestReplicateMessage
extends Message
implements java.io.Serializable

DistRMRegrTestReplicateMessage is used by the dist regression test application on the RM layer to do the initial replication of a few objects into the system and the periodic refreshing. Note that this will be done only by the first node that forms the pastry ring.

Version:
$Id: DistRMRegrTestReplicateMessage.java,v 1.1 2003/03/12 06:53:47 animesh Exp $
Author:
Animesh Nandi
See Also:
Serialized Form

Constructor Summary
DistRMRegrTestReplicateMessage(rice.pastry.messaging.Address addr, rice.pastry.security.Credentials c)
          Constructor
 
Method Summary
 void handleDeliverMessage(rice.rm.testing.DistRMRegrTestApp rmApp)
          This method is called whenever the pastry node receives this message for the DistRMRegrTestApp.
 java.lang.String toString()
           
 
Methods inherited from class rice.pastry.messaging.Message
getCredentials, getDate, getDestination, getSenderId, getStream, hasPriority, setPriority, setSenderId, stamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DistRMRegrTestReplicateMessage

public DistRMRegrTestReplicateMessage(rice.pastry.messaging.Address addr,
                                      rice.pastry.security.Credentials c)
Constructor

Parameters:
addr - the address of the DistRMRegrTestApp receiver.
c - the credentials associated with the mesasge.
Method Detail

handleDeliverMessage

public void handleDeliverMessage(rice.rm.testing.DistRMRegrTestApp rmApp)
This method is called whenever the pastry node receives this message for the DistRMRegrTestApp.

Parameters:
rmApp - the DistRMRegrTestApp application.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Rice Pastry API

Copyright © 2001 - Rice Pastry.


Imprint-Dataprotection