#include <HTTPFileSource.h>
Inheritance diagram for HTTPFileSource:


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 | |
| void | unChunk (unsigned char *inBuff, unsigned long inNumBytes) |
| 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 |
| bool | mIsChunked |
| unsigned long | mChunkRemains |
| bool | mIsFirstChunk |
| fstream | debugLog |
| fstream | fileDump |
| fstream | rawDump |
| unsigned char * | mInterBuff |
| unsigned long | mNumLeftovers |
| CCritSec * | mBufferLock |
| string | mServerName |
| string | mFileName |
| unsigned short | mPort |
| string | mLastResponse |
| SOCKET | mSocket |
| bool | mIsEOF |
| bool | mWasError |
| bool | mIsOpen |
| bool | mSeenResponse |
Static Protected Attributes | |
| const unsigned long | RECV_BUFF_SIZE = 1024 |
|
|
Definition at line 34 of file HTTPFileSource.cpp. References debugLog, false, fileDump, mBufferLock, mInterBuff, rawDump, RECV_BUFF_SIZE, and true. |
|
|
Definition at line 51 of file HTTPFileSource.cpp. |
Here is the call graph for this function:

|
|
Definition at line 134 of file HTTPSocket.cpp. References HTTPSocket::mServerName. Referenced by open(), and CachedHTTPFileSource::open(). |
|
|
Implements IFilterDataSource. Definition at line 358 of file HTTPFileSource.cpp. |
|
|
Implements IFilterDataSource. Definition at line 288 of file HTTPFileSource.cpp. References HTTPSocket::closeSocket(), and THREAD_EXIT. Referenced by ~HTTPFileSource(). |
Here is the call graph for this function:

|
|
Definition at line 205 of file HTTPSocket.cpp. References HTTPSocket::mSocket. Referenced by close(), CachedHTTPFileSource::close(), open(), and CachedHTTPFileSource::open(). |
|
|
Definition at line 167 of file HTTPFileSource.cpp. References mBufferLock, mFileCache, mIsChunked, RECV_BUFF_SIZE, unChunk(), and SingleMediaFileCache::write(). Referenced by ThreadProc(). |
Here is the call graph for this function:

|
|
Definition at line 141 of file HTTPSocket.cpp. References HTTPSocket::mSocket. Referenced by open(), and CachedHTTPFileSource::open(). |
|
|
Implements IFilterDataSource. Definition at line 363 of file HTTPFileSource.cpp. References SingleMediaFileCache::bytesAvail(), mBufferLock, and mFileCache. |
Here is the call graph for this function:

|
|
Implements IFilterDataSource. Definition at line 311 of file HTTPFileSource.cpp. References HTTPSocket::assembleRequest(), HTTPSocket::closeSocket(), HTTPSocket::httpRequest(), mBufferLock, mFileCache, StringHelper::numToString(), SingleMediaFileCache::open(), HTTPSocket::setupSocket(), and startThread(). |
Here is the call graph for this function:

|
||||||||||||
|
Implements IFilterDataSource. Definition at line 379 of file HTTPFileSource.cpp. References SingleMediaFileCache::bytesAvail(), mBufferLock, mFileCache, and SingleMediaFileCache::read(). |
Here is the call graph for this function:

|
|
Implements IFilterDataSource. Definition at line 274 of file HTTPFileSource.cpp. References mFileCache, and SingleMediaFileCache::readSeek(). |
Here is the call graph for this function:

|
|
Definition at line 67 of file HTTPSocket.cpp. References HTTPSocket::mPort, HTTPSocket::mServerName, HTTPSocket::mSocket, and HTTPSocket::splitURL(). Referenced by open(), and CachedHTTPFileSource::open(). |
Here is the call graph for this function:

|
|
Definition at line 153 of file HTTPSocket.cpp. References HTTPSocket::mFileName, HTTPSocket::mPort, and HTTPSocket::mServerName. Referenced by HTTPSocket::setupSocket(). |
|
|
Definition at line 304 of file HTTPFileSource.cpp. References THREAD_RUN. Referenced by open(). |
|
|
Definition at line 254 of file HTTPFileSource.cpp. References DataProcessLoop(), THREAD_EXIT, and THREAD_RUN. |
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 65 of file HTTPFileSource.cpp. References fileDump, mChunkRemains, mFileCache, mInterBuff, mIsFirstChunk, mNumLeftovers, rawDump, and SingleMediaFileCache::write(). Referenced by DataProcessLoop(). |
Here is the call graph for this function:

|
|
Definition at line 78 of file HTTPFileSource.h. Referenced by HTTPFileSource(), and ~HTTPFileSource(). |
|
|
Definition at line 79 of file HTTPFileSource.h. Referenced by HTTPFileSource(), unChunk(), and ~HTTPFileSource(). |
|
|
Definition at line 86 of file HTTPFileSource.h. Referenced by DataProcessLoop(), HTTPFileSource(), isEOF(), open(), and read(). |
|
|
Definition at line 74 of file HTTPFileSource.h. Referenced by unChunk(). |
|
|
Definition at line 71 of file HTTPFileSource.h. Referenced by DataProcessLoop(), isEOF(), open(), read(), seek(), and unChunk(). |
|
|
Definition at line 49 of file HTTPSocket.h. Referenced by HTTPSocket::splitURL(). |
|
|
Definition at line 82 of file HTTPFileSource.h. Referenced by HTTPFileSource(), and unChunk(). |
|
|
Definition at line 73 of file HTTPFileSource.h. Referenced by DataProcessLoop(). |
|
|
Definition at line 54 of file HTTPSocket.h. |
|
|
Definition at line 76 of file HTTPFileSource.h. Referenced by unChunk(). |
|
|
Definition at line 56 of file HTTPSocket.h. |
|
|
Definition at line 51 of file HTTPSocket.h. |
|
|
Definition at line 83 of file HTTPFileSource.h. Referenced by unChunk(). |
|
|
Definition at line 50 of file HTTPSocket.h. Referenced by HTTPSocket::setupSocket(), and HTTPSocket::splitURL(). |
|
|
Definition at line 57 of file HTTPSocket.h. |
|
|
Definition at line 48 of file HTTPSocket.h. Referenced by HTTPSocket::assembleRequest(), HTTPSocket::setupSocket(), and HTTPSocket::splitURL(). |
|
|
Definition at line 52 of file HTTPSocket.h. Referenced by HTTPSocket::closeSocket(), HTTPSocket::httpRequest(), and HTTPSocket::setupSocket(). |
|
|
Definition at line 55 of file HTTPSocket.h. |
|
|
Definition at line 80 of file HTTPFileSource.h. Referenced by HTTPFileSource(), unChunk(), and ~HTTPFileSource(). |
|
|
Definition at line 84 of file HTTPFileSource.h. Referenced by DataProcessLoop(), and HTTPFileSource(). |
|
|
Definition at line 53 of file HTTPFileSource.h. Referenced by close(), and ThreadProc(). |
|
|
Definition at line 52 of file HTTPFileSource.h. Referenced by startThread(), and ThreadProc(). |
1.3.9