avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/altrmi/src/java/org/apache/excalibur/altrmi/client/impl AbstractConnectionPinger.java
Date Fri, 23 Aug 2002 10:03:03 GMT
leif        2002/08/23 03:03:03

  Modified:    altrmi/src/java/org/apache/excalibur/altrmi/client/impl
                        AbstractConnectionPinger.java
  Log:
  Needed to be catching and ignoring the AltrmiInvocationException as well.
  
  Revision  Changes    Path
  1.6       +10 -1     jakarta-avalon-excalibur/altrmi/src/java/org/apache/excalibur/altrmi/client/impl/AbstractConnectionPinger.java
  
  Index: AbstractConnectionPinger.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/src/java/org/apache/excalibur/altrmi/client/impl/AbstractConnectionPinger.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- AbstractConnectionPinger.java	23 Aug 2002 09:36:17 -0000	1.5
  +++ AbstractConnectionPinger.java	23 Aug 2002 10:03:03 -0000	1.6
  @@ -10,6 +10,7 @@
   import org.apache.excalibur.altrmi.client.AltrmiClientInvocationHandler;
   import org.apache.excalibur.altrmi.client.AltrmiConnectionPinger;
   import org.apache.excalibur.altrmi.common.AltrmiConnectionClosedException;
  +import org.apache.excalibur.altrmi.common.AltrmiInvocationException;
   
   /**
    * Interface DefaultConnectionPinger
  @@ -101,6 +102,14 @@
                   Thread.sleep( mPingInterval );
                   ping();
               }
  +        }
  +        catch( AltrmiInvocationException ie )
  +        {
  +            // We really need a logger or something to be able to see this
  +            //  for debugging.
  +            //System.out.println( "Pinger Connection closed" );
  +
  +            // no need to ping anymore.
           }
           catch( AltrmiConnectionClosedException cce )
           {
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message