Joram 4.3.20

org.objectweb.joram.mom.util
Class BridgeUnifiedModule.ConsumerDaemon

java.lang.Object
  extended by fr.dyade.aaa.util.Daemon
      extended by org.objectweb.joram.mom.util.BridgeUnifiedModule.ConsumerDaemon
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
BridgeUnifiedModule

protected class BridgeUnifiedModule.ConsumerDaemon
extends fr.dyade.aaa.util.Daemon

The ConsumerDaemon thread allows to call MessageConsumer.receive() for requesting a foreign JMS message without blocking the JORAM server.


Field Summary
 
Fields inherited from class fr.dyade.aaa.util.Daemon
canStop, group, logmon, priority, running, thread
 
Constructor Summary
protected BridgeUnifiedModule.ConsumerDaemon()
          Constructs a ReceiverDaemon thread.
 
Method Summary
 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.
 
Methods inherited from class fr.dyade.aaa.util.Daemon
finish, getName, interrupt, isCurrentThread, isRunning, setDaemon, setName, setPriority, setThreadGroup, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BridgeUnifiedModule.ConsumerDaemon

protected BridgeUnifiedModule.ConsumerDaemon()
Constructs a ReceiverDaemon thread.

Method Detail

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.

Specified by:
shutdown in class fr.dyade.aaa.util.Daemon

close

public void close()
Releases the daemon's resources.

Specified by:
close in class fr.dyade.aaa.util.Daemon

Joram 4.3.20

Copyright © 2005 Scalagent - All rights reserved