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

Tom Elrod tom.elrod at jboss.com
Wed Sep 20 00:22:25 EDT 2006


  User: telrod  
  Date: 06/09/20 00:22:25

  Modified:    src/main/org/jboss/remoting/transport  ClientInvoker.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.7       +10 -6     JBossRemoting/src/main/org/jboss/remoting/transport/ClientInvoker.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ClientInvoker.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/ClientInvoker.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- ClientInvoker.java	20 Jun 2006 15:48:18 -0000	1.6
  +++ ClientInvoker.java	20 Sep 2006 04:22:25 -0000	1.7
  @@ -22,8 +22,6 @@
   
   package org.jboss.remoting.transport;
   
  -import javax.net.SocketFactory;
  -
   import org.jboss.remoting.ConnectionFailedException;
   import org.jboss.remoting.InvocationRequest;
   import org.jboss.remoting.Invoker;
  @@ -31,6 +29,9 @@
   import org.jboss.remoting.marshal.Marshaller;
   import org.jboss.remoting.marshal.UnMarshaller;
   
  +import javax.net.SocketFactory;
  +import java.util.Map;
  +
   /**
    * Interface to be used for calling on all the different invoker types (LocalClientInvoker
    * and RemoteClientInvoker).
  @@ -112,4 +113,7 @@
   
      public UnMarshaller getUnMarshaller();
   
  +   public void establishLease(String sessionId, Map configuration, long leasePeriod) throws Throwable;
  +
  +   public void terminateLease(String sessionId);
   }
  \ No newline at end of file
  
  
  



More information about the jboss-cvs-commits mailing list