libdap++ Updated for version 3.8.2

libdap::EventHandler Class Reference

#include <EventHandler.h>

Inheritance diagram for libdap::EventHandler:

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 42 of file EventHandler.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


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