rice.p2p.past.messaging
Class MessageLostMessage

java.lang.Object
  extended byrice.p2p.past.messaging.PastMessage
      extended byrice.p2p.past.messaging.MessageLostMessage
All Implemented Interfaces:
Message, java.io.Serializable

public class MessageLostMessage
extends PastMessage

See Also:
Serialized Form

Field Summary
 
Fields inherited from class rice.p2p.past.messaging.PastMessage
dest, id, isResponse, source
 
Constructor Summary
MessageLostMessage(int uid, NodeHandle local)
          Constructor which takes a unique integer Id and the local id
 
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 rice.p2p.past.messaging.PastMessage
addHop, getDestination, getSource, getUID, isResponse, setResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageLostMessage

public MessageLostMessage(int uid,
                          NodeHandle local)
Constructor which takes a unique integer Id and the local id

Parameters:
uid - The unique id
local - The local nodehandle
Method Detail

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





Imprint-Dataprotection