public class LeaseListener extends java.lang.Object implements IListener
Constructor and Description |
---|
LeaseListener()
Creates a new lease listener that has not expired yet.
|
Modifier and Type | Method and Description |
---|---|
void |
handleEvent(Event event)
This method is part of the listener interface, it should not
be called by user code.
|
boolean |
isExpired()
Determines whether the lease has been expired.
|
void |
reset()
Resets the state of the expired flag.
|
public LeaseListener()
public void handleEvent(Event event)
handleEvent
in interface IListener
event
- The event delivered to the listener.public boolean isExpired()
public void reset()