|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--inria.util.Entity | +--inria.net.lrmp.LrmpEntity
encapsulates the information about an LRMP entity. This object is created and managed internally by LRMP.
Field Summary | |
protected int |
distance
approximative number of hops from local site. |
protected int |
rtt
round trip time in millis. |
protected static long |
SequenceModulo
|
Fields inherited from class inria.util.Entity |
id |
Method Summary | |
boolean |
equals(LrmpEntity e)
Compares with an Lrmp entity for equality. |
java.net.InetAddress |
getAddress()
Returns the network address. |
long |
getLastTimeHeard()
Returns the last time when this entity was heard. |
int |
getNackCount()
Returns the number of NACK packets heard from this entity. |
int |
getRTT()
Returns the round trip time, in milliseconds. |
protected void |
incNack()
|
protected void |
reset()
|
protected void |
setAddress(java.net.InetAddress netaddr)
|
protected void |
setID(int id)
Sets the entity ID. |
protected void |
setLastTimeHeard(long t)
|
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class inria.util.Entity |
equals, getID |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected static final long SequenceModulo
protected int rtt
protected int distance
Method Detail |
protected void reset()
protected void setAddress(java.net.InetAddress netaddr)
protected void setID(int id)
public java.net.InetAddress getAddress()
public java.lang.String toString()
toString
in class java.lang.Object
public int getNackCount()
public int getRTT()
protected void incNack()
public long getLastTimeHeard()
public boolean equals(LrmpEntity e)
protected void setLastTimeHeard(long t)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JavaTM Reliable MulticastTM Service version 1.1
Copyright (c) 2001, Sun Microsystems Laboratories, All rights reserved.