aboutsummaryrefslogtreecommitdiff
path: root/src/IvyBindListener.java
blob: 3ac011ad556bbafb534a48715c165956dcb2de73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/**
 * this interface specifies the methods of a BindListener; it is only useful if you want
 * to develop a bus monitor (Ivy Probe, spy, ivymon)
 *
 * @author	Yannick Jestin
 * @author	<a href="http://www.tls.cena.fr/products/ivy/">http://www.tls.cena.fr/products/ivy/</a>
 *
 * Changelog:
 * 1.2.8
 *   - removed the public abstract modifiers, which are redundant
 */
package fr.dgac.ivy;

public interface IvyBindListener extends java.util.EventListener {

  /**
   * invoked when a Ivy Client performs a bind
   * @param client the peer
   * @param id the regexp ID
   * @param regexp the regexp
   */
  void bindPerformed(IvyClient client,int id, String regexp);

  /**
   * invoked when a Ivy Client performs a unbind
   * @param client the peer
   * @param id the regexp ID
   * @param regexp the regexp
   */
  void unbindPerformed(IvyClient client,int id,String regexp);

}