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

Ron Sigal ron_sigal at yahoo.com
Tue Nov 20 22:55:52 EST 2007


  User: rsigal  
  Date: 07/11/20 22:55:52

  Modified:    src/main/org/jboss/remoting/transport/socket  Tag:
                        remoting_2_x ServerThread.java
  Log:
  JBREM-792:  Moved "$GET_CLIENT_LOCAL_ADDRESS$" functionality from ServerThread to ServerInvoker.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.29.2.28 +8 -16     JBossRemoting/src/main/org/jboss/remoting/transport/socket/ServerThread.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ServerThread.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/socket/ServerThread.java,v
  retrieving revision 1.29.2.27
  retrieving revision 1.29.2.28
  diff -u -b -r1.29.2.27 -r1.29.2.28
  --- ServerThread.java	20 Nov 2007 09:18:10 -0000	1.29.2.27
  +++ ServerThread.java	21 Nov 2007 03:55:52 -0000	1.29.2.28
  @@ -69,7 +69,7 @@
    * @author <a href="mailto:tom at jboss.org">Tom Elrod</a>
    * @author <a href="mailto:ovidiu at jboss.org">Ovidiu Feodorov</a>
    *
  - * @version $Revision: 1.29.2.27 $
  + * @version $Revision: 1.29.2.28 $
    */
   public class ServerThread extends Thread
   {
  @@ -572,13 +572,6 @@
   
            if(trace) { log.trace("about to call " + invoker + ".invoke()"); }
   
  -         // handle socket-specific invocations
  -         if ("$GET_CLIENT_LOCAL_ADDRESS$".equals(req.getParameter()))
  -         {
  -            resp = new InvocationResponse(req.getSessionId(), clientAddress, false, null);
  -         }
  -         else
  -         {
               if (req.getRequestPayload() == null)
                  req.setRequestPayload(new HashMap());
               
  @@ -586,7 +579,6 @@
               
                // call transport on the subclass, get the result to handback
               resp = invoker.invoke(req);
  -         }
   
            if(trace) { log.trace(invoker + ".invoke() returned " + resp); }
         }
  
  
  



More information about the jboss-cvs-commits mailing list