@@ -0,0 +1,1148 @@
+import java.net.InetAddress;%0A%0A/**%0A   Common interface to all pingers.%0A%0A   @author Christian Hudon %3Cchrish@pianocktail.org%3E%0A*/%0Apublic interface Pinger %7B%0A    /**%0A       Returns the last collected times as a String.%0A%0A       %3Cp%3EThe output is structed as follows:%0A%0A       %3Cp%3Eprotocol addr sent received total_elapsed_time %5Btimes+%5D%0A%0A       %3Cp%3Efor example:%0A%0A       %3Cp%3E%3Ctt%3EICMP 132.204.24.179 11 10 10022ms 3.66ms 7.14ms 2.39ms 11.6ms 3.59ms 5.56ms 2.93ms 7.54ms 5.75ms 4.54m%3C/tt%3E%0A%0A       @return The last collected times%0A    */%0A    public String getLastPings();%0A%0A    /**%0A       Clears the last collected times%0A    */%0A    public void clearPings();%0A%0A    /**%0A       Pings an external IP address. A string containing the summary and times%0A       gathered is constructed, and accessible through%0A       Pinger.getLastPings() after having called ping(). If an error%0A       occured, getLastPings() is undefined (may contain previous call's%0A       values).%0A%0A       @see   Pinger#getLastPings()%0A       @see   Pinger#clearPings()%0A       @param addr The address to ping%0A%0A       @return The external command return code%0A    */%0A    public int ping(InetAddress addr);%0A%7D%0A

Add Pinger interface class!