Package net.messagevortex
Class AbstractDaemon
java.lang.Object
net.messagevortex.AbstractDaemon
- All Implemented Interfaces:
RunningDaemon
- Direct Known Subclasses:
Blender,DummyAccountant,DummyTransportTrx,MailConnector,MailServer,MessageVortexRouting,SimpleRouterImplementation,SmtpImapServer,TestSmtpHandler
This is an abstract class providing empty hulled methods for all thread-less implementations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidShuts this class down.voidInitializes and starts all threads required to run the daemon.voidStopps all daemon threads and frees all temporary resources.
-
Constructor Details
-
AbstractDaemon
public AbstractDaemon()
-
-
Method Details
-
startDaemon
public void startDaemon()Description copied from interface:RunningDaemonInitializes and starts all threads required to run the daemon.
- Specified by:
startDaemonin interfaceRunningDaemon
-
stopDaemon
public void stopDaemon()Description copied from interface:RunningDaemonStopps all daemon threads and frees all temporary resources.
- Specified by:
stopDaemonin interfaceRunningDaemon
-
shutdownDaemon
public void shutdownDaemon()Description copied from interface:RunningDaemonShuts this class down.
This frees all resources and ends all threads for an application or layer shutdown. It is not possible to call start() after running shutdown().
- Specified by:
shutdownDaemonin interfaceRunningDaemon
-