ED2KPacket::GlobStatRes Class Reference

Global stats response - includes the servers current users/files counts. More...

#include <packets.h>

Inheritance diagram for ED2KPacket::GlobStatRes:

ED2KPacket::Packet List of all members.

Public Member Functions

 GlobStatRes (std::istream &i)
uint32_t getChallenge () const
uint32_t getUsers () const
uint32_t getFiles () const
uint32_t getMaxUsers () const
uint32_t getSoftLimit () const
uint32_t getHardLimit () const
uint32_t getUdpFlags () const
uint32_t getLowIdUsers () const

Private Attributes

uint32_t m_challenge
 Challenge; equals GlobStatReq::m_challenge.
uint32_t m_users
 Current online users.
uint32_t m_files
 Current online files.
uint32_t m_maxUsers
 Max users seen online.
uint32_t m_softLimit
 Soft files count limit.
uint32_t m_hardLimit
 Hard files count limit.
uint32_t m_udpFlags
 UDP flags.
uint32_t m_lowIdUsers
 Number of online LowId users.

Detailed Description

Global stats response - includes the servers current users/files counts.

Definition at line 440 of file packets.h.

Constructor & Destructor Documentation

ED2KPacket::GlobStatRes::GlobStatRes std::istream &  i  ) 

Definition at line 545 of file packets.cpp.

References m_challenge, m_files, m_hardLimit, m_lowIdUsers, m_maxUsers, m_softLimit, m_udpFlags, and m_users.

Member Function Documentation

uint32_t ED2KPacket::GlobStatRes::getChallenge  )  const [inline]

Definition at line 444 of file packets.h.

References m_challenge.

Referenced by ServerList::handleGlobStatRes().

uint32_t ED2KPacket::GlobStatRes::getUsers  )  const [inline]

Definition at line 445 of file packets.h.

References m_users.

Referenced by ServerList::handleGlobStatRes().

uint32_t ED2KPacket::GlobStatRes::getFiles  )  const [inline]

Definition at line 446 of file packets.h.

References m_files.

Referenced by ServerList::handleGlobStatRes().

uint32_t ED2KPacket::GlobStatRes::getMaxUsers  )  const [inline]

Definition at line 447 of file packets.h.

References m_maxUsers.

Referenced by ServerList::handleGlobStatRes().

uint32_t ED2KPacket::GlobStatRes::getSoftLimit  )  const [inline]

Definition at line 448 of file packets.h.

References m_softLimit.

Referenced by ServerList::handleGlobStatRes().

uint32_t ED2KPacket::GlobStatRes::getHardLimit  )  const [inline]

Definition at line 449 of file packets.h.

References m_hardLimit.

Referenced by ServerList::handleGlobStatRes().

uint32_t ED2KPacket::GlobStatRes::getUdpFlags  )  const [inline]

Definition at line 450 of file packets.h.

References m_udpFlags.

Referenced by ServerList::handleGlobStatRes().

uint32_t ED2KPacket::GlobStatRes::getLowIdUsers  )  const [inline]

Definition at line 451 of file packets.h.

References m_lowIdUsers.

Referenced by ServerList::handleGlobStatRes().

Member Data Documentation

uint32_t ED2KPacket::GlobStatRes::m_challenge [private]

Challenge; equals GlobStatReq::m_challenge.

Definition at line 453 of file packets.h.

Referenced by getChallenge(), and GlobStatRes().

uint32_t ED2KPacket::GlobStatRes::m_users [private]

Current online users.

Definition at line 454 of file packets.h.

Referenced by getUsers(), and GlobStatRes().

uint32_t ED2KPacket::GlobStatRes::m_files [private]

Current online files.

Definition at line 455 of file packets.h.

Referenced by getFiles(), and GlobStatRes().

uint32_t ED2KPacket::GlobStatRes::m_maxUsers [private]

Max users seen online.

Definition at line 456 of file packets.h.

Referenced by getMaxUsers(), and GlobStatRes().

uint32_t ED2KPacket::GlobStatRes::m_softLimit [private]

Soft files count limit.

Definition at line 457 of file packets.h.

Referenced by getSoftLimit(), and GlobStatRes().

uint32_t ED2KPacket::GlobStatRes::m_hardLimit [private]

Hard files count limit.

Definition at line 458 of file packets.h.

Referenced by getHardLimit(), and GlobStatRes().

uint32_t ED2KPacket::GlobStatRes::m_udpFlags [private]

UDP flags.

Definition at line 459 of file packets.h.

Referenced by getUdpFlags(), and GlobStatRes().

uint32_t ED2KPacket::GlobStatRes::m_lowIdUsers [private]

Number of online LowId users.

Definition at line 460 of file packets.h.

Referenced by getLowIdUsers(), and GlobStatRes().

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