org.objectweb.joram.mom.util
Class BridgeUnifiedModule.ConsumerDaemon
- BridgeUnifiedModule
- Runnable
protected class BridgeUnifiedModule.ConsumerDaemon
The ConsumerDaemon
thread allows to call
MessageConsumer.receive()
for requesting a foreign JMS
message without blocking the JORAM server.
void | close() - Releases the daemon's resources.
|
protected void | receive() - Notifies the daemon of a new "receive" request.
|
void | run() - The daemon's loop.
|
void | shutdown() - Shuts the daemon down.
|
close , finish , getName , interrupt , isCurrentThread , isRunning , setDaemon , setPriority , setThreadGroup , shutdown , start , stop , toString |
ConsumerDaemon
protected ConsumerDaemon()
Constructs a ReceiverDaemon
thread.
close
public void close()
Releases the daemon's resources.
- close in interface Daemon
receive
protected void receive()
Notifies the daemon of a new "receive" request.
run
public void run()
The daemon's loop.
shutdown
public void shutdown()
Shuts the daemon down.
- shutdown in interface Daemon
Copyright B) 2004 Scalagent - All rights reserved