ostore.tapestry.impl
Class DynamicPingMsg

java.lang.Object
  |
  +--ostore.network.NetworkMessage
        |
        +--ostore.tapestry.impl.DynamicPingMsg
All Implemented Interfaces:
Cloneable, QueueElementIF, QuickSerializable

public class DynamicPingMsg
extends NetworkMessage
implements QuickSerializable


Field Summary
static int GENERAL
           
static int INSERTION
           
static int NEARESTNEIGHBOR
           
 SecureHash src
           
 int type
           
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, inbound, peer, sender, tries, user_data
 
Constructor Summary
DynamicPingMsg(InputBuffer buffer)
           
DynamicPingMsg(NodeId peer, SecureHash src, int type)
           
 
Method Summary
 Object clone()
           
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

public int type

GENERAL

public static final int GENERAL

NEARESTNEIGHBOR

public static final int NEARESTNEIGHBOR

INSERTION

public static final int INSERTION

src

public SecureHash src
Constructor Detail

DynamicPingMsg

public DynamicPingMsg(NodeId peer,
                      SecureHash src,
                      int type)

DynamicPingMsg

public DynamicPingMsg(InputBuffer buffer)
               throws QSException
Method Detail

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