alma::acs::logging::dialogs::main::ShutdownHook Class Reference

Inheritance diagram for alma::acs::logging::dialogs::main::ShutdownHook:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::logging::dialogs::main::ShutdownHook:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ShutdownHook (Logger logger, String processName, LogFrame log)

Protected Member Functions

void interruptDetected ()

Private Attributes

LogFrame logFrame

Detailed Description

The object from this class intercepts the Ctrl+C event and cleanly close the application

Author:
acaproni

Constructor & Destructor Documentation

alma::acs::logging::dialogs::main::ShutdownHook::ShutdownHook ( Logger  logger,
String  processName,
LogFrame  log 
) [inline]

References logFrame.


Member Function Documentation

void alma::acs::logging::dialogs::main::ShutdownHook::interruptDetected (  )  [inline, protected, virtual]

Is called when the JVM is about to terminate due to an interrupt signal. Subclasses should perform emergency cleanup.

Implements alma::acs::shutdown::ShutdownHookBase.

References logFrame.


Member Data Documentation

Referenced by interruptDetected(), and ShutdownHook().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2