EventHandler Class Reference

#include <EventHandler.h>

Inheritance diagram for EventHandler:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void handle_signal (int signum)=0
virtual ~EventHandler ()

Detailed Description

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.

See also:
SignalHandler

AlarmHandler

Author:
James Gallagher <jgallagher@opendap.org>

Definition at line 44 of file EventHandler.h.


Constructor & Destructor Documentation

virtual EventHandler::~EventHandler (  )  [inline, virtual]

We don't need a destructor, but including one might stave off an error later on...

Definition at line 54 of file EventHandler.h.


Member Function Documentation

virtual void 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 AlarmHandler, TestHandler, and HTTPCacheInterruptHandler.


The documentation for this class was generated from the following file:
Generated on Wed Jun 27 12:57:50 2007 for libdap++ by  doxygen 1.4.7