rice.rm.testing
Class InsertMsg
java.lang.Object
|
+--rice.pastry.messaging.Message
|
+--rice.rm.testing.TestMessage
|
+--rice.rm.testing.InsertMsg
- All Implemented Interfaces:
- java.io.Serializable
- public class InsertMsg
- extends TestMessage
- implements java.io.Serializable
- Version:
- $Id: InsertMsg.java,v 1.1 2003/05/09 19:27:37 animesh Exp $
- Author:
- Animesh Nandi
- See Also:
- Serialized Form
Constructor Summary |
InsertMsg(rice.pastry.NodeHandle source,
rice.pastry.messaging.Address address,
rice.pastry.Id _objectKey,
java.lang.Object _content,
rice.pastry.security.Credentials authorCred)
|
Method Summary |
java.lang.Object |
getObject()
Gets the object contained in this message |
rice.pastry.Id |
getObjectKey()
Gets the objectKey of the object. |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InsertMsg
public InsertMsg(rice.pastry.NodeHandle source,
rice.pastry.messaging.Address address,
rice.pastry.Id _objectKey,
java.lang.Object _content,
rice.pastry.security.Credentials authorCred)
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()
- Gets the objectKey of the object.
- Returns:
- objectKey
getObject
public java.lang.Object getObject()
- Gets the object contained in this message
- Returns:
- object
Copyright © 2001 - Rice Pastry.