directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r584802 - /directory/apacheds/branches/bigbang/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/DatagramAcceptor.java
Date Mon, 15 Oct 2007 15:11:33 GMT
Author: akarasulu
Date: Mon Oct 15 08:11:31 2007
New Revision: 584802

URL: http://svn.apache.org/viewvc?rev=584802&view=rev
Log:
correcting djencks coding style and adding some javadocs to explain the purpose for this class

Modified:
    directory/apacheds/branches/bigbang/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/DatagramAcceptor.java

Modified: directory/apacheds/branches/bigbang/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/DatagramAcceptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/DatagramAcceptor.java?rev=584802&r1=584801&r2=584802&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/DatagramAcceptor.java
(original)
+++ directory/apacheds/branches/bigbang/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/DatagramAcceptor.java
Mon Oct 15 08:11:31 2007
@@ -16,10 +16,9 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-
-
 package org.apache.directory.server.protocol.shared;
 
+
 import java.io.IOException;
 import java.net.SocketAddress;
 import java.util.concurrent.Executor;
@@ -30,7 +29,10 @@
 import org.apache.mina.common.ThreadModel;
 import org.apache.mina.filter.executor.ExecutorFilter;
 
+
 /**
+ * Extension around a MINA DatagramAcceptor to facilitate better usage with Spring.
+ *
  * @version $Rev$ $Date$
  * @org.apache.xbean.XBean
  */
@@ -38,7 +40,8 @@
 {
     private static final int DEFAULT_THREADS = 10;
 
-    public DatagramAcceptor(Executor logicExecutor)
+
+    public DatagramAcceptor( Executor logicExecutor )
     {
         super();
         if ( logicExecutor == null )
@@ -48,11 +51,13 @@
         getFilterChain().addLast( "executor", new ExecutorFilter( logicExecutor ) );
     }
 
+
     public void bind( SocketAddress address, IoHandler ioHandler, IoServiceConfig udpConfig
) throws IOException
     {
         udpConfig.setThreadModel( ThreadModel.MANUAL );
         super.bind( address, ioHandler, udpConfig );
     }
+
 
     public void unbind( SocketAddress address )
     {



Mime
View raw message