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

Field Summary
private  DT_AddressPair CCW
          the neighbor's neighbor that is immediate CCW of this node.
private  DT_AddressPair CW
          the neighbor's neighbor that is immediate CW of this node.
private  boolean hasThisNodeAsNeighbor
          This is true if the neighbor has an entry for this node in its neighbor table.
private  long lastContactTime
          This is the time the last message was received from the neighbor.
private  DT_AddressPair neighbor
          the neighbor.
 
Constructor Summary
(package private) DT_NeighborhoodEntry(DT_AddressPair n, DT_AddressPair cw, DT_AddressPair ccw, boolean h, long t)
          constructor
 
Method Summary
(package private)  DT_AddressPair getCCW()
           
(package private)  DT_AddressPair getCW()
           
(package private)  long getLastContactTime()
           
(package private)  DT_AddressPair getNeighbor()
           
(package private)  boolean hasThisNodeAsNeighbor()
           
(package private)  void setCCW(DT_AddressPair ccw)
           
(package private)  void setCW(DT_AddressPair cw)
           
(package private)  void setHasThisNodeAsNeighbor(boolean h)
           
(package private)  void setLastContactTime(long t)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

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.
Constructor Detail

DT_NeighborhoodEntry

DT_NeighborhoodEntry(DT_AddressPair n,
                     DT_AddressPair cw,
                     DT_AddressPair ccw,
                     boolean h,
                     long t)
constructor
Method Detail

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)