tapestry.api
Class TapestryNeighborInfo
java.lang.Object
|
+--tapestry.api.TapestryNeighborInfo
- public class TapestryNeighborInfo
- extends Object
A (NodeId, Guid, Latency) tuple. rtt_ms is only an estimate
(obviously), and may not be filled in at all; e.g. it will be equal to
Double.MAX_VALUE if we don't have an estimate for it yet. If so, and
you want a better estimate, use Patchwork.
- Version:
- $Id: TapestryNeighborInfo.java,v 1.1.1.1 2004/03/26 19:57:05 hweather Exp $
- Author:
- Sean C. Rhea
node_id
public NodeId node_id
guid
public SecureHash guid
level
public int level
rtt_ms
public double rtt_ms
TapestryNeighborInfo
public TapestryNeighborInfo(NodeId n,
SecureHash g,
int l,
double r)
TapestryNeighborInfo
public TapestryNeighborInfo(NodeId n,
SecureHash g,
int l)
equals
public boolean equals(Object rhs)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object