HttpDownloader Class Reference

Inherits Protocols::Http::ClientHttpSessionFactoryStatus, Protocols::Http::ClientHttpSessionStatus, Protocols::Http::ClientHttpSessionFactoryStatus, and Protocols::Http::ClientHttpSessionStatus.

Inheritance diagram for HttpDownloader:

Inheritance graph
[legend]
Collaboration diagram for HttpDownloader:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 67 of file main-acceptance.cpp.

Public Member Functions

 HttpDownloader (TransportFactory *transportFactory)
 ~HttpDownloader ()
void download (const QByteArray &url)
void clientHttpSessionFactorySucceeded (const Uri &uri, ClientHttpSession *session)
void clientHttpSessionFactoryFailed (const Uri &)
void clientHttpSessionResponseStarted (const ResponseHeader &header)
void clientHttpSessionResponseFinished (const HeaderBase &header)
void clientHttpSessionInvaidResponse (const Data &)
void clientHttpSessionClosing ()
void clientHttpSessionClosed ()
 HttpDownloader ()
 ~HttpDownloader ()
void download (const QByteArray &url)
void clientHttpSessionFactorySucceeded (const Uri &uri, ClientHttpSession *session)
void clientHttpSessionFactoryFailed (const Uri &)
void clientHttpSessionResponseStarted (const ResponseHeader &header)
void clientHttpSessionResponseFinished (const HeaderBase &header)
void clientHttpSessionInvaidResponse (const Data &)
void clientHttpSessionClosing ()
void clientHttpSessionClosed ()

Private Member Functions

void done ()
void done ()

Private Attributes

ClientHttpSessionFactory clientHttpSessionFactory_
ClientHttpSessionsession_
MemoryFile memoryFile
QtNameResolver qtNameResolver_
TcpTransportFactory tcpTransportFactory_
IpResolvingTransportFactory ipResolvingTransportFactory_
ClientHttpSessionsession_


Constructor & Destructor Documentation

HttpDownloader::HttpDownloader TransportFactory transportFactory  )  [inline]
 

Definition at line 75 of file main-acceptance.cpp.

HttpDownloader::~HttpDownloader  )  [inline]
 

Definition at line 82 of file main-acceptance.cpp.

HttpDownloader::HttpDownloader  )  [inline]
 

Definition at line 108 of file main.cpp.

HttpDownloader::~HttpDownloader  )  [inline]
 

Definition at line 118 of file main.cpp.


Member Function Documentation

void HttpDownloader::clientHttpSessionClosed  )  [inline, virtual]
 

Implements Protocols::Http::ClientHttpSessionStatus.

Definition at line 169 of file main.cpp.

void HttpDownloader::clientHttpSessionClosed  )  [inline, virtual]
 

Implements Protocols::Http::ClientHttpSessionStatus.

Definition at line 134 of file main-acceptance.cpp.

void HttpDownloader::clientHttpSessionClosing  )  [inline, virtual]
 

Implements Protocols::Http::ClientHttpSessionStatus.

Definition at line 164 of file main.cpp.

void HttpDownloader::clientHttpSessionClosing  )  [inline, virtual]
 

Implements Protocols::Http::ClientHttpSessionStatus.

Definition at line 129 of file main-acceptance.cpp.

void HttpDownloader::clientHttpSessionFactoryFailed const Uri  )  [inline, virtual]
 

Implements Protocols::Http::ClientHttpSessionFactoryStatus.

Definition at line 136 of file main.cpp.

void HttpDownloader::clientHttpSessionFactoryFailed const Uri  )  [inline, virtual]
 

Implements Protocols::Http::ClientHttpSessionFactoryStatus.

Definition at line 101 of file main-acceptance.cpp.

void HttpDownloader::clientHttpSessionFactorySucceeded const Uri uri,
ClientHttpSession session
[inline, virtual]
 

Implements Protocols::Http::ClientHttpSessionFactoryStatus.

Definition at line 128 of file main.cpp.

void HttpDownloader::clientHttpSessionFactorySucceeded const Uri uri,
ClientHttpSession session
[inline, virtual]
 

Implements Protocols::Http::ClientHttpSessionFactoryStatus.

Definition at line 93 of file main-acceptance.cpp.

void HttpDownloader::clientHttpSessionInvaidResponse const Data  )  [inline, virtual]
 

Implements Protocols::Http::ClientHttpSessionStatus.

Definition at line 158 of file main.cpp.

void HttpDownloader::clientHttpSessionInvaidResponse const Data  )  [inline, virtual]
 

Implements Protocols::Http::ClientHttpSessionStatus.

Definition at line 123 of file main-acceptance.cpp.

void HttpDownloader::clientHttpSessionResponseFinished const HeaderBase header  )  [inline, virtual]
 

Implements Protocols::Http::ClientHttpSessionStatus.

Definition at line 149 of file main.cpp.

void HttpDownloader::clientHttpSessionResponseFinished const HeaderBase header  )  [inline, virtual]
 

Implements Protocols::Http::ClientHttpSessionStatus.

Definition at line 114 of file main-acceptance.cpp.

void HttpDownloader::clientHttpSessionResponseStarted const ResponseHeader header  )  [inline, virtual]
 

Implements Protocols::Http::ClientHttpSessionStatus.

Definition at line 143 of file main.cpp.

void HttpDownloader::clientHttpSessionResponseStarted const ResponseHeader header  )  [inline, virtual]
 

Implements Protocols::Http::ClientHttpSessionStatus.

Definition at line 108 of file main-acceptance.cpp.

void HttpDownloader::done  )  [inline, private]
 

Definition at line 176 of file main.cpp.

void HttpDownloader::done  )  [inline, private]
 

Definition at line 141 of file main-acceptance.cpp.

void HttpDownloader::download const QByteArray &  url  )  [inline]
 

Definition at line 122 of file main.cpp.

void HttpDownloader::download const QByteArray &  url  )  [inline]
 

Definition at line 86 of file main-acceptance.cpp.


Member Data Documentation

ClientHttpSessionFactory HttpDownloader::clientHttpSessionFactory_ [private]
 

Definition at line 70 of file main-acceptance.cpp.

IpResolvingTransportFactory HttpDownloader::ipResolvingTransportFactory_ [private]
 

Definition at line 102 of file main.cpp.

MemoryFile HttpDownloader::memoryFile [private]
 

Definition at line 72 of file main-acceptance.cpp.

QtNameResolver HttpDownloader::qtNameResolver_ [private]
 

Definition at line 100 of file main.cpp.

ClientHttpSession* HttpDownloader::session_ [private]
 

Definition at line 104 of file main.cpp.

ClientHttpSession* HttpDownloader::session_ [private]
 

Definition at line 71 of file main-acceptance.cpp.

TcpTransportFactory HttpDownloader::tcpTransportFactory_ [private]
 

Definition at line 101 of file main.cpp.


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