directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r370958 - in /directory/sandbox/trustin/mina-spi/core/src/main/java/org/apache/mina/common: ./ support/
Date Sat, 21 Jan 2006 02:20:21 GMT
Author: trustin
Date: Fri Jan 20 18:20:17 2006
New Revision: 370958

URL: http://svn.apache.org/viewcvs?rev=370958&view=rev
Log:
* Fixed some compilation errors
* Removed unused classes

Removed:
    directory/sandbox/trustin/mina-spi/core/src/main/java/org/apache/mina/common/support/BaseIoAcceptor.java
    directory/sandbox/trustin/mina-spi/core/src/main/java/org/apache/mina/common/support/BaseIoConnector.java
    directory/sandbox/trustin/mina-spi/core/src/main/java/org/apache/mina/common/support/DelegatedIoAcceptor.java
    directory/sandbox/trustin/mina-spi/core/src/main/java/org/apache/mina/common/support/DelegatedIoConnector.java
Modified:
    directory/sandbox/trustin/mina-spi/core/src/main/java/org/apache/mina/common/IoServiceProvider.java
    directory/sandbox/trustin/mina-spi/core/src/main/java/org/apache/mina/common/MINA.java

Modified: directory/sandbox/trustin/mina-spi/core/src/main/java/org/apache/mina/common/IoServiceProvider.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trustin/mina-spi/core/src/main/java/org/apache/mina/common/IoServiceProvider.java?rev=370958&r1=370957&r2=370958&view=diff
==============================================================================
--- directory/sandbox/trustin/mina-spi/core/src/main/java/org/apache/mina/common/IoServiceProvider.java
(original)
+++ directory/sandbox/trustin/mina-spi/core/src/main/java/org/apache/mina/common/IoServiceProvider.java
Fri Jan 20 18:20:17 2006
@@ -19,7 +19,6 @@
 package org.apache.mina.common;
 
 import java.io.IOException;
-import java.net.SocketAddress;
 import java.util.Collection;
 
 /**
@@ -46,13 +45,13 @@
          *            {@link IoFilterChain} of a newly created {@link IoSession}
          * @throws IOException if failed to bind
          */
-        void bind( SocketAddress address, IoHandler handler, IoFilterChainBuilder filterChainBuilder
) throws IOException;
+        void bind( IoAddress address, IoHandler handler, IoFilterChainBuilder filterChainBuilder
) throws IOException;
 
         /**
          * Unbinds from the specified <code>address</code> and disconnects all
clients
          * connected there.
          */
-        void unbind( SocketAddress address );
+        void unbind( IoAddress address );
         
         /**
          * Returns all sessions currently connected to the specified local address.
@@ -66,13 +65,13 @@
          *         for the particular transport type implemented by this 
          *         {@link IoAcceptor}.
          */
-        Collection getManagedSessions( SocketAddress address );
+        Collection getManagedSessions( IoAddress address );
         
         /**
          * (Optional) Returns an {@link IoSession} that is bound to the specified
          * <tt>localAddress</tt> and <tt>remoteAddress</tt> which
reuses
          * the <tt>localAddress</tt> that is already bound by {@link IoAcceptor}
-         * via {@link #bind(SocketAddress, IoHandler)}.
+         * via {@link #bind(IoAddress, IoHandler)}.
          * <p>
          * This operation is optional.  Please throw {@link UnsupportedOperationException}
          * if the transport type doesn't support this operation.  This operation is
@@ -80,9 +79,9 @@
          * 
          * @throws UnsupportedOperationException if this operation is not supported
          * @throws IllegalArgumentException if the specified <tt>localAddress</tt>
is
-         *                                  not bound yet. (see {@link #bind(SocketAddress,
IoHandler)})
+         *                                  not bound yet. (see {@link #bind(IoAddress, IoHandler)})
          */
-        IoSession newSession( SocketAddress remoteAddress, SocketAddress localAddress );
+        IoSession newSession( IoAddress remoteAddress, IoAddress localAddress );
     }
     
     public interface IoConnector
@@ -97,7 +96,7 @@
          *            {@link IoFilterChain} of a newly created {@link IoSession}
          * @return {@link ConnectFuture} that will tell the result of the connection attempt
          */
-        ConnectFuture connect( SocketAddress address, SocketAddress localAddress,
+        ConnectFuture connect( IoAddress address, IoAddress localAddress,
                                IoHandler handler, IoFilterChainBuilder filterChainBuilder
);
     }
 }

Modified: directory/sandbox/trustin/mina-spi/core/src/main/java/org/apache/mina/common/MINA.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trustin/mina-spi/core/src/main/java/org/apache/mina/common/MINA.java?rev=370958&r1=370957&r2=370958&view=diff
==============================================================================
--- directory/sandbox/trustin/mina-spi/core/src/main/java/org/apache/mina/common/MINA.java
(original)
+++ directory/sandbox/trustin/mina-spi/core/src/main/java/org/apache/mina/common/MINA.java
Fri Jan 20 18:20:17 2006
@@ -26,6 +26,8 @@
 import java.util.Map;
 import java.util.Set;
 
+import org.apache.mina.common.IoServiceProvider.IoAcceptor;
+import org.apache.mina.common.IoServiceProvider.IoConnector;
 import org.apache.mina.common.support.discovery.tools.Service;
 import org.apache.mina.util.IdentityHashSet;
 



Mime
View raw message