aboutsummaryrefslogtreecommitdiff
path: root/src/PingCallback.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/PingCallback.java')
-rw-r--r--src/PingCallback.java20
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);
+}