rice.p2p.past.messaging
Class MessageLostMessage
java.lang.Object
rice.p2p.past.messaging.PastMessage
rice.p2p.past.messaging.MessageLostMessage
- All Implemented Interfaces:
- java.io.Serializable, Message, RawMessage, RawSerializable
public class MessageLostMessage
- extends PastMessage
- Version:
- $Id: MessageLostMessage.java 4654 2009-01-08 16:33:07Z jeffh $
- Author:
- Alan Mislove, Ansley Post, Peter Druschel
- See Also:
- Serialized Form
Method Summary |
short |
getType()
|
void |
returnResponse(Continuation c,
Environment env,
java.lang.String instance)
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. |
void |
serialize(OutputBuffer buf)
|
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 |
TYPE
public static final short TYPE
- See Also:
- Constant Field Values
id
protected Id id
hint
protected NodeHandle hint
messageString
protected java.lang.String messageString
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 nodehandle
returnResponse
public void returnResponse(Continuation c,
Environment env,
java.lang.String instance)
- 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
- Overrides:
toString
in class java.lang.Object
- Returns:
- A string representing this message
getType
public short getType()
serialize
public void serialize(OutputBuffer buf)
throws java.io.IOException
- Specified by:
serialize
in interface RawSerializable
- Overrides:
serialize
in class PastMessage
- Throws:
java.io.IOException
Copyright © 2001-2005 - Rice Pastry.