|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Traces
This class gets the result of a local traceroute and shows it on stdout. Calling the constructor runs the traceroute. After I get good at it, there will be methods to ask for the ping time, hop count, delay variance, and (if I get really ambitious) list of AS Numbers traversed. The inputs are dest = the name of the target of the traceroute.
Constructor Summary | |
Traces(java.lang.String dest)
construct a traceroute to dest. |
Method Summary | |
static void |
main(java.lang.String[] args)
test the Traces features. |
boolean |
receiveTraceInfo(java.io.BufferedReader in)
reads the result of the HTTP GET line by line, looking for anytbing that looks like a traceroute. |
void |
runTrace()
opens a socket to the trace host and ask for a traceroute. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Traces(java.lang.String dest)
Method Detail |
public void runTrace()
public boolean receiveTraceInfo(java.io.BufferedReader in)
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |