Downloader.h
Go to the documentation of this file.
51 Downloader(const SBuf &url, const AsyncCallback<Answer> &, const MasterXactionPointer &, unsigned int level = 0);
RefCount< DownloaderContext > DownloaderContextPointer
Definition: Downloader.h:23
std::ostream & operator<<(std::ostream &, const DownloaderAnswer &)
Definition: Downloader.cc:62
a smart AsyncCall pointer for delivery of future results
Definition: AsyncCallbacks.h:32
Definition: AsyncJob.h:32
virtual const char * status() const
internal cleanup; do not call directly
Definition: AsyncJob.cc:182
Definition: client_side_request.h:38
Definition: Downloader.cc:25
Definition: Downloader.h:46
CBDATA_CHILD(Downloader)
unsigned int nestedLevel() const
The nested level of Downloader object (downloads inside downloads).
Definition: Downloader.h:59
Downloader(const SBuf &url, const AsyncCallback< Answer > &, const MasterXactionPointer &, unsigned int level=0)
Definition: Downloader.cc:70
DownloaderContextPointer context_
Pointer to an object that stores the clientStream required info.
Definition: Downloader.h:87
bool buildRequest()
Initializes and starts the HTTP GET request to the remote server.
Definition: Downloader.cc:135
void handleReply(clientStreamNode *, ClientHttpRequest *, HttpReply *, StoreIOBuffer)
Definition: Downloader.cc:191
Definition: HttpReply.h:25
Definition: MasterXaction.h:40
Definition: StoreIOBuffer.h:16
Definition: clientStream.h:76