tapestry.impl
Class DynamicPingMsg

java.lang.Object
  |
  +--ostore.network.NetworkMessage
        |
        +--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, est_rtt_ms, inbound, peer, sender, tries, user_data, wait_ms
 
Constructor Summary
DynamicPingMsg(InputBuffer buffer)
           
DynamicPingMsg(NodeId peer, SecureHash src, int type)
           
 
Method Summary
 Object clone()
           
 void serialize(OutputBuffer 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
See Also:
Constant Field Values

NEARESTNEIGHBOR

public static final int NEARESTNEIGHBOR
See Also:
Constant Field Values

INSERTION

public static final int INSERTION
See Also:
Constant Field Values

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)
Specified by:
serialize in interface QuickSerializable
Overrides:
serialize in class NetworkMessage

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class NetworkMessage
CloneNotSupportedException

toString

public String toString()
Overrides:
toString in class NetworkMessage