jrun.jms.core.scheduler
Class MessageLease

java.lang.Object
  |
  +--jrun.jms.core.scheduler.SchedulableEvent
        |
        +--jrun.jms.core.scheduler.BaseLease
              |
              +--jrun.jms.core.scheduler.MessageLease
All Implemented Interfaces:
java.lang.Comparable, LeaseIfc, java.lang.Runnable, java.io.Serializable

public class MessageLease
extends BaseLease

This is a lease specifically for a MessageHandle. A MessageHandle is a reference to a Message

Version:
$Revision: 1.5 $ $Date: 2001/06/07 02:57:55 $
Author:
Jim Alateras
See Also:
org.exolab.jms.message.MessageHandle, Serialized Form

Fields inherited from class jrun.jms.core.scheduler.BaseLease
m_duration
 
Fields inherited from class jrun.jms.core.scheduler.SchedulableEvent
CREATED, FIRED, SCHEDULED
 
Constructor Summary
MessageLease()
          Default constructor for the Serailizable/Externalizable interface
MessageLease(MessageHandle handle, long duration, SchedulableEventListener listener)
          Construct an instance of this class with the specified message handle and duration.
 
Methods inherited from class jrun.jms.core.scheduler.BaseLease
compareTo, getDuration, getExpiryTime, getLeasedObject, getLeasedObjectType, getLeaseEventListener, getRemainingTime, setDuration, toString
 
Methods inherited from class jrun.jms.core.scheduler.SchedulableEvent
getContext, getListener, getNickTime, getType, run, setStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageLease

public MessageLease()
Default constructor for the Serailizable/Externalizable interface

MessageLease

public MessageLease(MessageHandle handle,
                    long duration,
                    SchedulableEventListener listener)
Construct an instance of this class with the specified message handle and duration.
Parameters:
handle - leased object
duration - duration of lease
listener - listener to be notified of lease events


Copyright � 2002 Macromedia Corporation. All Rights Reserved.