bamboo.api
Class BambooNeighborInfo
java.lang.Object
bamboo.api.BambooNeighborInfo
- All Implemented Interfaces:
- Comparable, ostore.util.QuickSerializable
public class BambooNeighborInfo
- extends Object
- implements Comparable, ostore.util.QuickSerializable
BambooNeighborInfo.
- Version:
- $Id: BambooNeighborInfo.java,v 1.1 2003/10/05 19:02:02 srhea Exp $
- Author:
- Sean C. Rhea
node_id
public ostore.util.NodeId node_id
guid
public BigInteger guid
rtt_ms
public double rtt_ms
BambooNeighborInfo
public BambooNeighborInfo(ostore.util.NodeId n,
BigInteger g,
double r)
BambooNeighborInfo
public BambooNeighborInfo(ostore.util.NodeId n,
BigInteger g)
BambooNeighborInfo
public BambooNeighborInfo(ostore.util.InputBuffer buffer)
throws ostore.util.QSException
- Throws:
ostore.util.QSException
serialize
public void serialize(ostore.util.OutputBuffer buffer)
- Specified by:
serialize in interface ostore.util.QuickSerializable
equals
public boolean equals(Object rhs)
- Overrides:
equals in class Object
compareTo
public int compareTo(Object rhs)
- Specified by:
compareTo in interface Comparable
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object