directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r158817 - in directory/network/trunk/src/java/org/apache/mina: io/IoHandlerFilter.java io/datagram/DatagramAcceptor.java io/datagram/DatagramConnector.java io/datagram/DatagramSession.java protocol/ProtocolHandlerFilter.java
Date Wed, 23 Mar 2005 18:21:44 GMT
Author: trustin
Date: Wed Mar 23 10:21:42 2005
New Revision: 158817

URL: http://svn.apache.org/viewcvs?view=rev&rev=158817
Log:
Removed unused fields and obsolete JavaDoc section.

Modified:
    directory/network/trunk/src/java/org/apache/mina/io/IoHandlerFilter.java
    directory/network/trunk/src/java/org/apache/mina/io/datagram/DatagramAcceptor.java
    directory/network/trunk/src/java/org/apache/mina/io/datagram/DatagramConnector.java
    directory/network/trunk/src/java/org/apache/mina/io/datagram/DatagramSession.java
    directory/network/trunk/src/java/org/apache/mina/protocol/ProtocolHandlerFilter.java

Modified: directory/network/trunk/src/java/org/apache/mina/io/IoHandlerFilter.java
URL: http://svn.apache.org/viewcvs/directory/network/trunk/src/java/org/apache/mina/io/IoHandlerFilter.java?view=diff&r1=158816&r2=158817
==============================================================================
--- directory/network/trunk/src/java/org/apache/mina/io/IoHandlerFilter.java (original)
+++ directory/network/trunk/src/java/org/apache/mina/io/IoHandlerFilter.java Wed Mar 23 10:21:42
2005
@@ -38,8 +38,6 @@
  * <strong>Please NEVER implement your filters to wrap
  * {@link IoSession}s.</strong> Users can cache the reference to the session,
  * which might malfunction if any filters are added or removed later.
- * Please implement {@link #filterWrite(IoSession,ByteBuffer)} method to
- * override {@link IoSession#write(ByteBuffer, Object)} method.
  * 
  * @author Trustin Lee (trustin@apache.org)
  * @version $Rev$, $Date$

Modified: directory/network/trunk/src/java/org/apache/mina/io/datagram/DatagramAcceptor.java
URL: http://svn.apache.org/viewcvs/directory/network/trunk/src/java/org/apache/mina/io/datagram/DatagramAcceptor.java?view=diff&r1=158816&r2=158817
==============================================================================
--- directory/network/trunk/src/java/org/apache/mina/io/datagram/DatagramAcceptor.java (original)
+++ directory/network/trunk/src/java/org/apache/mina/io/datagram/DatagramAcceptor.java Wed
Mar 23 10:21:42 2005
@@ -245,8 +245,7 @@
             DatagramChannel ch = ( DatagramChannel ) key.channel();
 
             DatagramSession session = new DatagramSession(
-                    DatagramAcceptor.this, filters, ch,
-                    ( IoHandler ) key.attachment() );
+                    filters, ch, ( IoHandler ) key.attachment() );
             session.setSelectionKey( key );
 
             if( key.isReadable() )

Modified: directory/network/trunk/src/java/org/apache/mina/io/datagram/DatagramConnector.java
URL: http://svn.apache.org/viewcvs/directory/network/trunk/src/java/org/apache/mina/io/datagram/DatagramConnector.java?view=diff&r1=158816&r2=158817
==============================================================================
--- directory/network/trunk/src/java/org/apache/mina/io/datagram/DatagramConnector.java (original)
+++ directory/network/trunk/src/java/org/apache/mina/io/datagram/DatagramConnector.java Wed
Mar 23 10:21:42 2005
@@ -373,7 +373,7 @@
             if( req == null )
                 break;
 
-            DatagramSession session = new DatagramSession( this,
+            DatagramSession session = new DatagramSession(
                     filters, req.channel, req.handler );
 
             SelectionKey key = req.channel.register( selector,

Modified: directory/network/trunk/src/java/org/apache/mina/io/datagram/DatagramSession.java
URL: http://svn.apache.org/viewcvs/directory/network/trunk/src/java/org/apache/mina/io/datagram/DatagramSession.java?view=diff&r1=158816&r2=158817
==============================================================================
--- directory/network/trunk/src/java/org/apache/mina/io/datagram/DatagramSession.java (original)
+++ directory/network/trunk/src/java/org/apache/mina/io/datagram/DatagramSession.java Wed
Mar 23 10:21:42 2005
@@ -38,8 +38,6 @@
  */
 class DatagramSession implements IoSession
 {
-    private final DatagramProcessor parent;
-
     private final DatagramFilterChain filters;
 
     private final DatagramChannel ch;
@@ -77,11 +75,9 @@
     /**
      * Creates a new instance.
      */
-    DatagramSession( DatagramProcessor parent,
-                    DatagramFilterChain filters, DatagramChannel ch,
-                    IoHandler defaultHandler )
+    DatagramSession( DatagramFilterChain filters, DatagramChannel ch,
+                     IoHandler defaultHandler )
     {
-        this.parent = parent;
         this.filters = filters;
         this.ch = ch;
         this.config = new DatagramSessionConfig( ch );

Modified: directory/network/trunk/src/java/org/apache/mina/protocol/ProtocolHandlerFilter.java
URL: http://svn.apache.org/viewcvs/directory/network/trunk/src/java/org/apache/mina/protocol/ProtocolHandlerFilter.java?view=diff&r1=158816&r2=158817
==============================================================================
--- directory/network/trunk/src/java/org/apache/mina/protocol/ProtocolHandlerFilter.java (original)
+++ directory/network/trunk/src/java/org/apache/mina/protocol/ProtocolHandlerFilter.java Wed
Mar 23 10:21:42 2005
@@ -35,8 +35,6 @@
  * <strong>Please NEVER implement your filters to wrap
  * {@link ProtocolSession}s.</strong> Users can cache the reference to the
  * session, which might malfunction if any filters are added or removed later.
- * Please implement {@link #filterWrite(ProtocolSession,Object)} method to
- * override {@link ProtocolSession#write(Object)} method.
  * 
  * @author Trustin Lee (trustin@apache.org)
  * @version $Rev$, $Date$



Mime
View raw message