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

Timothy Fox tim.fox at jboss.com
Thu Feb 1 15:23:08 EST 2007


  User: timfox  
  Date: 07/02/01 15:23:08

  Modified:    src/main/org/jboss/remoting/transport/socket  Tag:
                        remoting_2_x ServerThread.java
  Log:
  Reverted change to wrapping PING
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.29.2.15 +5 -11     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.14
  retrieving revision 1.29.2.15
  diff -u -b -r1.29.2.14 -r1.29.2.15
  --- ServerThread.java	31 Jan 2007 20:22:08 -0000	1.29.2.14
  +++ ServerThread.java	1 Feb 2007 20:23:08 -0000	1.29.2.15
  @@ -64,7 +64,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.14 $
  + * @version $Revision: 1.29.2.15 $
    */
   public class ServerThread extends Thread
   {
  @@ -571,16 +571,10 @@
         {
            if(!createdInvocationRequest)
            {
  -            // In the case of a pong - the response will ALREADY be an InvocationResponse
  -            // so we don't want to wrap it again in another InvocationResponse!
  -            
  -            if (!(resp instanceof InvocationResponse))
  -            {               
                  // need to return invocation response
                  if(trace) { log.trace("creating response instance"); }
                  resp = new InvocationResponse(req.getSessionId(), resp, isError, req.getReturnPayload());
               }
  -         }
   
            OutputStream outputStream = socketWrapper.getOutputStream();
            if (performVersioning)
  
  
  



More information about the jboss-cvs-commits mailing list