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

DNSResult Class Reference

Result status, used internally. More...

#include <dns.h>

Inheritance diagram for DNSResult:

Inheritance graph
[legend]
Collaboration diagram for DNSResult:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DNSResult (int i, const std::string &res, unsigned long timetolive, const std::string &orig)
 Build a DNS result.

Public Attributes

int id
 Result ID.
std::string result
 Result body, a hostname or IP address.
unsigned long ttl
 Time-to-live value of the result.
std::string original
 The original request, a hostname or IP address.

Detailed Description

Result status, used internally.

Definition at line 43 of file dns.h.


Constructor & Destructor Documentation

DNSResult::DNSResult int  i,
const std::string res,
unsigned long  timetolive,
const std::string orig
[inline]
 

Build a DNS result.

Parameters:
i The request ID
res The request result, a hostname or IP
timetolive The request time-to-live
orig The original request, a hostname or IP

Definition at line 65 of file dns.h.


Member Data Documentation

int DNSResult::id
 

Result ID.

Definition at line 48 of file dns.h.

Referenced by DNS::HandleEvent().

std::string DNSResult::original
 

The original request, a hostname or IP address.

Definition at line 57 of file dns.h.

Referenced by DNS::HandleEvent().

std::string DNSResult::result
 

Result body, a hostname or IP address.

Definition at line 51 of file dns.h.

Referenced by DNS::HandleEvent().

unsigned long DNSResult::ttl
 

Time-to-live value of the result.

Definition at line 54 of file dns.h.

Referenced by DNS::HandleEvent().


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