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

EvaFTAgentCreate Class Reference

#include <evaftprotocols.h>

Inherits EvaFTAgentPacket.

Inheritance diagram for EvaFTAgentCreate:

Inheritance graph
[legend]
Collaboration diagram for EvaFTAgentCreate:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 EvaFTAgentCreate ()
virtual ~EvaFTAgentCreate ()
void setFileAgentToken (const unsigned char *token, const int len)
void setBuddyQQ (const int id)
void setIp (const unsigned int ip)

Protected Member Functions

const int fillBody (unsigned char *buf)

Private Attributes

unsigned char * m_Token
int m_TokenLength
int m_Id
unsigned int m_Ip

Detailed Description

Definition at line 37 of file evaftprotocols.h.


Constructor & Destructor Documentation

EvaFTAgentCreate::EvaFTAgentCreate  ) 
 

Definition at line 27 of file evaftprotocols.cpp.

EvaFTAgentCreate::~EvaFTAgentCreate  )  [virtual]
 

Definition at line 33 of file evaftprotocols.cpp.

References m_Token.


Member Function Documentation

const int EvaFTAgentCreate::fillBody unsigned char *  buf  )  [protected, virtual]
 

Reimplemented from EvaFTPacket.

Definition at line 48 of file evaftprotocols.cpp.

References EvaCrypt::encrypt(), EvaFTAgentPacket::m_FileAgentKey, m_Id, m_Ip, m_Token, m_TokenLength, EvaUtil::write16(), and EvaUtil::write32().

Here is the call graph for this function:

void EvaFTAgentCreate::setBuddyQQ const int  id  )  [inline]
 

Definition at line 43 of file evaftprotocols.h.

References m_Id.

void EvaFTAgentCreate::setFileAgentToken const unsigned char *  token,
const int  len
 

Definition at line 39 of file evaftprotocols.cpp.

References m_Token, and m_TokenLength.

void EvaFTAgentCreate::setIp const unsigned int  ip  )  [inline]
 

Definition at line 44 of file evaftprotocols.h.

References m_Ip.


Member Data Documentation

int EvaFTAgentCreate::m_Id [private]
 

Reimplemented from EvaFTAgentPacket.

Definition at line 50 of file evaftprotocols.h.

Referenced by fillBody(), and setBuddyQQ().

unsigned int EvaFTAgentCreate::m_Ip [private]
 

Definition at line 51 of file evaftprotocols.h.

Referenced by fillBody(), and setIp().

unsigned char* EvaFTAgentCreate::m_Token [private]
 

Definition at line 48 of file evaftprotocols.h.

Referenced by fillBody(), setFileAgentToken(), and ~EvaFTAgentCreate().

int EvaFTAgentCreate::m_TokenLength [private]
 

Definition at line 49 of file evaftprotocols.h.

Referenced by fillBody(), and setFileAgentToken().


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