Google
Web alhem.net

TrackerSock Class Reference

#include <TrackerSock.h>

List of all members.

Public Member Functions

 TrackerSock (ISocketHandler &)
 ~TrackerSock ()
void OnFirst ()
void OnHeader (const std::string &, const std::string &)
void OnHeaderComplete ()
void OnData (const char *, size_t)

Private Attributes

std::string m_info_hash
std::map< std::string, std::string > m_par
std::string m_uri


Detailed Description

File ......... TrackerSock.h Published .... 2004-04-20

Definition at line 29 of file TrackerSock.h.


Constructor & Destructor Documentation

TrackerSock::TrackerSock ( ISocketHandler &  h  ) 

File ......... TrackerSock.cpp Published .... 2004-04-20

Definition at line 31 of file TrackerSock.cpp.

TrackerSock::~TrackerSock (  ) 

Definition at line 38 of file TrackerSock.cpp.


Member Function Documentation

void TrackerSock::OnFirst (  ) 

Definition at line 44 of file TrackerSock.cpp.

References m_info_hash, m_par, and m_uri.

void TrackerSock::OnHeader ( const std::string &  ,
const std::string &   
) [inline]

Definition at line 36 of file TrackerSock.h.

void TrackerSock::OnHeaderComplete (  ) 

Definition at line 93 of file TrackerSock.cpp.

References m_info_hash, m_par, and m_uri.

void TrackerSock::OnData ( const char *  ,
size_t   
) [inline]

Definition at line 38 of file TrackerSock.h.


Member Data Documentation

std::string TrackerSock::m_info_hash [private]

Definition at line 41 of file TrackerSock.h.

Referenced by OnFirst(), and OnHeaderComplete().

std::map<std::string,std::string> TrackerSock::m_par [private]

Definition at line 42 of file TrackerSock.h.

Referenced by OnFirst(), and OnHeaderComplete().

std::string TrackerSock::m_uri [private]

Definition at line 43 of file TrackerSock.h.

Referenced by OnFirst(), and OnHeaderComplete().


The documentation for this class was generated from the following files:
Generated on Thu Sep 27 12:58:30 2007 for distributed bittorrent tracker by  doxygen 1.5.2