ED2KPacket::GlobFoundSources Class Reference

Response to UDP GlobGetSources, this packet includes hash and list of sources corresponding to that hash. More...

#include <packets.h>

Inheritance diagram for ED2KPacket::GlobFoundSources:

ED2KPacket::Packet List of all members.

Public Types

typedef std::vector< IPV4Address
>::iterator 
Iter

Public Member Functions

 GlobFoundSources (std::istream &i)
size_t size () const
Iter begin ()
Iter end ()
Hash< ED2KHash > getHash () const

Private Attributes

Hash< ED2KHash > m_hash
 File these sources belong to.
std::vector< IPV4Address > m_sources
 Sources list.

Detailed Description

Response to UDP GlobGetSources, this packet includes hash and list of sources corresponding to that hash.

Definition at line 408 of file packets.h.


Member Typedef Documentation

typedef std::vector<IPV4Address>::iterator ED2KPacket::GlobFoundSources::Iter
 

Definition at line 410 of file packets.h.


Constructor & Destructor Documentation

ED2KPacket::GlobFoundSources::GlobFoundSources std::istream &  i  ) 
 

Definition at line 519 of file packets.cpp.

References m_hash, and m_sources.


Member Function Documentation

size_t ED2KPacket::GlobFoundSources::size  )  const [inline]
 

Definition at line 414 of file packets.h.

References m_sources.

Referenced by ServerList::handleGlobSources().

Iter ED2KPacket::GlobFoundSources::begin  )  [inline]
 

Definition at line 415 of file packets.h.

References m_sources.

Referenced by ServerList::handleGlobSources().

Iter ED2KPacket::GlobFoundSources::end  )  [inline]
 

Definition at line 416 of file packets.h.

References m_sources.

Referenced by ServerList::handleGlobSources().

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

Definition at line 417 of file packets.h.

References m_hash.

Referenced by ServerList::handleGlobSources().


Member Data Documentation

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

File these sources belong to.

Definition at line 419 of file packets.h.

Referenced by getHash(), and GlobFoundSources().

std::vector<IPV4Address> ED2KPacket::GlobFoundSources::m_sources [private]
 

Sources list.

Definition at line 420 of file packets.h.

Referenced by begin(), end(), GlobFoundSources(), and size().


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