directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r325907 - in /directory/network: branches/0.7/src/java/org/apache/mina/util/BaseThreadPool.java branches/0.7/src/java/org/apache/mina/util/Event.java trunk/src/java/org/apache/mina/filter/ThreadPoolFilter.java
Date Mon, 17 Oct 2005 15:01:59 GMT
Author: trustin
Date: Mon Oct 17 08:01:52 2005
New Revision: 325907

URL: http://svn.apache.org/viewcvs?rev=325907&view=rev
Log:
* Added some getters to SessionBuffer
* Made Event public
* Made other inner classes in ThreadPoolFilter protected


Modified:
    directory/network/branches/0.7/src/java/org/apache/mina/util/BaseThreadPool.java
    directory/network/branches/0.7/src/java/org/apache/mina/util/Event.java
    directory/network/trunk/src/java/org/apache/mina/filter/ThreadPoolFilter.java

Modified: directory/network/branches/0.7/src/java/org/apache/mina/util/BaseThreadPool.java
URL: http://svn.apache.org/viewcvs/directory/network/branches/0.7/src/java/org/apache/mina/util/BaseThreadPool.java?rev=325907&r1=325906&r2=325907&view=diff
==============================================================================
--- directory/network/branches/0.7/src/java/org/apache/mina/util/BaseThreadPool.java (original)
+++ directory/network/branches/0.7/src/java/org/apache/mina/util/BaseThreadPool.java Mon Oct
17 08:01:52 2005
@@ -294,6 +294,16 @@
         {
             this.session = session;
         }
+        
+        public Session getSession()
+        {
+            return session;
+        }
+        
+        public Queue getEventQueue()
+        {
+            return eventQueue;
+        }
     }
 
     private class Worker extends Thread

Modified: directory/network/branches/0.7/src/java/org/apache/mina/util/Event.java
URL: http://svn.apache.org/viewcvs/directory/network/branches/0.7/src/java/org/apache/mina/util/Event.java?rev=325907&r1=325906&r2=325907&view=diff
==============================================================================
--- directory/network/branches/0.7/src/java/org/apache/mina/util/Event.java (original)
+++ directory/network/branches/0.7/src/java/org/apache/mina/util/Event.java Mon Oct 17 08:01:52
2005
@@ -25,7 +25,7 @@
  * @author Trustin Lee (trustin@apache.org)
  * @version $Rev$, $Date$
  */
-class Event
+public class Event
 {
     private final EventType type;
     private final Object nextFilter;

Modified: directory/network/trunk/src/java/org/apache/mina/filter/ThreadPoolFilter.java
URL: http://svn.apache.org/viewcvs/directory/network/trunk/src/java/org/apache/mina/filter/ThreadPoolFilter.java?rev=325907&r1=325906&r2=325907&view=diff
==============================================================================
--- directory/network/trunk/src/java/org/apache/mina/filter/ThreadPoolFilter.java (original)
+++ directory/network/trunk/src/java/org/apache/mina/filter/ThreadPoolFilter.java Mon Oct
17 08:01:52 2005
@@ -257,6 +257,16 @@
         {
             this.session = session;
         }
+        
+        public IoSession getSession()
+        {
+            return session;
+        }
+        
+        public Queue getEventQueue()
+        {
+            return eventQueue;
+        }
     }
 
     private class Worker extends Thread
@@ -487,7 +497,7 @@
         }
     }
 
-    private static class EventType
+    protected static class EventType
     {
         public static final EventType OPENED = new EventType( "OPENED" );
 
@@ -518,7 +528,7 @@
         }
     }
     
-    private static class Event
+    protected static class Event
     {
         private final EventType type;
         private final NextFilter nextFilter;



Mime
View raw message