[jboss-remoting-commits] JBoss Remoting SVN: r5143 - 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 00:42:17 EDT 2009
Author: ron.sigal at jboss.com
Date: 2009-05-07 00:42:17 -0400 (Thu, 07 May 2009)
New Revision: 5143
Modified:
remoting2/branches/2.2.2-SP11_JBREM-1112/src/main/org/jboss/remoting/Client.java
Log:
JBREM-1112 (and others to be named): Added some logging statements.
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-06 08:42:04 UTC (rev 5142)
+++ remoting2/branches/2.2.2-SP11_JBREM-1112/src/main/org/jboss/remoting/Client.java 2009-05-07 04:42:17 UTC (rev 5143)
@@ -453,6 +453,7 @@
*/
public synchronized boolean removeConnectionListener(ConnectionListener listener)
{
+ log.debug(this + ".removeConnectionListener(" + listener + ")");
boolean isRemoved = false;
// synchronized (connectionValidatorLock)
{
@@ -476,6 +477,10 @@
connectionValidator = null;
connectionValidatorKey = null;
}
+ if (connectionValidator == null)
+ {
+ log.debug(this + " set connectionValidator to null");
+ }
}
return isRemoved;
}
@@ -557,6 +562,7 @@
public void connect(ConnectionListener listener, Map metadata) throws Exception
{
log.debug(this + ".connect(" + listener + ")");
+ log.debug(this + ": metadata = " + metadata);
if (isConnected())
return;
@@ -589,6 +595,7 @@
*/
public synchronized void disconnect()
{
+ log.debug(this + " entering disconnect()");
if (invoker != null)
{
// this is a noop if no lease is active
@@ -1814,6 +1821,7 @@
}
temp.put(CLIENT, this);
temp.put(CONNECTION_LISTENER, listener);
+ log.debug(this + ": temp = " + temp);
log.debug(this + " calling MicroRemoteClientInvoker.establishLease()");
invoker.establishLease(sessionId, temp, leasePeriod);
}
More information about the jboss-remoting-commits
mailing list