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

Ron Sigal ron_sigal at yahoo.com
Wed Dec 6 21:58:42 EST 2006


  User: rsigal  
  Date: 06/12/06 21:58:42

  Modified:    src/main/org/jboss/remoting  Client.java
  Log:
  JBREM-622:  Conforms to change in AbstractInvoker, which stores InvokerCallbackHandlers keyed on sessionId + listenerId.
  
  Revision  Changes    Path
  1.59      +3 -3      JBossRemoting/src/main/org/jboss/remoting/Client.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Client.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/Client.java,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -u -b -r1.58 -r1.59
  --- Client.java	28 Nov 2006 20:36:31 -0000	1.58
  +++ Client.java	7 Dec 2006 02:58:42 -0000	1.59
  @@ -63,7 +63,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.58 $
  + * @version $Revision: 1.59 $
    */
   public class Client implements Externalizable
   {
  @@ -1035,7 +1035,7 @@
         {
            // is going to be push callbacks which means callback server locator involved.
            // will have to delegate to client invoker.
  -         String listenerId = invoker.addClientLocator(callbackhandler, callbackLocator);
  +         String listenerId = invoker.addClientLocator(sessionId, callbackhandler, callbackLocator);
   
            if (listenerId != null)
            {
  @@ -1176,7 +1176,7 @@
               else
               {
                  // have a push callback handler
  -               List holderList = invoker.getClientLocators(callbackHandler);
  +               List holderList = invoker.getClientLocators(sessionId, callbackHandler);
                  if(holderList != null && holderList.size() > 0)
                  {
                     for(int x = 0; x < holderList.size(); x++)
  
  
  



More information about the jboss-cvs-commits mailing list