rice.rm.testing
Class TestMessage
java.lang.Object
|
+--rice.pastry.messaging.Message
|
+--rice.rm.testing.TestMessage
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- HeartbeatMsg, InsertMsg, InsertResponseMsg, InvariantCheckMsg, ObjectInsertionMsg, ObjectRefreshMsg, RefreshMsg, ReplicateMsg, ReplicateResponseMsg, ReplicateTimeoutMsg
- public abstract class TestMessage
- extends Message
- implements java.io.Serializable
- Version:
- $Id: TestMessage.java,v 1.1 2003/05/06 06:53:27 animesh Exp $
- Author:
- Atul Singh, Animesh Nandi
- See Also:
- Serialized Form
Field Summary |
protected rice.pastry.NodeHandle |
_source
The ID of the source of this message. |
Constructor Summary |
TestMessage(rice.pastry.NodeHandle source,
rice.pastry.messaging.Address address,
rice.pastry.security.Credentials authorCred)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_source
protected rice.pastry.NodeHandle _source
- The ID of the source of this message.
Should be serializable.
TestMessage
public TestMessage(rice.pastry.NodeHandle source,
rice.pastry.messaging.Address address,
rice.pastry.security.Credentials authorCred)
handleDeliverMessage
public abstract void handleDeliverMessage(rice.rm.testing.RMRegrTestApp testApp)
getSource
public rice.pastry.NodeHandle getSource()
getCredentials
public rice.pastry.security.Credentials getCredentials()
- Description copied from class:
Message
- Gets the credentials of the sender.
- Overrides:
getCredentials
in class Message
- Returns:
- credentials or null if the sender has no credentials.
Copyright © 2001 - Rice Pastry.