ostore.tapestry.patchwork
Class PatchworkRevCountMsg
java.lang.Object
|
+--ostore.network.NetworkMessage
|
+--ostore.tapestry.patchwork.PatchworkRevCountMsg
- All Implemented Interfaces:
- Cloneable, QueueElementIF, QuickSerializable
- public class PatchworkRevCountMsg
- extends NetworkMessage
- implements QuickSerializable
This is mostly for testing, to inform other nodes of how many
nodes are pointing at me.
- Version:
- $Id: PatchworkRevCountMsg.java,v 1.2 2002/09/20 07:33:20 hweather Exp $
- Author:
- Jeremy Stribling
num_ptrs
public int num_ptrs
level
public int level
PatchworkRevCountMsg
public PatchworkRevCountMsg(NodeId peer,
int num_ptrs,
int level)
PatchworkRevCountMsg
public PatchworkRevCountMsg(NodeId peer,
int num_ptrs)
PatchworkRevCountMsg
public PatchworkRevCountMsg(InputBuffer buffer)
throws QSException
serialize
public void serialize(OutputBuffer buffer)
- Description copied from interface:
QuickSerializable
- Add the object to the
buffer
.
- Specified by:
serialize
in interface QuickSerializable
- Overrides:
serialize
in class NetworkMessage
- Following copied from interface:
ostore.util.QuickSerializable
- Parameters:
buffer
- the output buffer to add the object to
clone
public Object clone()
throws CloneNotSupportedException
- Overrides:
clone
in class NetworkMessage
toString
public String toString()
- Overrides:
toString
in class NetworkMessage