aboutsummaryrefslogtreecommitdiff
path: root/src/IvyApplicationListener.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/IvyApplicationListener.java')
-rwxr-xr-xsrc/IvyApplicationListener.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/IvyApplicationListener.java b/src/IvyApplicationListener.java
index 2dac989..7f7ad3f 100755
--- a/src/IvyApplicationListener.java
+++ b/src/IvyApplicationListener.java
@@ -11,6 +11,8 @@ package fr.dgac.ivy;
* bus: connexion, disconnexion, direct messages or requests to quit.
*
* Changelog:
+ * 1.2.8
+ * - removed the public abstract modifiers, which are redundant
* 1.2.4
* - sendDie now requires a String argument ! It is MANDATORY, and could
* impact your implementations !
@@ -21,17 +23,17 @@ public interface IvyApplicationListener extends java.util.EventListener {
* invoked when a Ivy Client has joined the bus
* @param client the peer
*/
- public abstract void connect(IvyClient client);
+ void connect(IvyClient client);
/**
* invoked when a Ivy Client has left the bus
* @param client the peer
*/
- public abstract void disconnect(IvyClient client);
+ void disconnect(IvyClient client);
/**
* invoked when a peer request us to leave the bus
* @param client the peer
*/
- public abstract void die(IvyClient client, int id,String msgarg);
+ void die(IvyClient client, int id,String msgarg);
/**
* invoked when a peer sends us a direct message
* @param client the peer
@@ -43,5 +45,5 @@ public interface IvyApplicationListener extends java.util.EventListener {
* poor style to enforce the end of a program with System.exit(), you should
* consider terminating all threads ( AWT, etc )
*/
- public abstract void directMessage( IvyClient client, int id,String msgarg );
+ void directMessage( IvyClient client, int id,String msgarg );
}