bamboo.vivaldi
Class PingVCResp

java.lang.Object
  extended by ostore.network.NetworkMessage
      extended by bamboo.vivaldi.PingVCResp
All Implemented Interfaces:
Cloneable, ostore.util.QuickSerializable, QueueElementIF

public class PingVCResp
extends ostore.network.NetworkMessage

A ping response containing the node's virtual coordinate.

Version:
$Id: PingVCResp.java,v 1.2 2004/03/09 22:04:37 czerwin Exp $
Author:
Steven E. Czerwinski

Field Summary
 VirtualCoordinate coordinate
           
 int version_number
           
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, est_rtt_ms, inbound, peer, sender, timeout_sec, user_data, wait_ms
 
Constructor Summary
PingVCResp(ostore.util.InputBuffer buffer)
           
PingVCResp(PingMsg msg, VirtualCoordinate coord, int version_number)
           
 
Method Summary
 Object clone()
           
 void serialize(ostore.util.OutputBuffer buffer)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

coordinate

public VirtualCoordinate coordinate

version_number

public int version_number
Constructor Detail

PingVCResp

public PingVCResp(PingMsg msg,
                  VirtualCoordinate coord,
                  int version_number)

PingVCResp

public PingVCResp(ostore.util.InputBuffer buffer)
           throws ostore.util.QSException
Throws:
ostore.util.QSException
Method Detail

serialize

public void serialize(ostore.util.OutputBuffer buffer)
Specified by:
serialize in interface ostore.util.QuickSerializable
Overrides:
serialize in class ostore.network.NetworkMessage

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class ostore.network.NetworkMessage
Throws:
CloneNotSupportedException

toString

public String toString()
Overrides:
toString in class ostore.network.NetworkMessage