aboutsummaryrefslogtreecommitdiff
path: root/src/IvyBindListener.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/IvyBindListener.java')
-rw-r--r--src/IvyBindListener.java30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/IvyBindListener.java b/src/IvyBindListener.java
new file mode 100644
index 0000000..96096f2
--- /dev/null
+++ b/src/IvyBindListener.java
@@ -0,0 +1,30 @@
+package fr.dgac.ivy;
+
+/**
+ * this interface specifies the methods of a BindListener
+ *
+ * @author Yannick Jestin
+ * @author <a href="http://www.tls.cena.fr/products/ivy/">http://www.tls.cena.fr/products/ivy/</a>
+ *
+ * Changelog:
+ */
+
+public interface IvyBindListener extends java.util.EventListener {
+
+ /**
+ * invoked when a Ivy Client performs a bind
+ * @param client the peer
+ * @param int the regexp ID
+ * @param regexp the regexp
+ */
+ public abstract void bindPerformed(IvyClient client,int id, String regexp);
+
+ /**
+ * invoked when a Ivy Client performs a unbind
+ * @param client the peer
+ * @param int the regexp ID
+ * @param regexp the regexp
+ */
+ public abstract void unbindPerformed(IvyClient client,int id,String regexp);
+
+}