ED2KPacket::NoFile Class Reference

Answer to SetReqFileId packet, this indicates that we are not sharing the file currently. More...

#include <packets.h>

Inheritance diagram for ED2KPacket::NoFile:

ED2KPacket::Packet List of all members.

Public Member Functions

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

Private Attributes

Hash< ED2KHash > m_hash

Detailed Description

Answer to SetReqFileId packet, this indicates that we are not sharing the file currently.

Definition at line 637 of file packets.h.


Constructor & Destructor Documentation

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

Definition at line 855 of file packets.cpp.

ED2KPacket::NoFile::NoFile std::istream &  i  ) 
 

Definition at line 856 of file packets.cpp.

References m_hash.


Member Function Documentation

ED2KPacket::NoFile::operator std::string  ) 
 

Definition at line 859 of file packets.cpp.

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

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

Definition at line 643 of file packets.h.

References m_hash.


Member Data Documentation

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

Definition at line 645 of file packets.h.

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


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