[jboss-dev-forums] [Design of JBoss Remoting, Unified Invokers] - Re: Remoting 3: Transporters

david.lloyd@jboss.com do-not-reply at jboss.com
Wed Nov 19 09:40:36 EST 2008


"trustin" wrote : A couple findings:
  | 
  | 1) TransporterInvocation.readExternal(...) doesn't update the member variables but only the local final ones.

Yup, that's a bug.  Fixing now...

"trustin" wrote : 2) TransporterInvocation.writeExternal(...) checks if the length values of parameterTypes and args are same, but I think this code should be moved to readExternal(...).

This is intentional.  Only one length is written for both arrays, so it's checked on the write side.  On the read side, they cannot differ since only one length is read.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4190513#4190513

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4190513



More information about the jboss-dev-forums mailing list