ED2KPacket::ReqSources Class Reference

Request sources for a hash from server. More...

#include <packets.h>

Inheritance diagram for ED2KPacket::ReqSources:

ED2KPacket::Packet List of all members.

Public Member Functions

 ReqSources (const Hash< ED2KHash > &h)
 operator std::string ()

Private Attributes

Hash< ED2KHash > m_hash
 File to request sources for.

Detailed Description

Request sources for a hash from server.

Note: Requesting sources costs credits on server, and thus should be used carefully to avoid getting blacklisted.

Definition at line 362 of file packets.h.

Constructor & Destructor Documentation

ED2KPacket::ReqSources::ReqSources const Hash< ED2KHash > &  h  ) 

Definition at line 478 of file packets.cpp.

Member Function Documentation

ED2KPacket::ReqSources::operator std::string  ) 

Definition at line 479 of file packets.cpp.

References m_hash, ED2KPacket::Packet::makePacket(), and OP_GETSOURCES.

Member Data Documentation

Hash<ED2KHash> ED2KPacket::ReqSources::m_hash [private]

File to request sources for.

Definition at line 367 of file packets.h.

Referenced by operator std::string().

The documentation for this class was generated from the following files: