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
 
ClientHttpRequesthttp
 
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 Downloader.cc.

Member Typedef Documentation

◆ Pointer

Constructor & Destructor Documentation

◆ DownloaderContext()

DownloaderContext::DownloaderContext ( Downloader dl,
ClientHttpRequest h 
)

Definition at line 40 of file Downloader.cc.

References debugs.

◆ ~DownloaderContext()

DownloaderContext::~DownloaderContext ( )
override

Definition at line 47 of file Downloader.cc.

References debugs, finished(), and http.

Member Function Documentation

◆ finished()

void DownloaderContext::finished ( )

Definition at line 55 of file Downloader.cc.

References http.

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

◆ MEMPROXY_CLASS()

DownloaderContext::MEMPROXY_CLASS ( DownloaderContext  )
private

Member Data Documentation

◆ downloader

CbcPointer<Downloader> DownloaderContext::downloader

Definition at line 35 of file Downloader.cc.

Referenced by downloaderRecipient().

◆ http

ClientHttpRequest* DownloaderContext::http

Definition at line 36 of file Downloader.cc.

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

◆ requestBuffer

char DownloaderContext::requestBuffer[HTTP_REQBUF_SZ]

Definition at line 37 of file Downloader.cc.

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


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors