java.lang.Object
java.lang.Thread
org.mom4j.jms.ReceiverWorker
- All Implemented Interfaces:
- java.lang.Runnable
- public class ReceiverWorker
- extends java.lang.Thread
- Version:
- $Revision: 1.1.1.1 $ $Date: 2003/07/04 12:48:49 $
|
Method Summary |
boolean |
isRunning()
|
void |
run()
The method of Thread that will be run if there is no Runnable object
associated with the Thread. |
void |
stopListener()
|
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
listener
private javax.jms.MessageListener listener
consumer
private MessageConsumerImpl consumer
object
private java.lang.Object object
stop
private boolean stop
isStopped
private boolean isStopped
sleepInterval
private long sleepInterval
ReceiverWorker
public ReceiverWorker(javax.jms.MessageListener listener,
MessageConsumerImpl consumer,
long sleepInterval)
- Creates new ReceiverWorker
run
public void run()
- Description copied from class:
java.lang.Thread
- The method of Thread that will be run if there is no Runnable object
associated with the Thread. Thread's implementation does nothing at all.
isRunning
public boolean isRunning()
stopListener
public void stopListener()