rice.p2p.past.gc.messaging
Class GCCollectMessage
java.lang.Object
rice.p2p.past.messaging.PastMessage
rice.p2p.past.gc.messaging.GCCollectMessage
- All Implemented Interfaces:
- Serializable, Message, RawMessage, RawSerializable
public class GCCollectMessage
- extends PastMessage
- Version:
- $Id: GCCollectMessage.java 4654 2009-01-08 16:33:07Z jeffh $
- Author:
- Alan Mislove
- See Also:
- Serialized Form
|
Field Summary |
static short |
TYPE
|
TYPE
public static final short TYPE
- See Also:
- Constant Field Values
GCCollectMessage
public GCCollectMessage(int id,
NodeHandle source,
Id dest)
- Constructor
- Parameters:
id - The location to be storedsource - The source addressdest - The destination address
returnResponse
public void returnResponse(Continuation c,
Environment env,
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 String toString()
- Returns a string representation of this message
- Overrides:
toString in class Object
- Returns:
- A string representing this message
getType
public short getType()
serialize
public void serialize(OutputBuffer buf)
throws IOException
- Specified by:
serialize in interface RawSerializable- Overrides:
serialize in class PastMessage
- Throws:
IOException
Copyright © 2010. All Rights Reserved.