LLCurl::Multi Class Reference

#include <llcurl.h>

Collaboration diagram for LLCurl::Multi:

Collaboration graph
[legend]
List of all members.

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

EasyeasyAlloc ()
void easyFree (Easy *)

Private Attributes

CURLM * mHandle
EasyList mFreeEasy

Detailed Description

Definition at line 108 of file llcurl.h.


Member Typedef Documentation

typedef std::vector<Easy*> LLCurl::Multi::EasyList [private]

Definition at line 125 of file llcurl.h.


Constructor & Destructor Documentation

LLCurl::Multi::Multi (  ) 

Definition at line 248 of file llcurl.cpp.

References mHandle.

LLCurl::Multi::~Multi (  ) 

Definition at line 253 of file llcurl.cpp.

References mHandle.


Member Function Documentation

LLCurl::Easy * LLCurl::Multi::easyAlloc (  )  [private]

Definition at line 306 of file llcurl.cpp.

References mFreeEasy.

Referenced by get(), and getByteRange().

void LLCurl::Multi::easyFree ( Easy  )  [private]

Definition at line 324 of file llcurl.cpp.

References mFreeEasy.

Referenced by process().

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().


Member Data Documentation

EasyList LLCurl::Multi::mFreeEasy [private]

Definition at line 126 of file llcurl.h.

Referenced by easyAlloc(), and easyFree().

CURLM* LLCurl::Multi::mHandle [private]

Definition at line 123 of file llcurl.h.

Referenced by get(), getByteRange(), Multi(), process(), and ~Multi().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:13 2010 for Second Life Viewer by  doxygen 1.4.7