Rice Pastry API

rice.rm.messaging
Class RMMaintenanceMsg

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

public class RMMaintenanceMsg
extends RMMessage
implements java.io.Serializable

Version:
$Id: RMMaintenanceMsg.java,v 1.6 2003/06/16 05:20:02 amislove Exp $
Author:
Animesh Nandi
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class rice.rm.messaging.RMMessage
RMMessage.KEEntry
 
Field Summary
static int maintFreq
          The time interval between successive replica manager maintenance activities.
static int maintStart
          The time offset after the RM substrate on the local node is ready when we first trigger the maintenance protocol.
 
Fields inherited from class rice.rm.messaging.RMMessage
_seqno, _source
 
Constructor Summary
RMMaintenanceMsg(rice.pastry.NodeHandle source, rice.pastry.messaging.Address address, rice.pastry.security.Credentials authorCred, int seqno)
          Constructor
 
Method Summary
 void handleDeliverMessage(rice.rm.RMImpl rm)
          This method is called whenever the rm node receives a message for itself and wants to process it.
 java.lang.String toString()
           
 
Methods inherited from class rice.rm.messaging.RMMessage
getCredentials, getSeqno, 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, wait, wait, wait
 

Field Detail

maintFreq

public static int maintFreq
The time interval between successive replica manager maintenance activities.


maintStart

public static int maintStart
The time offset after the RM substrate on the local node is ready when we first trigger the maintenance protocol.

Constructor Detail

RMMaintenanceMsg

public RMMaintenanceMsg(rice.pastry.NodeHandle source,
                        rice.pastry.messaging.Address address,
                        rice.pastry.security.Credentials authorCred,
                        int seqno)
Constructor

Parameters:
source - the local node itself
address - the RM application address
authorCred - the credentials of the source
seqno - for debugging purpose only
Method Detail

handleDeliverMessage

public void handleDeliverMessage(rice.rm.RMImpl rm)
Description copied from class: RMMessage
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 RMMessage

toString

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

Rice Pastry API

Copyright © 2001 - Rice Pastry.


Imprint-Dataprotection