directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r464828 - in /directory/trunks/mina/core/src: main/java/org/apache/mina/common/ main/java/org/apache/mina/common/support/ main/java/org/apache/mina/transport/socket/nio/ main/java/org/apache/mina/transport/socket/nio/support/ main/java/org/...
Date Tue, 17 Oct 2006 06:36:02 GMT
Author: trustin
Date: Mon Oct 16 23:36:01 2006
New Revision: 464828

URL: http://svn.apache.org/viewvc?view=rev&rev=464828
Log:
Resolved issue: DIRMINA-286 (Remove IoSession.writtenWriteRequests and Rename IoSession.scheduledWriteRequests)
* Removed IoSession.getWrittenWriteRequests() and replaced it with getWrittenMessages()
* Renamed IoSession.getScheduledWriteRequets into getScheduledWriteMessages()



Modified:
    directory/trunks/mina/core/src/main/java/org/apache/mina/common/IoSession.java
    directory/trunks/mina/core/src/main/java/org/apache/mina/common/support/BaseIoSession.java
    directory/trunks/mina/core/src/main/java/org/apache/mina/transport/socket/nio/SocketSessionImpl.java
    directory/trunks/mina/core/src/main/java/org/apache/mina/transport/socket/nio/support/DatagramSessionImpl.java
    directory/trunks/mina/core/src/main/java/org/apache/mina/transport/vmpipe/support/VmPipeSessionImpl.java
    directory/trunks/mina/core/src/test/java/org/apache/mina/common/IoFilterChainTest.java
    directory/trunks/mina/core/src/test/java/org/apache/mina/common/support/FutureTest.java
    directory/trunks/mina/core/src/test/java/org/apache/mina/common/support/IoServiceListenerSupportTest.java
    directory/trunks/mina/core/src/test/java/org/apache/mina/filter/codec/CumulativeProtocolDecoderTest.java
    directory/trunks/mina/core/src/test/java/org/apache/mina/filter/codec/textline/TextLineDecoderTest.java
    directory/trunks/mina/core/src/test/java/org/apache/mina/filter/codec/textline/TextLineEncoderTest.java
    directory/trunks/mina/core/src/test/java/org/apache/mina/filter/executor/ExecutorFilterRegressionTest.java
    directory/trunks/mina/core/src/test/java/org/apache/mina/handler/chain/ChainedIoHandlerTest.java

Modified: directory/trunks/mina/core/src/main/java/org/apache/mina/common/IoSession.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/core/src/main/java/org/apache/mina/common/IoSession.java?view=diff&rev=464828&r1=464827&r2=464828
==============================================================================
--- directory/trunks/mina/core/src/main/java/org/apache/mina/common/IoSession.java (original)
+++ directory/trunks/mina/core/src/main/java/org/apache/mina/common/IoSession.java Mon Oct
16 23:36:01 2006
@@ -280,15 +280,9 @@
     long getWrittenMessages();
 
     /**
-     * Returns the total number of write requests which were written to this session.
+     * Returns the number of messages which are scheduled to be written to this session.
      */
-    long getWrittenWriteRequests();
-    
-    /**
-     * Returns the number of write requests which are scheduled to be written
-     * to this session.
-     */
-    int getScheduledWriteRequests();
+    int getScheduledWriteMessages();
 
     /**
      * Returns the number of bytes which are scheduled to be written to this

Modified: directory/trunks/mina/core/src/main/java/org/apache/mina/common/support/BaseIoSession.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/core/src/main/java/org/apache/mina/common/support/BaseIoSession.java?view=diff&rev=464828&r1=464827&r2=464828
==============================================================================
--- directory/trunks/mina/core/src/main/java/org/apache/mina/common/support/BaseIoSession.java
(original)
+++ directory/trunks/mina/core/src/main/java/org/apache/mina/common/support/BaseIoSession.java
Mon Oct 16 23:36:01 2006
@@ -329,11 +329,6 @@
         return writtenBytes;
     }
     
-    public long getWrittenWriteRequests()
-    {
-        return writtenMessages;
-    }
-    
     public long getReadMessages()
     {
         return readMessages;

Modified: directory/trunks/mina/core/src/main/java/org/apache/mina/transport/socket/nio/SocketSessionImpl.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/core/src/main/java/org/apache/mina/transport/socket/nio/SocketSessionImpl.java?view=diff&rev=464828&r1=464827&r2=464828
==============================================================================
--- directory/trunks/mina/core/src/main/java/org/apache/mina/transport/socket/nio/SocketSessionImpl.java
(original)
+++ directory/trunks/mina/core/src/main/java/org/apache/mina/transport/socket/nio/SocketSessionImpl.java
Mon Oct 16 23:36:01 2006
@@ -165,7 +165,7 @@
         return writeRequestQueue;
     }
 
-    public int getScheduledWriteRequests()
+    public int getScheduledWriteMessages()
     {
         synchronized( writeRequestQueue )
         {

Modified: directory/trunks/mina/core/src/main/java/org/apache/mina/transport/socket/nio/support/DatagramSessionImpl.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/core/src/main/java/org/apache/mina/transport/socket/nio/support/DatagramSessionImpl.java?view=diff&rev=464828&r1=464827&r2=464828
==============================================================================
--- directory/trunks/mina/core/src/main/java/org/apache/mina/transport/socket/nio/support/DatagramSessionImpl.java
(original)
+++ directory/trunks/mina/core/src/main/java/org/apache/mina/transport/socket/nio/support/DatagramSessionImpl.java
Mon Oct 16 23:36:01 2006
@@ -178,7 +178,7 @@
         filterChain.fireFilterWrite( this, writeRequest );
     }
 
-    public int getScheduledWriteRequests()
+    public int getScheduledWriteMessages()
     {
         synchronized( writeRequestQueue )
         {

Modified: directory/trunks/mina/core/src/main/java/org/apache/mina/transport/vmpipe/support/VmPipeSessionImpl.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/core/src/main/java/org/apache/mina/transport/vmpipe/support/VmPipeSessionImpl.java?view=diff&rev=464828&r1=464827&r2=464828
==============================================================================
--- directory/trunks/mina/core/src/main/java/org/apache/mina/transport/vmpipe/support/VmPipeSessionImpl.java
(original)
+++ directory/trunks/mina/core/src/main/java/org/apache/mina/transport/vmpipe/support/VmPipeSessionImpl.java
Mon Oct 16 23:36:01 2006
@@ -139,7 +139,7 @@
         this.filterChain.fireFilterWrite( this, writeRequest );
     }
 
-    public int getScheduledWriteRequests()
+    public int getScheduledWriteMessages()
     {
         return 0;
     }

Modified: directory/trunks/mina/core/src/test/java/org/apache/mina/common/IoFilterChainTest.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/core/src/test/java/org/apache/mina/common/IoFilterChainTest.java?view=diff&rev=464828&r1=464827&r2=464828
==============================================================================
--- directory/trunks/mina/core/src/test/java/org/apache/mina/common/IoFilterChainTest.java
(original)
+++ directory/trunks/mina/core/src/test/java/org/apache/mina/common/IoFilterChainTest.java
Mon Oct 16 23:36:01 2006
@@ -282,7 +282,7 @@
             };
         }
 
-        public int getScheduledWriteRequests()
+        public int getScheduledWriteMessages()
         {
             return 0;
         }
@@ -430,7 +430,7 @@
                     return null;
                 }
 
-                public int getScheduledWriteRequests()
+                public int getScheduledWriteMessages()
                 {
                     return 0;
                 }

Modified: directory/trunks/mina/core/src/test/java/org/apache/mina/common/support/FutureTest.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/core/src/test/java/org/apache/mina/common/support/FutureTest.java?view=diff&rev=464828&r1=464827&r2=464828
==============================================================================
--- directory/trunks/mina/core/src/test/java/org/apache/mina/common/support/FutureTest.java
(original)
+++ directory/trunks/mina/core/src/test/java/org/apache/mina/common/support/FutureTest.java
Mon Oct 16 23:36:01 2006
@@ -96,7 +96,7 @@
                 return null;
             }
 
-            public int getScheduledWriteRequests()
+            public int getScheduledWriteMessages()
             {
                 return 0;
             }

Modified: directory/trunks/mina/core/src/test/java/org/apache/mina/common/support/IoServiceListenerSupportTest.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/core/src/test/java/org/apache/mina/common/support/IoServiceListenerSupportTest.java?view=diff&rev=464828&r1=464827&r2=464828
==============================================================================
--- directory/trunks/mina/core/src/test/java/org/apache/mina/common/support/IoServiceListenerSupportTest.java
(original)
+++ directory/trunks/mina/core/src/test/java/org/apache/mina/common/support/IoServiceListenerSupportTest.java
Mon Oct 16 23:36:01 2006
@@ -317,7 +317,7 @@
             return 0;
         }
 
-        public int getScheduledWriteRequests()
+        public int getScheduledWriteMessages()
         {
             return 0;
         }

Modified: directory/trunks/mina/core/src/test/java/org/apache/mina/filter/codec/CumulativeProtocolDecoderTest.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/core/src/test/java/org/apache/mina/filter/codec/CumulativeProtocolDecoderTest.java?view=diff&rev=464828&r1=464827&r2=464828
==============================================================================
--- directory/trunks/mina/core/src/test/java/org/apache/mina/filter/codec/CumulativeProtocolDecoderTest.java
(original)
+++ directory/trunks/mina/core/src/test/java/org/apache/mina/filter/codec/CumulativeProtocolDecoderTest.java
Mon Oct 16 23:36:01 2006
@@ -213,7 +213,7 @@
             return null;
         }
 
-        public int getScheduledWriteRequests()
+        public int getScheduledWriteMessages()
         {
             return 0;
         }

Modified: directory/trunks/mina/core/src/test/java/org/apache/mina/filter/codec/textline/TextLineDecoderTest.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/core/src/test/java/org/apache/mina/filter/codec/textline/TextLineDecoderTest.java?view=diff&rev=464828&r1=464827&r2=464828
==============================================================================
--- directory/trunks/mina/core/src/test/java/org/apache/mina/filter/codec/textline/TextLineDecoderTest.java
(original)
+++ directory/trunks/mina/core/src/test/java/org/apache/mina/filter/codec/textline/TextLineDecoderTest.java
Mon Oct 16 23:36:01 2006
@@ -223,7 +223,7 @@
             return null;
         }
 
-        public int getScheduledWriteRequests()
+        public int getScheduledWriteMessages()
         {
             return 0;
         }

Modified: directory/trunks/mina/core/src/test/java/org/apache/mina/filter/codec/textline/TextLineEncoderTest.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/core/src/test/java/org/apache/mina/filter/codec/textline/TextLineEncoderTest.java?view=diff&rev=464828&r1=464827&r2=464828
==============================================================================
--- directory/trunks/mina/core/src/test/java/org/apache/mina/filter/codec/textline/TextLineEncoderTest.java
(original)
+++ directory/trunks/mina/core/src/test/java/org/apache/mina/filter/codec/textline/TextLineEncoderTest.java
Mon Oct 16 23:36:01 2006
@@ -116,7 +116,7 @@
             return null;
         }
 
-        public int getScheduledWriteRequests()
+        public int getScheduledWriteMessages()
         {
             return 0;
         }

Modified: directory/trunks/mina/core/src/test/java/org/apache/mina/filter/executor/ExecutorFilterRegressionTest.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/core/src/test/java/org/apache/mina/filter/executor/ExecutorFilterRegressionTest.java?view=diff&rev=464828&r1=464827&r2=464828
==============================================================================
--- directory/trunks/mina/core/src/test/java/org/apache/mina/filter/executor/ExecutorFilterRegressionTest.java
(original)
+++ directory/trunks/mina/core/src/test/java/org/apache/mina/filter/executor/ExecutorFilterRegressionTest.java
Mon Oct 16 23:36:01 2006
@@ -147,7 +147,7 @@
             return null;
         }
 
-        public int getScheduledWriteRequests()
+        public int getScheduledWriteMessages()
         {
             return 0;
         }

Modified: directory/trunks/mina/core/src/test/java/org/apache/mina/handler/chain/ChainedIoHandlerTest.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/core/src/test/java/org/apache/mina/handler/chain/ChainedIoHandlerTest.java?view=diff&rev=464828&r1=464827&r2=464828
==============================================================================
--- directory/trunks/mina/core/src/test/java/org/apache/mina/handler/chain/ChainedIoHandlerTest.java
(original)
+++ directory/trunks/mina/core/src/test/java/org/apache/mina/handler/chain/ChainedIoHandlerTest.java
Mon Oct 16 23:36:01 2006
@@ -96,7 +96,7 @@
                         return null;
                     }
 
-                    public int getScheduledWriteRequests()
+                    public int getScheduledWriteMessages()
                     {
                         return 0;
                     }



Mime
View raw message