ED2KPacket::ChangeId Class Reference

ChangeId packet indicates the sending client changed it's ID on the net from oldId to newId. More...

#include <packets.h>

Inheritance diagram for ED2KPacket::ChangeId:

ED2KPacket::Packet List of all members.

Public Member Functions

 ChangeId (uint32_t oldId, uint32_t newId)
 ChangeId (std::istream &i)
 operator std::string ()
uint32_t getOldId () const
uint32_t getNewId () const

Private Attributes

uint32_t m_oldId
uint32_t m_newId

Detailed Description

ChangeId packet indicates the sending client changed it's ID on the net from oldId to newId.

Definition at line 930 of file packets.h.


Constructor & Destructor Documentation

ED2KPacket::ChangeId::ChangeId uint32_t  oldId,
uint32_t  newId
 

Definition at line 1196 of file packets.cpp.

References m_newId, and m_oldId.

ED2KPacket::ChangeId::ChangeId std::istream &  i  ) 
 

Definition at line 1201 of file packets.cpp.

References m_newId, and m_oldId.


Member Function Documentation

ED2KPacket::ChangeId::operator std::string  ) 
 

Definition at line 1208 of file packets.cpp.

References m_newId, m_oldId, ED2KPacket::Packet::makePacket(), and OP_CHANGEID.

uint32_t ED2KPacket::ChangeId::getOldId  )  const [inline]
 

Definition at line 936 of file packets.h.

References m_oldId.

uint32_t ED2KPacket::ChangeId::getNewId  )  const [inline]
 

Definition at line 937 of file packets.h.

References m_newId.


Member Data Documentation

uint32_t ED2KPacket::ChangeId::m_oldId [private]
 

Definition at line 939 of file packets.h.

Referenced by ChangeId(), getOldId(), and operator std::string().

uint32_t ED2KPacket::ChangeId::m_newId [private]
 

Definition at line 940 of file packets.h.

Referenced by ChangeId(), getNewId(), and operator std::string().


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