|
|||||||||
| Home >> All >> hsr >> ipm >> [ storing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
hsr.ipm.storing
Class Hop

java.lang.Objecthsr.ipm.storing.Hop
- public class Hop
- extends java.lang.Object
Represents a Hop in a traceroute
- Version:
- 1.0
| Field Summary | |
private long |
id
|
private Host |
responseHost
|
private java.util.Vector |
rtts
|
| Constructor Summary | |
Hop()
|
|
| Method Summary | |
void |
addRtt(java.lang.Float aRtt)
Adds a Rtt to a Hop |
long |
getId()
Gets the Id |
Host |
getResponseHost()
Gets the ResponseHostattribute |
java.util.Vector |
getRTTS()
Returns all Rtts from a Hop |
static void |
main(java.lang.String[] args)
|
void |
setId(long id)
Sets the Id |
void |
setResponseHost(Host aHost)
Sets the the ResponseHostattribute |
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
id
private long id
responseHost
private Host responseHost
rtts
private java.util.Vector rtts
| Constructor Detail |
Hop
public Hop()
| Method Detail |
setResponseHost
public void setResponseHost(Host aHost)
- Sets the the ResponseHostattribute
getResponseHost
public Host getResponseHost()
- Gets the ResponseHostattribute
addRtt
public void addRtt(java.lang.Float aRtt)
- Adds a Rtt to a Hop
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
getRTTS
public java.util.Vector getRTTS()
- Returns all Rtts from a Hop
getId
public long getId()
- Gets the Id
setId
public void setId(long id)
- Sets the Id
main
public static void main(java.lang.String[] args)
|
|||||||||
| Home >> All >> hsr >> ipm >> [ storing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
hsr.ipm.storing.Hop