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

Ron Sigal ron_sigal at yahoo.com
Wed Feb 21 05:57:38 EST 2007


  User: rsigal  
  Date: 07/02/21 05:57:38

  Modified:    src/main/org/jboss/remoting  Tag: remoting_2_x
                        MicroRemoteClientInvoker.java
  Log:
  JBREM-598, JBREM-657:  Added disconnectTimeout parameter to terminateLease().
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.7.2.14  +3 -2      JBossRemoting/src/main/org/jboss/remoting/MicroRemoteClientInvoker.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: MicroRemoteClientInvoker.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/MicroRemoteClientInvoker.java,v
  retrieving revision 1.7.2.13
  retrieving revision 1.7.2.14
  diff -u -b -r1.7.2.13 -r1.7.2.14
  --- MicroRemoteClientInvoker.java	16 Feb 2007 04:16:02 -0000	1.7.2.13
  +++ MicroRemoteClientInvoker.java	21 Feb 2007 10:57:38 -0000	1.7.2.14
  @@ -27,7 +27,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.7.2.13 $
  + * @version $Revision: 1.7.2.14 $
    */
   public abstract class MicroRemoteClientInvoker extends AbstractInvoker implements ClientInvoker
   {
  @@ -309,12 +309,13 @@
         return this.unmarshaller;
      }
   
  -   public void terminateLease(String sessionId)
  +   public void terminateLease(String sessionId, int disconnectTimeout)
      {
         synchronized(clientLeaseLock)
         {
            if(leasePinger != null)
            {
  +            leasePinger.setDisconnectTimeout(disconnectTimeout);
               boolean isLastClientLease = leasePinger.removeClient(sessionId);
               if(isLastClientLease)
               {
  
  
  



More information about the jboss-cvs-commits mailing list