bamboo.dht
Class Dht.DiskSizeMsg

java.lang.Object
  extended by ostore.network.NetworkMessage
      extended by bamboo.dht.Dht.DiskSizeMsg
All Implemented Interfaces:
Cloneable, ostore.util.QuickSerializable, QueueElementIF
Enclosing class:
Dht

public static class Dht.DiskSizeMsg
extends ostore.network.NetworkMessage


Field Summary
 double[] sizes
           
 int[] ttls
           
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, est_rtt_ms, inbound, peer, sender, timeout_sec, user_data, wait_ms
 
Constructor Summary
Dht.DiskSizeMsg(ostore.util.InputBuffer buf)
           
Dht.DiskSizeMsg(ostore.util.NodeId d, int[] t, double[] s)
           
 
Method Summary
 Object clone()
           
 void serialize(ostore.util.OutputBuffer buf)
           
 
Methods inherited from class ostore.network.NetworkMessage
toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ttls

public int[] ttls

sizes

public double[] sizes
Constructor Detail

Dht.DiskSizeMsg

public Dht.DiskSizeMsg(ostore.util.NodeId d,
                       int[] t,
                       double[] s)

Dht.DiskSizeMsg

public Dht.DiskSizeMsg(ostore.util.InputBuffer buf)
                throws ostore.util.QSException
Throws:
ostore.util.QSException
Method Detail

serialize

public void serialize(ostore.util.OutputBuffer buf)
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