libdap Updated for version 3.21.1
libdap4 is an implementation of OPeNDAP's DAP protocol.
|
#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 41 of file EventHandler.h.
|
inlinevirtual |
We don't need a destructor, but including one might stave off an error later on...
Definition at line 50 of file EventHandler.h.
|
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.