directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 43406 - in incubator/directory/seda/trunk: api/src/java/org/apache/seda/stage impl/src/java/org/apache/seda/listener impl/src/java/org/apache/seda/stage impl/src/test/org/apache/seda/listener
Date Mon, 06 Sep 2004 04:54:52 GMT
Author: akarasulu
Date: Sun Sep  5 21:54:51 2004
New Revision: 43406

Added:
   incubator/directory/seda/trunk/api/src/java/org/apache/seda/stage/DefaultStageConfig.java
      - copied, changed from rev 43404, incubator/directory/seda/trunk/impl/src/java/org/apache/seda/stage/DefaultStageConfig.java
   incubator/directory/seda/trunk/impl/src/java/org/apache/seda/listener/DefaultListenerConfig.java
      - copied, changed from rev 43404, incubator/directory/seda/trunk/impl/src/java/org/apache/seda/listener/DefaultServerListener.java
Removed:
   incubator/directory/seda/trunk/impl/src/java/org/apache/seda/listener/DefaultServerListener.java
   incubator/directory/seda/trunk/impl/src/java/org/apache/seda/stage/DefaultStageConfig.java
Modified:
   incubator/directory/seda/trunk/impl/src/test/org/apache/seda/listener/DefaultListenerManagerTest.java
Log:
Moving implementations without dependencies to api package.


Copied: incubator/directory/seda/trunk/api/src/java/org/apache/seda/stage/DefaultStageConfig.java
(from rev 43404, incubator/directory/seda/trunk/impl/src/java/org/apache/seda/stage/DefaultStageConfig.java)
==============================================================================
--- incubator/directory/seda/trunk/impl/src/java/org/apache/seda/stage/DefaultStageConfig.java
(original)
+++ incubator/directory/seda/trunk/api/src/java/org/apache/seda/stage/DefaultStageConfig.java
Sun Sep  5 21:54:51 2004
@@ -72,7 +72,6 @@
      * Creates a default stage configuration bean.
      * 
      * @param name the name of this Stage
-     * @param handler this Stage's handler 
      * @param predicates the enqueue predicates for this Stage
      * @param tp the thread pool used for this Stages workers
      */

Copied: incubator/directory/seda/trunk/impl/src/java/org/apache/seda/listener/DefaultListenerConfig.java
(from rev 43404, incubator/directory/seda/trunk/impl/src/java/org/apache/seda/listener/DefaultServerListener.java)
==============================================================================
--- incubator/directory/seda/trunk/impl/src/java/org/apache/seda/listener/DefaultServerListener.java
(original)
+++ incubator/directory/seda/trunk/impl/src/java/org/apache/seda/listener/DefaultListenerConfig.java
Sun Sep  5 21:54:51 2004
@@ -18,7 +18,6 @@
 
 
 import org.apache.seda.protocol.InetServiceEntry;
-import org.apache.seda.listener.ListenerConfig;
 
 
 /**
@@ -28,7 +27,7 @@
  * @author $LastChangedBy$
  * @version $LastChangedRevision$
  */
-public class DefaultServerListener implements ListenerConfig
+public class DefaultListenerConfig implements ListenerConfig
 {
     /** the connection backlog */
     private int backlog;
@@ -48,7 +47,7 @@
      * @param servEnt the inet service entry for the service this listner
      * provides
      */
-    public DefaultServerListener( byte[] a_address, int a_backlog,
+    public DefaultListenerConfig( byte[] a_address, int a_backlog,
                                   boolean a_isSecure, InetServiceEntry servEnt )
     {
         this.backlog = a_backlog;

Modified: incubator/directory/seda/trunk/impl/src/test/org/apache/seda/listener/DefaultListenerManagerTest.java
==============================================================================
--- incubator/directory/seda/trunk/impl/src/test/org/apache/seda/listener/DefaultListenerManagerTest.java
(original)
+++ incubator/directory/seda/trunk/impl/src/test/org/apache/seda/listener/DefaultListenerManagerTest.java
Sun Sep  5 21:54:51 2004
@@ -78,7 +78,7 @@
 
     public void testBind() throws Exception
     {
-        listener.bind( new DefaultServerListener( new byte[] { 127,0,0,1},
+        listener.bind( new DefaultListenerConfig( new byte[] { 127,0,0,1},
                 50, false, new InetServiceEntry( "ldap", 10389 ) ) );
     }
 
@@ -86,7 +86,7 @@
     public void testUnbind() throws Exception
     {
         ListenerConfig sl = new
-                DefaultServerListener( new byte[] { 127,0,0,1}, 50, false,
+                DefaultListenerConfig( new byte[] { 127,0,0,1}, 50, false,
                         new InetServiceEntry( "ldap", 10389 ) );
         listener.bind( sl ) ;
         listener.unbind( sl ) ;

Mime
View raw message