Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

HTTPFileSource Class Reference

#include <HTTPFileSource.h>

Inherits IFilterDataSource, and HTTPSocket.

Inheritance diagram for HTTPFileSource:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 HTTPFileSource (void)
virtual ~HTTPFileSource (void)
virtual unsigned long seek (unsigned long inPos)
virtual void close ()
virtual bool open (string inSourceLocation)
virtual void clear ()
virtual bool isEOF ()
virtual unsigned long read (char *outBuffer, unsigned long inNumBytes)
DWORD ThreadProc ()

Static Public Attributes

const int THREAD_RUN = 0
const int THREAD_EXIT = 1

Protected Member Functions

bool startThread ()
void DataProcessLoop ()
virtual bool setupSocket (string inSourceLocation)
virtual void closeSocket ()
virtual bool splitURL (string inURL)
virtual string assembleRequest (string inFilePath)
bool httpRequest (string inRequest)

Protected Attributes

SingleMediaFileCache mFileCache
CCritSec * mBufferLock
string mServerName
string mFileName
unsigned short mPort
string mLastResponse
SOCKET mSocket
bool mIsEOF
bool mWasError
bool mIsOpen
bool mSeenResponse

Constructor & Destructor Documentation

HTTPFileSource::HTTPFileSource void   ) 
 

HTTPFileSource::~HTTPFileSource void   )  [virtual]
 


Member Function Documentation

string HTTPSocket::assembleRequest string  inFilePath  )  [virtual, inherited]
 

void HTTPFileSource::clear  )  [virtual]
 

Implements IFilterDataSource.

void HTTPFileSource::close  )  [virtual]
 

Implements IFilterDataSource.

void HTTPSocket::closeSocket  )  [virtual, inherited]
 

void HTTPFileSource::DataProcessLoop  )  [protected]
 

bool HTTPSocket::httpRequest string  inRequest  )  [inherited]
 

bool HTTPFileSource::isEOF  )  [virtual]
 

Implements IFilterDataSource.

bool HTTPFileSource::open string  inSourceLocation  )  [virtual]
 

Implements IFilterDataSource.

unsigned long HTTPFileSource::read char *  outBuffer,
unsigned long  inNumBytes
[virtual]
 

Implements IFilterDataSource.

unsigned long HTTPFileSource::seek unsigned long  inPos  )  [virtual]
 

Implements IFilterDataSource.

bool HTTPSocket::setupSocket string  inSourceLocation  )  [virtual, inherited]
 

bool HTTPSocket::splitURL string  inURL  )  [virtual, inherited]
 

bool HTTPFileSource::startThread  )  [protected]
 

DWORD HTTPFileSource::ThreadProc  ) 
 


Member Data Documentation

CCritSec* HTTPFileSource::mBufferLock [protected]
 

SingleMediaFileCache HTTPFileSource::mFileCache [protected]
 

string HTTPSocket::mFileName [protected, inherited]
 

bool HTTPSocket::mIsEOF [protected, inherited]
 

bool HTTPSocket::mIsOpen [protected, inherited]
 

string HTTPSocket::mLastResponse [protected, inherited]
 

unsigned short HTTPSocket::mPort [protected, inherited]
 

bool HTTPSocket::mSeenResponse [protected, inherited]
 

string HTTPSocket::mServerName [protected, inherited]
 

SOCKET HTTPSocket::mSocket [protected, inherited]
 

bool HTTPSocket::mWasError [protected, inherited]
 

const int HTTPFileSource::THREAD_EXIT = 1 [static]
 

const int HTTPFileSource::THREAD_RUN = 0 [static]
 


The documentation for this class was generated from the following files:
Generated on Fri Nov 5 22:34:14 2004 for oggdsf by  doxygen 1.3.9