rice.rm.testing
Class HeartbeatMsg

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

public class HeartbeatMsg
extends TestMessage
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class rice.rm.testing.TestMessage
_source
 
Constructor Summary
HeartbeatMsg(NodeHandle source, Address address, Id _objectKey, Credentials authorCred)
          Constructor : Builds a new Heartbeat Message
 
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

HeartbeatMsg

public HeartbeatMsg(NodeHandle source,
                    Address address,
                    Id _objectKey,
                    Credentials authorCred)
Constructor : Builds a new Heartbeat 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()
Gets the objectKey of the object.

Returns:
objectKey





Imprint-Dataprotection