Joram ${version}

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

java.lang.Object
  extended byfr.dyade.aaa.util.Daemon
      extended byorg.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, 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.


close

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


Joram ${version}

Copyright © 2005 Scalagent - All rights reserved