org.objectweb.joram.mom.util

Class BridgeUnifiedModule.ReconnectionDaemon

Enclosing Class:
BridgeUnifiedModule
Implemented Interfaces:
Runnable

protected class BridgeUnifiedModule.ReconnectionDaemon
extends Daemon

The ReconnectionDaemon thread is responsible for reconnecting the bridge module with the foreign JMS server in case of disconnection.

Field Summary

Fields inherited from class fr.dyade.aaa.util.Daemon

canStop, group, logmon, priority, running, thread

Constructor Summary

ReconnectionDaemon()
Constructs a ReconnectionDaemon thread.

Method Summary

void
close()
Releases the daemon's resources.
protected void
reconnect()
Notifies the daemon to start reconnecting.
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

ReconnectionDaemon

protected ReconnectionDaemon()
Constructs a ReconnectionDaemon thread.

Method Details

close

public void close()
Releases the daemon's resources.
Overrides:
close in interface Daemon


reconnect

protected void reconnect()
Notifies the daemon to start reconnecting.


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