[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting ...
Ron Sigal
ron_sigal at yahoo.com
Mon Sep 25 19:45:23 EDT 2006
User: rsigal
Date: 06/09/25 19:45:23
Modified: src/main/org/jboss/remoting ServerInvoker.java
Log:
JBREM-605: Processes internal invocation ACKNOWLEDGECALLBACK.
Revision Changes Path
1.50 +11 -1 JBossRemoting/src/main/org/jboss/remoting/ServerInvoker.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ServerInvoker.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/ServerInvoker.java,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -b -r1.49 -r1.50
--- ServerInvoker.java 22 Sep 2006 03:23:59 -0000 1.49
+++ ServerInvoker.java 25 Sep 2006 23:45:23 -0000 1.50
@@ -58,7 +58,7 @@
*
* @author <a href="mailto:jhaynie at vocalocity.net">Jeff Haynie</a>
* @author <a href="mailto:tom.elrod at jboss.com">Tom Elrod</a>
- * @version $Revision: 1.49 $
+ * @version $Revision: 1.50 $
*/
public abstract class ServerInvoker extends AbstractInvoker implements ServerInvokerMBean
{
@@ -1211,6 +1211,16 @@
result = callbackHandler.getCallbacks();
}
+ else if(InternalInvocation.ACKNOWLEDGECALLBACK.equals(methodName))
+ {
+ ServerInvokerCallbackHandler callbackHandler = getCallbackHandler(invocation);
+ if(isTraceEnabled)
+ {
+ log.trace("ServerInvoker (" + this + ") acknowledge callback on callback handler " + callbackHandler + ".");
+ }
+
+ callbackHandler.acknowledgeCallback(param);
+ }
else if(InternalInvocation.ADDCLIENTLISTENER.equals(methodName))
{
String sessionId = ServerInvokerCallbackHandler.getId(invocation);
More information about the jboss-cvs-commits
mailing list