[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting ...
Ron Sigal
ron_sigal at yahoo.com
Thu Feb 15 23:16:02 EST 2007
User: rsigal
Date: 07/02/15 23:16:02
Modified: src/main/org/jboss/remoting Tag: remoting_2_x
MicroRemoteClientInvoker.java
Log:
JBREM-657: Removed local parameter to terminateLease().
Revision Changes Path
No revision
No revision
1.7.2.13 +10 -3 JBossRemoting/src/main/org/jboss/remoting/MicroRemoteClientInvoker.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: MicroRemoteClientInvoker.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/MicroRemoteClientInvoker.java,v
retrieving revision 1.7.2.12
retrieving revision 1.7.2.13
diff -u -b -r1.7.2.12 -r1.7.2.13
--- MicroRemoteClientInvoker.java 31 Jan 2007 20:22:08 -0000 1.7.2.12
+++ MicroRemoteClientInvoker.java 16 Feb 2007 04:16:02 -0000 1.7.2.13
@@ -27,7 +27,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.7.2.12 $
+ * @version $Revision: 1.7.2.13 $
*/
public abstract class MicroRemoteClientInvoker extends AbstractInvoker implements ClientInvoker
{
@@ -309,16 +309,23 @@
return this.unmarshaller;
}
- public void terminateLease(String sessionId, boolean local)
+ public void terminateLease(String sessionId)
{
synchronized(clientLeaseLock)
{
if(leasePinger != null)
{
- boolean isLastClientLease = leasePinger.removeClient(sessionId, local);
+ boolean isLastClientLease = leasePinger.removeClient(sessionId);
if(isLastClientLease)
{
- leasePinger.stopPing(local);
+ try
+ {
+ leasePinger.stopPing();
+ }
+ catch (Exception e)
+ {
+ log.error("error shutting down lease pinger");
+ }
leasePinger = null;
}
}
More information about the jboss-cvs-commits
mailing list