bamboo.router
Class NeighborInfo
java.lang.Object
bamboo.router.NeighborInfo
- All Implemented Interfaces:
- Comparable, ostore.util.QuickSerializable
public class NeighborInfo
- extends Object
- implements Comparable, ostore.util.QuickSerializable
NeighborInfo.
- Version:
- $Id: NeighborInfo.java,v 1.9 2003/10/05 18:22:11 srhea Exp $
- Author:
- Sean C. Rhea
node_id
public ostore.util.NodeId node_id
guid
public BigInteger guid
NeighborInfo
public NeighborInfo(ostore.util.NodeId n,
BigInteger g)
NeighborInfo
public NeighborInfo(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