directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pro...@apache.org
Subject svn commit: r447596 - /directory/trunks/mina/core/src/main/java/org/apache/mina/filter/codec/ProtocolCodecFilter.java
Date Mon, 18 Sep 2006 22:14:43 GMT
Author: proyal
Date: Mon Sep 18 15:14:42 2006
New Revision: 447596

URL: http://svn.apache.org/viewvc?view=rev&rev=447596
Log:
DIRMINA-268 - acq/release on the MessageBB does nothing.

Modified:
    directory/trunks/mina/core/src/main/java/org/apache/mina/filter/codec/ProtocolCodecFilter.java

Modified: directory/trunks/mina/core/src/main/java/org/apache/mina/filter/codec/ProtocolCodecFilter.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/core/src/main/java/org/apache/mina/filter/codec/ProtocolCodecFilter.java?view=diff&rev=447596&r1=447595&r2=447596
==============================================================================
--- directory/trunks/mina/core/src/main/java/org/apache/mina/filter/codec/ProtocolCodecFilter.java
(original)
+++ directory/trunks/mina/core/src/main/java/org/apache/mina/filter/codec/ProtocolCodecFilter.java
Mon Sep 18 15:14:42 2006
@@ -377,6 +377,16 @@
             super( EMPTY_BUFFER );
             this.message = message;
         }
+
+        public void acquire()
+        {
+            // no-op since we are wraping a zero-byte buffer, this instance is to just curry
the message
+        }
+
+        public void release()
+        {
+            // no-op since we are wraping a zero-byte buffer, this instance is to just curry
the message
+        }
     }
     
     private static class ProtocolEncoderOutputImpl extends SimpleProtocolEncoderOutput



Mime
View raw message