Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

SystemNotificationPacket Class Reference

#include <evaaddfriend.h>

Inherits InPacket.

Inheritance diagram for SystemNotificationPacket:

Inheritance graph
[legend]
Collaboration diagram for SystemNotificationPacket:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SystemNotificationPacket ()
 SystemNotificationPacket (unsigned char *buf, int len)
 SystemNotificationPacket (const SystemNotificationPacket &rhs)
virtual ~SystemNotificationPacket ()
virtual InPacketcopy ()
SystemNotificationPacketoperator= (const SystemNotificationPacket &rhs)
const uint8_t getType () const
const int getMyQQ () const
const int getFromQQ () const
const std::string getMessage () const

Protected Member Functions

virtual void parseBody ()

Private Attributes

uint8_t type
int fromQQ
int myQQ
std::string message

Static Private Attributes

static const uint8_t DIVIDER = 0x1f

Detailed Description

Definition at line 197 of file evaaddfriend.h.


Constructor & Destructor Documentation

SystemNotificationPacket::SystemNotificationPacket  )  [inline]
 

Definition at line 200 of file evaaddfriend.h.

Referenced by copy().

SystemNotificationPacket::SystemNotificationPacket unsigned char *  buf,
int  len
 

Definition at line 315 of file evaaddfriend.cpp.

SystemNotificationPacket::SystemNotificationPacket const SystemNotificationPacket rhs  ) 
 

Definition at line 320 of file evaaddfriend.cpp.

References fromQQ, getFromQQ(), getMessage(), getMyQQ(), getType(), message, myQQ, and type.

Here is the call graph for this function:

virtual SystemNotificationPacket::~SystemNotificationPacket  )  [inline, virtual]
 

Definition at line 203 of file evaaddfriend.h.


Member Function Documentation

virtual InPacket* SystemNotificationPacket::copy  )  [inline, virtual]
 

Definition at line 205 of file evaaddfriend.h.

References SystemNotificationPacket().

Here is the call graph for this function:

const int SystemNotificationPacket::getFromQQ  )  const [inline]
 

Definition at line 210 of file evaaddfriend.h.

References fromQQ.

Referenced by operator=(), and SystemNotificationPacket().

const std::string SystemNotificationPacket::getMessage  )  const [inline]
 

Definition at line 211 of file evaaddfriend.h.

References message.

Referenced by operator=(), and SystemNotificationPacket().

const int SystemNotificationPacket::getMyQQ  )  const [inline]
 

Definition at line 209 of file evaaddfriend.h.

References myQQ.

Referenced by operator=(), and SystemNotificationPacket().

const uint8_t SystemNotificationPacket::getType  )  const [inline]
 

Definition at line 208 of file evaaddfriend.h.

References type.

Referenced by operator=(), and SystemNotificationPacket().

SystemNotificationPacket & SystemNotificationPacket::operator= const SystemNotificationPacket rhs  ) 
 

Definition at line 329 of file evaaddfriend.cpp.

References fromQQ, getFromQQ(), getMessage(), getMyQQ(), getType(), message, myQQ, and type.

Here is the call graph for this function:

void SystemNotificationPacket::parseBody  )  [protected, virtual]
 

Reimplemented from InPacket.

Definition at line 339 of file evaaddfriend.cpp.

References InPacket::bodyLength, InPacket::decryptedBuf, DIVIDER, fromQQ, message, myQQ, and type.


Member Data Documentation

const uint8_t SystemNotificationPacket::DIVIDER = 0x1f [static, private]
 

Definition at line 215 of file evaaddfriend.h.

Referenced by parseBody().

int SystemNotificationPacket::fromQQ [private]
 

Definition at line 217 of file evaaddfriend.h.

Referenced by getFromQQ(), operator=(), parseBody(), and SystemNotificationPacket().

std::string SystemNotificationPacket::message [private]
 

Definition at line 219 of file evaaddfriend.h.

Referenced by getMessage(), operator=(), parseBody(), and SystemNotificationPacket().

int SystemNotificationPacket::myQQ [private]
 

Definition at line 218 of file evaaddfriend.h.

Referenced by getMyQQ(), operator=(), parseBody(), and SystemNotificationPacket().

uint8_t SystemNotificationPacket::type [private]
 

Definition at line 216 of file evaaddfriend.h.

Referenced by getType(), operator=(), parseBody(), and SystemNotificationPacket().


The documentation for this class was generated from the following files:
Generated on Mon May 15 20:53:15 2006 for libeva by  doxygen 1.4.4