org.objectweb.joram.mom.util

Class BridgeUnifiedModule.ConsumerDaemon

Enclosing Class:
BridgeUnifiedModule
Implemented Interfaces:
Runnable

protected class BridgeUnifiedModule.ConsumerDaemon
extends 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

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

close, finish, getName, interrupt, isCurrentThread, isRunning, setDaemon, setPriority, setThreadGroup, shutdown, start, stop, toString

Constructor Details

ConsumerDaemon

protected ConsumerDaemon()
Constructs a ReceiverDaemon thread.

Method Details

close

public void close()
Releases the daemon's resources.
Overrides:
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.
Overrides:
shutdown in interface Daemon


Copyright B) 2004 Scalagent - All rights reserved