#include <llcurl.h>
Collaboration diagram for LLCurl::Multi:
Public Member Functions | |
Multi () | |
~Multi () | |
void | get (const std::string &url, ResponderPtr) |
void | getByteRange (const std::string &url, S32 offset, S32 length, ResponderPtr) |
void | process () |
Private Types | |
typedef std::vector< Easy * > | EasyList |
Private Member Functions | |
Easy * | easyAlloc () |
void | easyFree (Easy *) |
Private Attributes | |
CURLM * | mHandle |
EasyList | mFreeEasy |
Definition at line 108 of file llcurl.h.
typedef std::vector<Easy*> LLCurl::Multi::EasyList [private] |
LLCurl::Multi::Multi | ( | ) |
LLCurl::Multi::~Multi | ( | ) |
LLCurl::Easy * LLCurl::Multi::easyAlloc | ( | ) | [private] |
Definition at line 306 of file llcurl.cpp.
References mFreeEasy.
Referenced by get(), and getByteRange().
void LLCurl::Multi::get | ( | const std::string & | url, | |
ResponderPtr | ||||
) |
Definition at line 261 of file llcurl.cpp.
References easyAlloc(), LLCurl::Easy::get(), LLCurl::Easy::mHandle, and mHandle.
Referenced by LLCurl::get().
void LLCurl::Multi::getByteRange | ( | const std::string & | url, | |
S32 | offset, | |||
S32 | length, | |||
ResponderPtr | ||||
) |
Definition at line 269 of file llcurl.cpp.
References easyAlloc(), LLCurl::Easy::getByteRange(), LLCurl::Easy::mHandle, and mHandle.
Referenced by LLCurl::getByteRange().
void LLCurl::Multi::process | ( | ) |
Definition at line 277 of file llcurl.cpp.
References count, easyFree(), and mHandle.
Referenced by LLCurl::process().
EasyList LLCurl::Multi::mFreeEasy [private] |
CURLM* LLCurl::Multi::mHandle [private] |