[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport/local	...
    Tom Elrod 
    tom.elrod at jboss.com
       
    Wed Sep 20 00:22:23 EDT 2006
    
    
  
  User: telrod  
  Date: 06/09/20 00:22:23
  Modified:    src/main/org/jboss/remoting/transport/local 
                        LocalClientInvoker.java
  Log:
  JBREM-596 - fix for leasing problem when have multiple clients using same client invoker.  Basically moved all lease managment for clients into the client invokers themselves.
  
  Revision  Changes    Path
  1.15      +11 -1     JBossRemoting/src/main/org/jboss/remoting/transport/local/LocalClientInvoker.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: LocalClientInvoker.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/local/LocalClientInvoker.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -b -r1.14 -r1.15
  --- LocalClientInvoker.java	7 Jul 2006 20:46:24 -0000	1.14
  +++ LocalClientInvoker.java	20 Sep 2006 04:22:23 -0000	1.15
  @@ -45,7 +45,7 @@
    * same JVM as the callback server.
    *
    * @author <a href="mailto:telrod at vocalocity.net">Tom Elrod</a>
  - * @version $Revision: 1.14 $
  + * @version $Revision: 1.15 $
    */
   public class LocalClientInvoker extends AbstractInvoker implements BidirectionalClientInvoker
   {
  @@ -203,6 +203,16 @@
         return null;
      }
   
  +   public void establishLease(String sessionId, Map configuration, long leasePeriod) throws Throwable
  +   {
  +      // noop since is local
  +   }
  +
  +   public void terminateLease(String sessionId)
  +   {
  +      // noop since is local
  +   }
  +
      /**
       * This will set the local reference to the server invoker.
       * This is needed to so can make calls directly against server.
  
  
  
    
    
More information about the jboss-cvs-commits
mailing list