HTTPSocket Class Reference

#include <HTTPSocket.h>

Inheritance diagram for HTTPSocket:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 HTTPSocket (void)
virtual ~HTTPSocket (void)
virtual bool setupSocket (string inSourceLocation)
virtual void closeSocket ()
virtual bool splitURL (string inURL)
virtual string assembleRequest (string inFilePath)
bool httpRequest (string inRequest)

Protected Attributes

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

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.


Member Function Documentation

string HTTPSocket::assembleRequest string  inFilePath  )  [virtual]
 

Definition at line 134 of file HTTPSocket.cpp.

References mServerName.

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

void HTTPSocket::closeSocket  )  [virtual]
 

Definition at line 205 of file HTTPSocket.cpp.

References mSocket.

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

bool HTTPSocket::httpRequest string  inRequest  ) 
 

Definition at line 141 of file HTTPSocket.cpp.

References mSocket.

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

bool HTTPSocket::setupSocket string  inSourceLocation  )  [virtual]
 

Definition at line 67 of file HTTPSocket.cpp.

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

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

Here is the call graph for this function:

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 49 of file HTTPSocket.h.

Referenced by splitURL().

bool HTTPSocket::mIsEOF [protected]
 

Definition at line 54 of file HTTPSocket.h.

bool HTTPSocket::mIsOpen [protected]
 

Definition at line 56 of file HTTPSocket.h.

string HTTPSocket::mLastResponse [protected]
 

Definition at line 51 of file HTTPSocket.h.

unsigned short HTTPSocket::mPort [protected]
 

Definition at line 50 of file HTTPSocket.h.

Referenced by setupSocket(), and splitURL().

bool HTTPSocket::mSeenResponse [protected]
 

Definition at line 57 of file HTTPSocket.h.

string HTTPSocket::mServerName [protected]
 

Definition at line 48 of file HTTPSocket.h.

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

SOCKET HTTPSocket::mSocket [protected]
 

Definition at line 52 of file HTTPSocket.h.

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

bool HTTPSocket::mWasError [protected]
 

Definition at line 55 of file HTTPSocket.h.


The documentation for this class was generated from the following files:
Generated on Tue Feb 15 15:03:20 2005 for oggdsf by  doxygen 1.3.9