org.jboss.remoting
Class Lease
java.lang.Object
org.jboss.remoting.Lease
- public class Lease
- extends java.lang.Object
This class is used on the remoting server to maintain lease information
for remoting clients. Will generate callback to ConnectionListener interface
if determined that client no longer available.
- Author:
- Tom Elrod
Constructor Summary |
Lease(java.lang.String clientSessionId,
long leasePeriod,
java.lang.String locatorurl,
java.util.Map requestPayload,
ConnectionNotifier notifier,
java.util.Map clientLeases)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Lease
public Lease(java.lang.String clientSessionId,
long leasePeriod,
java.lang.String locatorurl,
java.util.Map requestPayload,
ConnectionNotifier notifier,
java.util.Map clientLeases)
startLease
public void startLease()
updateLease
public void updateLease(long leasePeriod)
terminateLease
public void terminateLease(long leasePeriod)
Copyright © 1998-2005 JBoss Inc . All Rights Reserved.