Downloader.h
Go to the documentation of this file.
50 Downloader(const SBuf &url, const AsyncCall::Pointer &aCallback, const MasterXactionPointer &, unsigned int level = 0);
Definition: AsyncJob.h:32
Definition: Downloader.cc:25
virtual bool canDial(AsyncCall &call)=0
virtual void dial(AsyncCall &call)=0
Definition: forward.h:22
CBDATA_CLASS(Downloader)
Definition: clientStream.h:76
Definition: StoreIOBuffer.h:16
Definition: client_side_request.h:38
Downloader(const SBuf &url, const AsyncCall::Pointer &aCallback, const MasterXactionPointer &, unsigned int level=0)
Definition: Downloader.cc:67
Definition: Downloader.h:31
void handleReply(clientStreamNode *, ClientHttpRequest *, HttpReply *, StoreIOBuffer)
Definition: Downloader.cc:188
virtual const char * status() const
internal cleanup; do not call directly
Definition: AsyncJob.cc:167
Definition: HttpReply.h:25
unsigned int nestedLevel() const
The nested level of Downloader object (downloads inside downloads).
Definition: Downloader.h:58
Definition: AsyncCall.h:106
bool buildRequest()
Initializes and starts the HTTP GET request to the remote server.
Definition: Downloader.cc:132
DownloaderContextPointer context_
Pointer to an object that stores the clientStream required info.
Definition: Downloader.h:83
RefCount< DownloaderContext > DownloaderContextPointer
Definition: Downloader.h:21
Definition: AsyncCall.h:40
Definition: MasterXaction.h:40