diff options
author | jestin | 2006-07-24 13:33:15 +0000 |
---|---|---|
committer | jestin | 2006-07-24 13:33:15 +0000 |
commit | f0ca4915ee9eec18d05c60e3cf0248b50fab7310 (patch) | |
tree | 94697724e5fffa4aef5eefc3a98db5276f7e5d95 /src/PingCallback.java | |
parent | 0f83d1bab49eb913cc8be048ec7884a9a2e3402e (diff) | |
download | ivy-java-f0ca4915ee9eec18d05c60e3cf0248b50fab7310.zip ivy-java-f0ca4915ee9eec18d05c60e3cf0248b50fab7310.tar.gz ivy-java-f0ca4915ee9eec18d05c60e3cf0248b50fab7310.tar.bz2 ivy-java-f0ca4915ee9eec18d05c60e3cf0248b50fab7310.tar.xz |
adding ping and pong
Diffstat (limited to 'src/PingCallback.java')
-rw-r--r-- | src/PingCallback.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/PingCallback.java b/src/PingCallback.java new file mode 100644 index 0000000..ff3233b --- /dev/null +++ b/src/PingCallback.java @@ -0,0 +1,20 @@ +package fr.dgac.ivy; + +/** + * this interface specifies the methods of an PingCallback + * + * @author Yannick Jestin + * @author <a href="http://www.tls.cena.fr/products/ivy/">http://www.tls.cena.fr/products/ivy/</a> + * + * Changelog: + * 1.2.12 + */ + +public interface PingCallback { + /** + * invoked when a Pong is received + * @param elapsedTime the elapsed time in milliseconds between the ping and + * the pong + */ + void pongReceived(IvyClient ic,int elapsedTime); +} |