Files
i2p.itoopie/apps/tests/echotester/EchoTestAnalyzer.java
2004-04-08 04:41:54 +00:00

20 lines
450 B
Java

/**
* A class that wants to analyze tests implements this interface. This
* allows to "mix" several test values (from different echo servers)
* as well as different algorithms for analyzing the data (for
* jrandom: Strategy Pattern *g*).
*/
public interface EchoTestAnalyzer {
public void packetLossOccurred(boolean beforeDisconnect);
public void successOccurred(long delay);
public void disconnected(boolean refused);
}