edu.virginia.cs.mng.hypercast.DT
Class DT_NeighborhoodEntry
java.lang.Object
|
+--edu.virginia.cs.mng.hypercast.DT.DT_NeighborhoodEntry
- final class DT_NeighborhoodEntry
- extends java.lang.Object
Class containing fields for an entry in the neighbor table.
- See Also:
DT_Neighborhood
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
neighbor
private DT_AddressPair neighbor
- the neighbor.
CW
private DT_AddressPair CW
- the neighbor's neighbor that is immediate CW of this node.
CCW
private DT_AddressPair CCW
- the neighbor's neighbor that is immediate CCW of this node.
hasThisNodeAsNeighbor
private boolean hasThisNodeAsNeighbor
- This is true if the neighbor has an entry for this node in its neighbor table.
lastContactTime
private long lastContactTime
- This is the time the last message was received from the neighbor.
DT_NeighborhoodEntry
DT_NeighborhoodEntry(DT_AddressPair n,
DT_AddressPair cw,
DT_AddressPair ccw,
boolean h,
long t)
- constructor
getNeighbor
DT_AddressPair getNeighbor()
getCW
DT_AddressPair getCW()
setCW
void setCW(DT_AddressPair cw)
getCCW
DT_AddressPair getCCW()
setCCW
void setCCW(DT_AddressPair ccw)
hasThisNodeAsNeighbor
boolean hasThisNodeAsNeighbor()
setHasThisNodeAsNeighbor
void setHasThisNodeAsNeighbor(boolean h)
getLastContactTime
long getLastContactTime()
setLastContactTime
void setLastContactTime(long t)