[jboss-remoting-commits] JBoss Remoting SVN: r5154 - remoting2/branches/2.2.2-SP11_JBREM-1112/src/main/org/jboss/remoting.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Thu May 7 17:58:37 EDT 2009


Author: ron.sigal at jboss.com
Date: 2009-05-07 17:58:37 -0400 (Thu, 07 May 2009)
New Revision: 5154

Modified:
   remoting2/branches/2.2.2-SP11_JBREM-1112/src/main/org/jboss/remoting/Client.java
Log:
JBREM-1128: Made new connect() synchronized.

Modified: remoting2/branches/2.2.2-SP11_JBREM-1112/src/main/org/jboss/remoting/Client.java
===================================================================
--- remoting2/branches/2.2.2-SP11_JBREM-1112/src/main/org/jboss/remoting/Client.java	2009-05-07 21:57:57 UTC (rev 5153)
+++ remoting2/branches/2.2.2-SP11_JBREM-1112/src/main/org/jboss/remoting/Client.java	2009-05-07 21:58:37 UTC (rev 5154)
@@ -559,7 +559,7 @@
     * ConnectionListeners of the broken connection.  At that point, the LeasePinger will be
     * destroyed, and all of the associated Clients will be disconnected. 
     */
-   public void connect(ConnectionListener listener, Map metadata) throws Exception
+   public synchronized void connect(ConnectionListener listener, Map metadata) throws Exception
    {
       log.debug(this + ".connect(" + listener + ")");
       log.debug(this + ": metadata = " + metadata);




More information about the jboss-remoting-commits mailing list