Inheritance diagram for DownloaderContext:
Collaboration diagram for DownloaderContext:

Public Types

typedef RefCount< DownloaderContextPointer

Public Member Functions

 DownloaderContext (Downloader *dl, ClientHttpRequest *h)
 ~DownloaderContext () override
void finished ()

Public Attributes

CbcPointer< Downloaderdownloader
char requestBuffer [HTTP_REQBUF_SZ]

Private Member Functions

 MEMPROXY_CLASS (DownloaderContext)

Detailed Description

Used to hold and pass the required info and buffers to the clientStream callbacks

Definition at line 24 of file

Member Typedef Documentation

◆ Pointer

Constructor & Destructor Documentation

◆ DownloaderContext()

DownloaderContext::DownloaderContext ( Downloader dl,
ClientHttpRequest h 

Definition at line 40 of file

References debugs.

◆ ~DownloaderContext()

DownloaderContext::~DownloaderContext ( )

Definition at line 47 of file

References debugs, finished(), and http.

Member Function Documentation

◆ finished()

void DownloaderContext::finished ( )

Definition at line 55 of file

References http.

Referenced by ~DownloaderContext(), and Downloader::swanSong().


DownloaderContext::MEMPROXY_CLASS ( DownloaderContext  )

Member Data Documentation

◆ downloader

CbcPointer<Downloader> DownloaderContext::downloader

Definition at line 35 of file

Referenced by downloaderRecipient().

◆ http

ClientHttpRequest* DownloaderContext::http

Definition at line 36 of file

Referenced by ~DownloaderContext(), and finished().

◆ requestBuffer

char DownloaderContext::requestBuffer[HTTP_REQBUF_SZ]

Definition at line 37 of file

Referenced by Downloader::buildRequest(), and Downloader::handleReply().

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






Web Site Translations