ED2KPacket::SourceExchReq Class Reference

SourceExchReq packet is sent from one client to another in order to request all sources the remote client knows for a hash. More...

#include <packets.h>

Inheritance diagram for ED2KPacket::SourceExchReq:

ED2KPacket::Packet List of all members.

Public Member Functions

 SourceExchReq (const Hash< ED2KHash > &hash)
 SourceExchReq (std::istream &i)
 operator std::string ()
Hash< ED2KHash > getHash () const

Private Attributes

Hash< ED2KHash > m_hash

Detailed Description

SourceExchReq packet is sent from one client to another in order to request all sources the remote client knows for a hash.

Definition at line 861 of file packets.h.


Constructor & Destructor Documentation

ED2KPacket::SourceExchReq::SourceExchReq const Hash< ED2KHash > &  hash  ) 
 

Definition at line 1112 of file packets.cpp.

References m_hash, and PR_EMULE.

ED2KPacket::SourceExchReq::SourceExchReq std::istream &  i  ) 
 

Definition at line 1116 of file packets.cpp.

References m_hash.


Member Function Documentation

ED2KPacket::SourceExchReq::operator std::string  ) 
 

Definition at line 1119 of file packets.cpp.

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

Hash<ED2KHash> ED2KPacket::SourceExchReq::getHash  )  const [inline]
 

Definition at line 867 of file packets.h.

References m_hash.


Member Data Documentation

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

Definition at line 869 of file packets.h.

Referenced by getHash(), operator std::string(), and SourceExchReq().


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