Dns::LookupDetails Class Reference

encapsulates DNS lookup results More...

#include <LookupDetails.h>

Collaboration diagram for Dns::LookupDetails:

Public Member Functions

 LookupDetails ()
 no error, no lookup delay (i.e., no lookup) More...
 
 LookupDetails (const String &anError, int aWait)
 
std::ostream & print (std::ostream &os) const
 

Public Attributes

String error
 error message for unsuccessful lookups; empty otherwise More...
 
int wait
 msecs spent waiting for the lookup (if any) or -1 (if none) More...
 

Detailed Description

Definition at line 20 of file LookupDetails.h.

Constructor & Destructor Documentation

Dns::LookupDetails::LookupDetails ( )
inline

Definition at line 23 of file LookupDetails.h.

Dns::LookupDetails::LookupDetails ( const String anError,
int  aWait 
)
inline

Definition at line 24 of file LookupDetails.h.

Member Function Documentation

std::ostream & Dns::LookupDetails::print ( std::ostream &  os) const

Definition at line 15 of file LookupDetails.cc.

References error, String::size(), and wait.

Referenced by operator<<().

Member Data Documentation

String Dns::LookupDetails::error

Definition at line 29 of file LookupDetails.h.

Referenced by ps_state::noteIps(), and print().

int Dns::LookupDetails::wait

Definition at line 30 of file LookupDetails.h.

Referenced by print(), and HttpRequest::recordLookup().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors