[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport/local ...
Ovidiu Feodorov
ovidiu.feodorov at jboss.com
Sun Jan 21 03:38:33 EST 2007
User: ovidiu
Date: 07/01/21 03:38:33
Modified: src/main/org/jboss/remoting/transport/local Tag:
remoting_2_x LocalClientInvoker.java
Log:
http://jira.jboss.org/jira/browse/JBREM-681
Revision Changes Path
No revision
No revision
1.15.2.3 +8 -3 JBossRemoting/src/main/org/jboss/remoting/transport/local/LocalClientInvoker.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: LocalClientInvoker.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/local/LocalClientInvoker.java,v
retrieving revision 1.15.2.2
retrieving revision 1.15.2.3
diff -u -b -r1.15.2.2 -r1.15.2.3
--- LocalClientInvoker.java 21 Jan 2007 01:17:00 -0000 1.15.2.2
+++ LocalClientInvoker.java 21 Jan 2007 08:38:33 -0000 1.15.2.3
@@ -46,7 +46,7 @@
* same JVM as the callback server.
*
* @author <a href="mailto:telrod at vocalocity.net">Tom Elrod</a>
- * @version $Revision: 1.15.2.2 $
+ * @version $Revision: 1.15.2.3 $
*/
public class LocalClientInvoker extends AbstractInvoker implements BidirectionalClientInvoker
{
@@ -206,16 +206,21 @@
return null;
}
- public void establishLease(String sessionId, Map configuration, long leasePeriod) throws Throwable
+ public void establishLease(String sessionID, Map configuration, long leasePeriod) throws Throwable
{
// noop since is local
}
- public void terminateLease(String sessionId, boolean local)
+ public void terminateLease(String sessionID, boolean local)
{
// noop since is local
}
+ public long getLeasePeriod(String sessionID)
+ {
+ return -1; // no lease, since is local
+ }
+
/**
* This will set the local reference to the server invoker.
* This is needed to so can make calls directly against server.
More information about the jboss-cvs-commits
mailing list