[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting ...

Ron Sigal ron_sigal at yahoo.com
Wed Aug 15 13:32:30 EDT 2007


  User: rsigal  
  Date: 07/08/15 13:32:30

  Modified:    src/main/org/jboss/remoting  Tag: remoting_2_2_0_GA
                        ServerInvoker.java
  Log:
  JBREM-781:  Responds to "$GET_CLIENT_LOCAL_ADDRESS$" request.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.52.2.28.4.3 +7 -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.52.2.28.4.2
  retrieving revision 1.52.2.28.4.3
  diff -u -b -r1.52.2.28.4.2 -r1.52.2.28.4.3
  --- ServerInvoker.java	8 Aug 2007 00:18:02 -0000	1.52.2.28.4.2
  +++ ServerInvoker.java	15 Aug 2007 17:32:30 -0000	1.52.2.28.4.3
  @@ -67,7 +67,7 @@
    * @author <a href="mailto:tom.elrod at jboss.com">Tom Elrod</a>
    * @author <a href="mailto:ovidiu at jboss.org">Ovidiu Feodorov</a>
    *
  - * @version $Revision: 1.52.2.28.4.2 $
  + * @version $Revision: 1.52.2.28.4.3 $
    */
   public abstract class ServerInvoker extends AbstractInvoker implements ServerInvokerMBean
   {
  @@ -664,6 +664,12 @@
               return ir;
            }
   
  +         if ("$GET_CLIENT_LOCAL_ADDRESS$".equals(param))
  +         {
  +             // must be handled upstream by socket-specific code, return a null response here
  +             return new InvocationResponse(invocation.getSessionId(),  null, false, null);
  +         }
  +
            if ("$DISCONNECT$".equals(param))
            {
               if (leaseManagement)
  
  
  



More information about the jboss-cvs-commits mailing list