libdap++ Updated for version 3.8.2
|
#include <EventHandler.h>
Public Member Functions | |
virtual void | handle_signal (int signum)=0 |
virtual | ~EventHandler () |
An abstract class which provides a hook method used by SignalHandler.
Based on "Applying Design Patterns to Simplify Signal Handling", Douglas C. Schmidt, 1998, http://www.cs.wustl.edu/~schmidt/signal-patterns.html.
Definition at line 42 of file EventHandler.h.
virtual libdap::EventHandler::~EventHandler | ( | ) | [inline, virtual] |
We don't need a destructor, but including one might stave off an error later on...
Definition at line 52 of file EventHandler.h.
virtual void libdap::EventHandler::handle_signal | ( | int | signum | ) | [pure virtual] |
Hook method for SignalHandler. If a concrete instance of this class is registered with SignalHandler, this method will be called when signum
is received.
Implemented in libdap::AlarmHandler, libdap::TestHandler, and libdap::HTTPCacheInterruptHandler.