GeoIpResponse Class Reference

#include <geoipresponse.h>

List of all members.

Public Member Functions

 GeoIpResponse (const QByteArray &response)
int statusCode () const
QString statusMessage () const
QList< GeoIpgeoIps () const

Static Private Member Functions

static QByteArray decodeChunked (const QByteArray &chunked)

Private Attributes

QHttpResponseHeader _header
QList< GeoIp_geoips

Detailed Description

Definition at line 27 of file geoipresponse.h.


Constructor & Destructor Documentation

GeoIpResponse::GeoIpResponse ( const QByteArray &  response  ) 

Member Function Documentation

QByteArray GeoIpResponse::decodeChunked ( const QByteArray &  chunked  )  [static, private]

Decodes a chunked transfer encoding. Returns the unchunked result on success, or an empty QByteArray if decoding fails.

Definition at line 97 of file geoipresponse.cpp.

Referenced by GeoIpResponse().

QList<GeoIp> GeoIpResponse::geoIps (  )  const [inline]

Returns the Geo IP information contained in this response.

Definition at line 39 of file geoipresponse.h.

References _geoips.

Referenced by GeoIpResolver::disconnected().

int GeoIpResponse::statusCode (  )  const [inline]

Returns the HTTP status code for this response.

Definition at line 35 of file geoipresponse.h.

References _header.

Referenced by GeoIpResolver::disconnected().

QString GeoIpResponse::statusMessage (  )  const [inline]

Returns the HTTP status message for this response.

Definition at line 37 of file geoipresponse.h.

References _header.

Referenced by GeoIpResolver::disconnected().


Member Data Documentation

QList<GeoIp> GeoIpResponse::_geoips [private]

Geo IP information in this response.

Definition at line 47 of file geoipresponse.h.

Referenced by GeoIpResponse(), and geoIps().

QHttpResponseHeader GeoIpResponse::_header [private]

HTTP response header.

Definition at line 46 of file geoipresponse.h.

Referenced by GeoIpResponse(), statusCode(), and statusMessage().


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

Generated on 22 Feb 2010 for Vidalia by  doxygen 1.6.1