Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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)`

Method Summary
`void` | `startLease()`
`void` | `terminateLease(java.lang.String sessionId)`
`void` | `updateLease(long leasePeriod)`
`void` | `updateLease(long leasePeriod, java.util.Map requestMap)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Lease

    public Lease(java.lang.String clientSessionId,
                 long leasePeriod,
                 java.lang.String locatorurl,
                 java.util.Map requestPayload,
                 ConnectionNotifier notifier,
                 java.util.Map clientLeases)

Method Detail

### startLease

    public void startLease()

### updateLease

    public void updateLease(long leasePeriod,
                            java.util.Map requestMap)

### updateLease

    public void updateLease(long leasePeriod)

### terminateLease

    public void terminateLease(java.lang.String sessionId)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright ? 1998-2005 JBoss Inc . All Rights Reserved.