aboutsummaryrefslogtreecommitdiff
path: root/src/IvyApplicationListener.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/IvyApplicationListener.java')
-rwxr-xr-xsrc/IvyApplicationListener.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/IvyApplicationListener.java b/src/IvyApplicationListener.java
index bdfb12c..456a85f 100755
--- a/src/IvyApplicationListener.java
+++ b/src/IvyApplicationListener.java
@@ -9,6 +9,11 @@ package fr.dgac.ivy;
*
* The ApplicatinListenr for receiving application level events on the Ivy
* bus: connexion, disconnexion, direct messages or requests to quit.
+ *
+ * Changelog:
+ * 1.2.4
+ * - sendDie now requires a String argument ! It is MANDATORY, and could
+ * impact your implementations !
*/
public interface IvyApplicationListener extends java.util.EventListener {
@@ -26,13 +31,12 @@ public interface IvyApplicationListener extends java.util.EventListener {
* invoked when a peer request us to leave the bus
* @param client the peer
*/
- public abstract void die(IvyClient client, int id);
+ public abstract void die(IvyClient client, int id,String msgarg);
/**
* invoked when a peer sends us a direct message
* @param client the peer
* @param id
* @param msgarg the message itself
- * this is not yet implemented in java. I believe it has no real use :)
*/
public abstract void directMessage( IvyClient client, int id,String msgarg );
}