aboutsummaryrefslogtreecommitdiff
path: root/src/PingCallback.java
blob: 5ba6ac0b69a22e549c3e8a77423d72736091d935 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
 * 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>
 *
 * helps the probe utility to measure the time af a ping roundtrip to a remote
 * agent.
 *
 * Changelog:
 * 1.2.12
 */
package fr.dgac.ivy;

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);
}