Class AbstractDaemon

java.lang.Object
net.messagevortex.AbstractDaemon
All Implemented Interfaces:
RunningDaemon
Direct Known Subclasses:
Blender, DummyAccountant, DummyTransportTrx, MailConnector, MailServer, MessageVortexRouting, SimpleRouterImplementation, SmtpImapServer, TestSmtpHandler

public abstract class AbstractDaemon extends Object implements RunningDaemon

This is an abstract class providing empty hulled methods for all thread-less implementations.

  • Constructor Details

    • AbstractDaemon

      public AbstractDaemon()
  • Method Details

    • startDaemon

      public void startDaemon()
      Description copied from interface: RunningDaemon

      Initializes and starts all threads required to run the daemon.

      Specified by:
      startDaemon in interface RunningDaemon
    • stopDaemon

      public void stopDaemon()
      Description copied from interface: RunningDaemon

      Stopps all daemon threads and frees all temporary resources.

      Specified by:
      stopDaemon in interface RunningDaemon
    • shutdownDaemon

      public void shutdownDaemon()
      Description copied from interface: RunningDaemon

      Shuts 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:
      shutdownDaemon in interface RunningDaemon