BazisLib::Network::HTTP::AutoHTTPClient Class Reference

Allows getting AIFile pointers for HTTP-accessible files. More...

#include <http.h>

Inherits BazisLib::Network::HTTP::HTTPClient.

Collaboration diagram for BazisLib::Network::HTTP::AutoHTTPClient:

Collaboration graph
[legend]

List of all members.

Public Member Functions

ManagedPointer< AIFileOpenDocument (const std::string &URL, const std::string &Login, const std::string &Password, bool ReadAheadCache=true, PNETPROGRESSPROC pProgress=0, void *pContext=0, unsigned ThreadID=0, const ConstManagedPointer< ACHTTPRequest > *ppHeaderOverride=NULL)
 Opens a HTTP document and returns a managed AIFile pointer.

Friends

class HTTPFile


Detailed Description

Allows getting AIFile pointers for HTTP-accessible files.

This class creates HTTPFile objects, that support AIFile interface for files retreived using HTTP protocol. The class is an automatic class and uses the Object Manager. The decision to use object manager is based on the fact that created AIFile object need references to the HTTP client. However, as some multi-threaded scenarios can be used, there is no way to ensure that the HTTP client is not deleted before all its HTTPFile-s are other than implement reference counting, that is actually performed by the Object Manager.


Member Function Documentation

ManagedPointer<AIFile> BazisLib::Network::HTTP::AutoHTTPClient::OpenDocument ( const std::string &  URL,
const std::string &  Login,
const std::string &  Password,
bool  ReadAheadCache = true,
PNETPROGRESSPROC  pProgress = 0,
void *  pContext = 0,
unsigned  ThreadID = 0,
const ConstManagedPointer< ACHTTPRequest > *  ppHeaderOverride = NULL 
)

Opens a HTTP document and returns a managed AIFile pointer.


Friends And Related Function Documentation

friend class HTTPFile [friend]


The documentation for this class was generated from the following file:
SourceForge.net Logo