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

RequestTimeout Class Reference

Inheritance diagram for RequestTimeout:

Inheritance graph
[legend]
Collaboration diagram for RequestTimeout:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RequestTimeout (unsigned long n, InspIRCd *SI, DNSRequest *watching, int id)
void Tick (time_t)
 Called when the timer ticks.

Private Attributes

InspIRCdServerInstance
DNSRequestwatch
int watchid

Detailed Description

Definition at line 123 of file dns.cpp.


Constructor & Destructor Documentation

RequestTimeout::RequestTimeout unsigned long  n,
InspIRCd SI,
DNSRequest watching,
int  id
[inline]
 

Definition at line 129 of file dns.cpp.


Member Function Documentation

void RequestTimeout::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 133 of file dns.cpp.

References DNS::Classes, Resolver::OnError(), DNS::requests, InspIRCd::Res, RESOLVER_TIMEOUT, ServerInstance, watch, and watchid.


Member Data Documentation

InspIRCd* RequestTimeout::ServerInstance [private]
 

Definition at line 125 of file dns.cpp.

Referenced by Tick().

DNSRequest* RequestTimeout::watch [private]
 

Definition at line 126 of file dns.cpp.

Referenced by Tick().

int RequestTimeout::watchid [private]
 

Definition at line 127 of file dns.cpp.

Referenced by Tick().


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