forked from I2P_Developers/i2p.i2p
beginning of branch i2p.i2p.i2p
This commit is contained in:
19
apps/tests/echotester/EchoTestAnalyzer.java
Normal file
19
apps/tests/echotester/EchoTestAnalyzer.java
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
/**
|
||||
* 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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user