HTTPSocket Class Reference

#include <HTTPSocket.h>

Inheritance diagram for HTTPSocket:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual string assembleRequest (string inFilePath, unsigned long inStartByte=0)
virtual string assembleRequest (string inFilePath)
virtual void closeSocket ()
virtual void closeSocket ()
bool httpRequest (string inRequest)
bool httpRequest (string inRequest)
 HTTPSocket (void)
 HTTPSocket (void)
virtual bool setupSocket (string inSourceLocation)
virtual bool setupSocket (string inSourceLocation)
virtual bool splitURL (string inURL)
virtual bool splitURL (string inURL)
virtual ~HTTPSocket (void)
virtual ~HTTPSocket (void)

Protected Attributes

string mFileName
bool mIsEOF
bool mIsOpen
string mLastResponse
unsigned short mPort
bool mSeenResponse
string mServerName
SOCKET mSocket
string mSourceLocation
bool mWasError

Constructor & Destructor Documentation

HTTPSocket::HTTPSocket void   ) 
 

Definition at line 34 of file HTTPSocket.cpp.

References false.

HTTPSocket::~HTTPSocket void   )  [virtual]
 

Definition at line 58 of file HTTPSocket.cpp.

HTTPSocket::HTTPSocket void   ) 
 

virtual HTTPSocket::~HTTPSocket void   )  [virtual]
 


Member Function Documentation

string HTTPSocket::assembleRequest string  inFilePath,
unsigned long  inStartByte = 0
[virtual]
 

Definition at line 136 of file HTTPSocket.cpp.

References mServerName, and StringHelper::numToString().

Here is the call graph for this function:

string HTTPSocket::assembleRequest string  inFilePath  )  [virtual]
 

Definition at line 134 of file HTTPSocket.cpp.

References mServerName.

Referenced by HTTPStreamingFileSource::open(), HTTPFileSource::open(), and CachedHTTPFileSource::open().

virtual void HTTPSocket::closeSocket  )  [virtual]
 

void HTTPSocket::closeSocket  )  [virtual]
 

Definition at line 205 of file HTTPSocket.cpp.

References mSocket.

Referenced by HTTPStreamingFileSource::close(), HTTPFileSource::close(), CachedHTTPFileSource::close(), HTTPStreamingFileSource::open(), HTTPFileSource::open(), CachedHTTPFileSource::open(), and HTTPStreamingFileSource::seek().

bool HTTPSocket::httpRequest string  inRequest  ) 
 

bool HTTPSocket::httpRequest string  inRequest  ) 
 

Definition at line 141 of file HTTPSocket.cpp.

References mSocket.

Referenced by HTTPStreamingFileSource::open(), HTTPFileSource::open(), and CachedHTTPFileSource::open().

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

bool HTTPSocket::setupSocket string  inSourceLocation  )  [virtual]
 

Definition at line 67 of file HTTPSocket.cpp.

References mPort, mServerName, mSocket, and splitURL().

Referenced by HTTPStreamingFileSource::open(), HTTPFileSource::open(), and CachedHTTPFileSource::open().

Here is the call graph for this function:

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

bool HTTPSocket::splitURL string  inURL  )  [virtual]
 

Definition at line 153 of file HTTPSocket.cpp.

References mFileName, mPort, and mServerName.

Referenced by setupSocket().


Member Data Documentation

string HTTPSocket::mFileName [protected]
 

Definition at line 51 of file HTTPSocket.h.

Referenced by splitURL().

bool HTTPSocket::mIsEOF [protected]
 

Definition at line 58 of file HTTPSocket.h.

bool HTTPSocket::mIsOpen [protected]
 

Definition at line 60 of file HTTPSocket.h.

string HTTPSocket::mLastResponse [protected]
 

Definition at line 53 of file HTTPSocket.h.

unsigned short HTTPSocket::mPort [protected]
 

Definition at line 52 of file HTTPSocket.h.

Referenced by setupSocket(), and splitURL().

bool HTTPSocket::mSeenResponse [protected]
 

Definition at line 61 of file HTTPSocket.h.

string HTTPSocket::mServerName [protected]
 

Definition at line 50 of file HTTPSocket.h.

Referenced by assembleRequest(), setupSocket(), and splitURL().

SOCKET HTTPSocket::mSocket [protected]
 

Definition at line 54 of file HTTPSocket.h.

Referenced by closeSocket(), httpRequest(), and setupSocket().

string HTTPSocket::mSourceLocation [protected]
 

Definition at line 56 of file HTTPSocket.h.

bool HTTPSocket::mWasError [protected]
 

Definition at line 59 of file HTTPSocket.h.


The documentation for this class was generated from the following files:
Generated on Fri Feb 17 00:01:00 2006 for oggdsf by  doxygen 1.3.9