directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r122733 - /incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/IoAdapter.java /incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/ProtocolSession.java
Date Sun, 19 Dec 2004 02:46:14 GMT
Author: trustin
Date: Sat Dec 18 18:46:13 2004
New Revision: 122733

URL: http://svn.apache.org/viewcvs?view=rev&rev=122733
Log:
 * Added access to encoder and decoder from ProtocolSession for the case when user wants to
interact with encoer and decoder.
Modified:
   incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/IoAdapter.java
   incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/ProtocolSession.java

Modified: incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/IoAdapter.java
Url: http://svn.apache.org/viewcvs/incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/IoAdapter.java?view=diff&rev=122733&p1=incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/IoAdapter.java&r1=122732&p2=incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/IoAdapter.java&r2=122733
==============================================================================
--- incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/IoAdapter.java
(original)
+++ incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/IoAdapter.java
Sat Dec 18 18:46:13 2004
@@ -214,6 +214,16 @@
         {
             return adapter.handler;
         }
+        
+        public ProtocolEncoder getEncoder()
+        {
+            return adapter.encoder;
+        }
+        
+        public ProtocolDecoder getDecoder()
+        {
+            return adapter.decoder;
+        }
 
         public void close()
         {

Modified: incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/ProtocolSession.java
Url: http://svn.apache.org/viewcvs/incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/ProtocolSession.java?view=diff&rev=122733&p1=incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/ProtocolSession.java&r1=122732&p2=incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/ProtocolSession.java&r2=122733
==============================================================================
--- incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/ProtocolSession.java
(original)
+++ incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/ProtocolSession.java
Sat Dec 18 18:46:13 2004
@@ -32,6 +32,10 @@
 public interface ProtocolSession
 {
     ProtocolHandler getHandler();
+    
+    ProtocolEncoder getEncoder();
+    
+    ProtocolDecoder getDecoder();
    
     void close();
 

Mime
View raw message