directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 1365 - incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event
Date Sat, 06 Dec 2003 05:20:08 GMT
Author: akarasulu
Date: Fri Dec  5 21:20:07 2003
New Revision: 1365

Modified:
   incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event/ClientEvent.java
   incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event/ConnectEvent.java
   incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event/DisconnectEvent.java
   incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event/SessionCreationEvent.java
   incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event/SessionDestructionEvent.java
   incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event/Subscriber.java
Log:
reverted to the classic notification pattern

Modified: incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event/ClientEvent.java
==============================================================================
--- incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event/ClientEvent.java
(original)
+++ incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event/ClientEvent.java
Fri Dec  5 21:20:07 2003
@@ -50,6 +50,8 @@
 package org.apache.eve.event ;
 
 
+import java.util.EventObject ;
+
 import org.apache.eve.listener.ClientKey ;
 
 
@@ -60,7 +62,7 @@
  * @author $Author$
  * @version $Revision$
  */
-public abstract class ClientEvent extends Event
+public abstract class ClientEvent extends EventObject
 {
     /** the unique client identifier */
     private final ClientKey m_clientKey ;
@@ -70,13 +72,11 @@
      * Creates a client based event using a unique client key.
      * 
      * @param a_source the source that generated this event
-     * @param a_type the event type
      * @param a_clientKey the client's read client key
      */
-    public ClientEvent( Object a_source, EventType a_type,  
-                        ClientKey a_clientKey )
+    public ClientEvent( Object a_source, ClientKey a_clientKey )
     {
-        super( a_source, a_type ) ;
+        super( a_source ) ;
         m_clientKey = a_clientKey ;
     }
 

Modified: incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event/ConnectEvent.java
==============================================================================
--- incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event/ConnectEvent.java
(original)
+++ incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event/ConnectEvent.java
Fri Dec  5 21:20:07 2003
@@ -72,6 +72,6 @@
      */
     public ConnectEvent( Object a_source, ClientKey a_clientKey ) 
     {
-        super( a_source, EventType.CONNECT_EVENT, a_clientKey ) ;
+        super( a_source, a_clientKey ) ;
     }
 }

Modified: incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event/DisconnectEvent.java
==============================================================================
--- incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event/DisconnectEvent.java
(original)
+++ incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event/DisconnectEvent.java
Fri Dec  5 21:20:07 2003
@@ -73,6 +73,6 @@
      */
     public DisconnectEvent( Object a_source, ClientKey a_clientKey )
     {
-        super( a_source, EventType.DISCONNECT_EVENT, a_clientKey ) ;
+        super( a_source, a_clientKey ) ;
     }
 }

Modified: incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event/SessionCreationEvent.java
==============================================================================
--- incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event/SessionCreationEvent.java
(original)
+++ incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event/SessionCreationEvent.java
Fri Dec  5 21:20:07 2003
@@ -78,8 +78,7 @@
      */
     public SessionCreationEvent( Object a_source, ClientSession a_session )
     {
-        super( a_source, EventType.SESSION_CREATION_EVENT, 
-               a_session.getClientKey() ) ;
+        super( a_source, a_session.getClientKey() ) ;
         m_session = a_session ;
     }
 

Modified: incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event/SessionDestructionEvent.java
==============================================================================
--- incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event/SessionDestructionEvent.java
(original)
+++ incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event/SessionDestructionEvent.java
Fri Dec  5 21:20:07 2003
@@ -78,8 +78,7 @@
      */
     public SessionDestructionEvent( Object a_source, ClientSession a_session )
     {
-        super( a_source, EventType.SESSION_CREATION_EVENT,  
-               a_session.getClientKey() ) ;
+        super( a_source, a_session.getClientKey() ) ;
         m_session = a_session ;
     }
 

Modified: incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event/Subscriber.java
==============================================================================
--- incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event/Subscriber.java
(original)
+++ incubator/directory/ldap/trunk/eve/frontend/common/api/src/java/org/apache/eve/event/Subscriber.java
Fri Dec  5 21:20:07 2003
@@ -50,6 +50,7 @@
 package org.apache.eve.event ;
 
 
+import java.util.EventObject ;
 import java.util.EventListener ;
 
 
@@ -69,5 +70,5 @@
      * 
      * @param a_event the event notified of 
      */
-    void inform( Event a_event ) ;
+    void inform( EventObject a_event ) ;
 }

Mime
View raw message