ED2KPacket::SetReqFileId Class Reference

SetReqFileId is the last request from the client, binding the requested file to the hash sent in this packet. More...

#include <packets.h>

Inheritance diagram for ED2KPacket::SetReqFileId:

ED2KPacket::Packet List of all members.

Public Member Functions

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

Private Attributes

Hash< ED2KHash > m_hash

Detailed Description

SetReqFileId is the last request from the client, binding the requested file to the hash sent in this packet.

This means the client is bound to receive the file corresponding to the hash from us. Note that it is allowed (by eMule extended protocol) to change the requested file while waiting on the queue.

Definition at line 622 of file packets.h.


Constructor & Destructor Documentation

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

Definition at line 842 of file packets.cpp.

ED2KPacket::SetReqFileId::SetReqFileId std::istream &  i  ) 
 

Definition at line 843 of file packets.cpp.

References m_hash.


Member Function Documentation

ED2KPacket::SetReqFileId::operator std::string  ) 
 

Definition at line 846 of file packets.cpp.

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

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

Definition at line 628 of file packets.h.

References m_hash.


Member Data Documentation

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

Definition at line 630 of file packets.h.

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


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