rice.p2p.past.messaging
Class MessageLostMessage
java.lang.Object
rice.p2p.past.messaging.PastMessage
rice.p2p.past.messaging.MessageLostMessage
- All Implemented Interfaces:
- Message, java.io.Serializable
- public class MessageLostMessage
- extends PastMessage
- Version:
- $Id: MessageLostMessage.java,v 1.7 2005/03/11 00:58:05 jeffh Exp $
- Author:
- Alan Mislove, Ansley Post, Peter Druschel
- See Also:
- Serialized Form
Method Summary |
void |
returnResponse(Continuation c)
Method by which this message is supposed to return it's response - in this
case, it lets the continuation know that a the message was lost via the
receiveException method. |
java.lang.String |
toString()
Returns a string representation of this message |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
id
protected Id id
- DESCRIBE THE FIELD
hint
protected NodeHandle hint
- DESCRIBE THE FIELD
message
protected Message message
- DESCRIBE THE FIELD
MessageLostMessage
public MessageLostMessage(int uid,
NodeHandle local,
Id id,
Message message,
NodeHandle hint)
- Constructor which takes a unique integer Id and the local id
- Parameters:
uid
- The unique idlocal
- The local nodehandleid
- DESCRIBE THE PARAMETERmessage
- DESCRIBE THE PARAMETERhint
- DESCRIBE THE PARAMETER
returnResponse
public void returnResponse(Continuation c)
- Method by which this message is supposed to return it's response - in this
case, it lets the continuation know that a the message was lost via the
receiveException method.
- Specified by:
returnResponse
in class PastMessage
- Parameters:
c
- The continuation to return the reponse to.
toString
public java.lang.String toString()
- Returns a string representation of this message
- Returns:
- A string representing this message
Copyright © 2001-2005 - Rice Pastry.