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

Ron Sigal ron_sigal at yahoo.com
Tue Aug 1 02:30:57 EDT 2006


  User: rsigal  
  Date: 06/08/01 02:30:57

  Modified:    src/main/org/jboss/remoting/transport/sslmultiplex 
                        SSLMultiplexClientInvoker.java
  Log:
  JBREM-520:  Added lines to save newly created SocketFactory in createSocketFactory().
  
  Revision  Changes    Path
  1.3       +5 -1      JBossRemoting/src/main/org/jboss/remoting/transport/sslmultiplex/SSLMultiplexClientInvoker.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SSLMultiplexClientInvoker.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/sslmultiplex/SSLMultiplexClientInvoker.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- SSLMultiplexClientInvoker.java	19 Jul 2006 23:23:17 -0000	1.2
  +++ SSLMultiplexClientInvoker.java	1 Aug 2006 06:30:57 -0000	1.3
  @@ -42,7 +42,7 @@
    * For more information, see Remoting documentation on labs.jboss.org.
    * 
    * @author <a href="mailto:ron.sigal at jboss.com">Ron Sigal</a>
  - * @version $Revision: 1.2 $
  + * @version $Revision: 1.3 $
    * <p>
    * Copyright (c) 2006
    * </p>
  @@ -76,13 +76,17 @@
         SocketFactory sf = super.createSocketFactory(configuration);
         
         if (sf != null)
  +      {
  +         socketFactory = sf;
            return sf;
  +      }
         
         try
         {
            SSLSocketBuilder server = new SSLSocketBuilder(configuration);
            sf = server.createSSLSocketFactory();
            this.configuration.put(Multiplex.SOCKET_FACTORY, sf);
  +         socketFactory = sf;
         }
         catch(Exception e)
         {
  
  
  



More information about the jboss-cvs-commits mailing list