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

Ron Sigal ron_sigal at yahoo.com
Fri Feb 2 21:11:54 EST 2007


  User: rsigal  
  Date: 07/02/02 21:11:54

  Modified:    src/main/org/jboss/remoting/transport/socket   Tag:
                        remoting_2_x MicroSocketClientInvoker.java
                        SocketClientInvoker.java
  Log:
  JBREM-690: Calls checkOpenConnection if socket wrapper implements OpenConnectionChecker.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.16.2.21 +5 -1      JBossRemoting/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: MicroSocketClientInvoker.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java,v
  retrieving revision 1.16.2.20
  retrieving revision 1.16.2.21
  diff -u -b -r1.16.2.20 -r1.16.2.21
  --- MicroSocketClientInvoker.java	31 Jan 2007 08:58:20 -0000	1.16.2.20
  +++ MicroSocketClientInvoker.java	3 Feb 2007 02:11:54 -0000	1.16.2.21
  @@ -35,7 +35,7 @@
    * @author <a href="mailto:telrod at e2technologies.net">Tom Elrod</a>
    * @author <a href="mailto:ovidiu at jboss.org">Ovidiu Feodorov</a>
    *
  - * @version $Revision: 1.16.2.20 $
  + * @version $Revision: 1.16.2.21 $
    */
   public class MicroSocketClientInvoker extends RemoteClientInvoker
   {
  @@ -819,6 +819,10 @@
            {
               if (socketWrapper != null)
               {
  +               if (socketWrapper instanceof OpenConnectionChecker)
  +               {
  +                  ((OpenConnectionChecker) socketWrapper).checkOpenConnection();
  +               }
                  if (shouldCheckConnection)
                  {
                     socketWrapper.checkConnection();
  
  
  
  1.38.2.5  +5 -1      JBossRemoting/src/main/org/jboss/remoting/transport/socket/SocketClientInvoker.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SocketClientInvoker.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/socket/SocketClientInvoker.java,v
  retrieving revision 1.38.2.4
  retrieving revision 1.38.2.5
  diff -u -b -r1.38.2.4 -r1.38.2.5
  --- SocketClientInvoker.java	29 Jan 2007 07:10:00 -0000	1.38.2.4
  +++ SocketClientInvoker.java	3 Feb 2007 02:11:54 -0000	1.38.2.5
  @@ -40,7 +40,7 @@
    *
    * @author <a href="mailto:jhaynie at vocalocity.net">Jeff Haynie</a>
    * @author <a href="mailto:telrod at e2technologies.net">Tom Elrod</a>
  - * @version $Revision: 1.38.2.4 $
  + * @version $Revision: 1.38.2.5 $
    */
   public class SocketClientInvoker extends MicroSocketClientInvoker
   {
  @@ -183,6 +183,10 @@
            {
               if (socketWrapper != null)
               {
  +               if (socketWrapper instanceof OpenConnectionChecker)
  +               {
  +                  ((OpenConnectionChecker) socketWrapper).checkOpenConnection();
  +               }
                  if (shouldCheckConnection)
                  {
                     socketWrapper.checkConnection();
  
  
  



More information about the jboss-cvs-commits mailing list