Inheritance diagram for DownloaderContext:
Collaboration diagram for DownloaderContext:

Public Types

typedef RefCount< DownloaderContextPointer

Public Member Functions

void * operator new (size_t byteCount)
void operator delete (void *address)
 DownloaderContext (Downloader *dl, ClientHttpRequest *h)
 ~DownloaderContext ()
void finished ()

Static Public Member Functions

static int UseCount ()

Public Attributes

CbcPointer< Downloaderdownloader
char requestBuffer [HTTP_REQBUF_SZ]

Static Private Member Functions

static Mem::AllocatorProxyPool ()

Detailed Description

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

Definition at line 23 of file

Member Typedef Documentation

◆ Pointer

Constructor & Destructor Documentation

◆ DownloaderContext()

DownloaderContext::DownloaderContext ( Downloader dl,
ClientHttpRequest h 

Definition at line 39 of file

References debugs.

◆ ~DownloaderContext()

DownloaderContext::~DownloaderContext ( )

Definition at line 46 of file

References debugs, finished(), and http.

Member Function Documentation

◆ finished()

void DownloaderContext::finished ( )

Definition at line 54 of file

References http.

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

◆ operator delete()

void DownloaderContext::operator delete ( void *  address)

Definition at line 25 of file

◆ operator new()

void* DownloaderContext::operator new ( size_t  byteCount)

Definition at line 25 of file

◆ Pool()

static Mem::AllocatorProxy& DownloaderContext::Pool ( )

Definition at line 25 of file

◆ UseCount()

static int DownloaderContext::UseCount ( )

Definition at line 25 of file

Member Data Documentation

◆ downloader

CbcPointer<Downloader> DownloaderContext::downloader

Definition at line 34 of file

Referenced by downloaderRecipient().

◆ http

ClientHttpRequest* DownloaderContext::http

Definition at line 35 of file

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

◆ requestBuffer

char DownloaderContext::requestBuffer[HTTP_REQBUF_SZ]

Definition at line 36 of file

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

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






Web Site Translations