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

EvaRequestKeyReplyPacket Class Reference

#include <evakeyrequest.h>

Inherits InPacket.

Inheritance diagram for EvaRequestKeyReplyPacket:

Inheritance graph
[legend]
Collaboration diagram for EvaRequestKeyReplyPacket:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 EvaRequestKeyReplyPacket ()
 EvaRequestKeyReplyPacket (unsigned char *buf, int len)
 EvaRequestKeyReplyPacket (const EvaRequestKeyReplyPacket &rhs)
virtual ~EvaRequestKeyReplyPacket ()
const unsigned char getKeyType () const
const unsigned char * getKey () const
const unsigned char * getToken () const
const int getTokenLength () const
const unsigned char getReplyCode () const
const bool isReplyOK () const
EvaRequestKeyReplyPacketoperator= (const EvaRequestKeyReplyPacket &rhs)

Protected Member Functions

virtual void parseBody ()

Private Attributes

unsigned char replyCode
unsigned char keyType
unsigned char key [16]
unsigned char token [256]
int tokenLength

Detailed Description

Definition at line 45 of file evakeyrequest.h.


Constructor & Destructor Documentation

EvaRequestKeyReplyPacket::EvaRequestKeyReplyPacket  )  [inline]
 

Definition at line 48 of file evakeyrequest.h.

EvaRequestKeyReplyPacket::EvaRequestKeyReplyPacket unsigned char *  buf,
int  len
 

Definition at line 62 of file evakeyrequest.cpp.

EvaRequestKeyReplyPacket::EvaRequestKeyReplyPacket const EvaRequestKeyReplyPacket rhs  ) 
 

Definition at line 67 of file evakeyrequest.cpp.

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

Definition at line 51 of file evakeyrequest.h.


Member Function Documentation

const unsigned char* EvaRequestKeyReplyPacket::getKey  )  const [inline]
 

Definition at line 54 of file evakeyrequest.h.

References key.

Referenced by operator=().

const unsigned char EvaRequestKeyReplyPacket::getKeyType  )  const [inline]
 

Definition at line 53 of file evakeyrequest.h.

References keyType.

Referenced by operator=().

const unsigned char EvaRequestKeyReplyPacket::getReplyCode  )  const [inline]
 

Definition at line 57 of file evakeyrequest.h.

References replyCode.

Referenced by operator=().

const unsigned char* EvaRequestKeyReplyPacket::getToken  )  const [inline]
 

Definition at line 55 of file evakeyrequest.h.

References token.

Referenced by operator=().

const int EvaRequestKeyReplyPacket::getTokenLength  )  const [inline]
 

Definition at line 56 of file evakeyrequest.h.

References tokenLength.

Referenced by operator=().

const bool EvaRequestKeyReplyPacket::isReplyOK  )  const [inline]
 

Definition at line 59 of file evakeyrequest.h.

References QQ_REQUEST_KEY_REPLY_OK, and replyCode.

EvaRequestKeyReplyPacket & EvaRequestKeyReplyPacket::operator= const EvaRequestKeyReplyPacket rhs  ) 
 

Definition at line 73 of file evakeyrequest.cpp.

References getKey(), getKeyType(), getReplyCode(), getToken(), getTokenLength(), key, keyType, replyCode, token, and tokenLength.

Here is the call graph for this function:

void EvaRequestKeyReplyPacket::parseBody  )  [protected, virtual]
 

Reimplemented from InPacket.

Definition at line 84 of file evakeyrequest.cpp.

References InPacket::decryptedBuf, key, keyType, QQ_KEY_LENGTH, QQ_REQUEST_FILE_AGENT_KEY, QQ_REQUEST_KEY_REPLY_OK, replyCode, Packet::setFileAgentKey(), Packet::setFileAgentToken(), token, and tokenLength.

Here is the call graph for this function:


Member Data Documentation

unsigned char EvaRequestKeyReplyPacket::key[16] [private]
 

Definition at line 67 of file evakeyrequest.h.

Referenced by getKey(), operator=(), and parseBody().

unsigned char EvaRequestKeyReplyPacket::keyType [private]
 

Definition at line 66 of file evakeyrequest.h.

Referenced by getKeyType(), operator=(), and parseBody().

unsigned char EvaRequestKeyReplyPacket::replyCode [private]
 

Definition at line 65 of file evakeyrequest.h.

Referenced by getReplyCode(), isReplyOK(), operator=(), and parseBody().

unsigned char EvaRequestKeyReplyPacket::token[256] [private]
 

Definition at line 68 of file evakeyrequest.h.

Referenced by getToken(), operator=(), and parseBody().

int EvaRequestKeyReplyPacket::tokenLength [private]
 

Definition at line 69 of file evakeyrequest.h.

Referenced by getTokenLength(), operator=(), and parseBody().


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