The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

CacheTimer Class Reference

Inheritance diagram for CacheTimer:

Inheritance graph
[legend]
Collaboration diagram for CacheTimer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CacheTimer (InspIRCd *Instance, DNS *thisdns)
virtual void Tick (time_t)
 Called when the timer ticks.

Private Attributes

InspIRCdServerInstance
DNSdns

Detailed Description

Definition at line 108 of file dns.cpp.


Constructor & Destructor Documentation

CacheTimer::CacheTimer InspIRCd Instance,
DNS thisdns
[inline]
 

Definition at line 114 of file dns.cpp.


Member Function Documentation

virtual void CacheTimer::Tick time_t   )  [inline, virtual]
 

Called when the timer ticks.

You should override this method with some useful code to handle the tick event.

Implements Timer.

Definition at line 117 of file dns.cpp.

References dns, and DNS::PruneCache().


Member Data Documentation

DNS* CacheTimer::dns [private]
 

Definition at line 112 of file dns.cpp.

Referenced by Tick().

InspIRCd* CacheTimer::ServerInstance [private]
 

Definition at line 111 of file dns.cpp.


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