#include <HTTPCacheInterruptHandler.h>
Inheritance diagram for HTTPCacheInterruptHandler:
Public Member Functions | |
virtual void | handle_signal (int signum) |
HTTPCacheInterruptHandler () | |
virtual | ~HTTPCacheInterruptHandler () |
Definition at line 54 of file HTTPCacheInterruptHandler.h.
HTTPCacheInterruptHandler::HTTPCacheInterruptHandler | ( | ) | [inline] |
Definition at line 60 of file HTTPCacheInterruptHandler.h.
virtual HTTPCacheInterruptHandler::~HTTPCacheInterruptHandler | ( | ) | [inline, virtual] |
Definition at line 64 of file HTTPCacheInterruptHandler.h.
virtual void HTTPCacheInterruptHandler::handle_signal | ( | int | signum | ) | [inline, virtual] |
Handle SIGINT. This handler first deletes any files opened but not added to the cache index files and then calls HTTPCache::delete_instance().
signum | We know it is SIGINT; included here as a check and only when NDEBUG is not defined. |
Implements EventHandler.
Definition at line 74 of file HTTPCacheInterruptHandler.h.
References HTTPCache::d_open_files, and DBG.