tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject svn commit: r381483 - /tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/group/GroupChannel.java
Date Mon, 27 Feb 2006 23:21:12 GMT
Author: fhanik
Date: Mon Feb 27 15:21:09 2006
New Revision: 381483

URL: http://svn.apache.org/viewcvs?rev=381483&view=rev
Log:
Groupchannel must call accept before it calls messageReceived

Modified:
    tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/group/GroupChannel.java

Modified: tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/group/GroupChannel.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/group/GroupChannel.java?rev=381483&r1=381482&r2=381483&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/group/GroupChannel.java
(original)
+++ tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/group/GroupChannel.java
Mon Feb 27 15:21:09 2006
@@ -122,7 +122,8 @@
             } else {
                 fwd = XByteBuffer.deserialize(msg.getMessage());
             }
-            if ( channelListener != null ) channelListener.messageReceived(fwd,msg.getAddress());
+            if ( channelListener != null && channelListener.accept(fwd,msg.getAddress()))

+                channelListener.messageReceived(fwd,msg.getAddress());
         }catch ( Exception x ) {
             log.error("Unable to deserialize channel message.",x);
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message