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

ReceivedFileIM Class Reference

#include <evaimreceive.h>

Inherits NormalIMBase.

Inheritance diagram for ReceivedFileIM:

Inheritance graph
[legend]
Collaboration diagram for ReceivedFileIM:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ReceivedFileIM ()
 ReceivedFileIM (const unsigned char *buf, const int len)
 ReceivedFileIM (const ReceivedFileIM &rhs)
virtual ~ReceivedFileIM ()
const unsigned char getTransferType () const
const unsigned char getConnectMode () const
const unsigned int getSessionId () const
const unsigned int getWanIp () const
const unsigned short getWanPort () const
const unsigned char * getAgentServerKey () const
const std::string & getFileName () const
const unsigned int getFileSize () const
ReceivedFileIMoperator= (const ReceivedFileIM &rhs)

Protected Member Functions

virtual void parseContents (const unsigned char *buf, const int len)

Private Attributes

unsigned char m_TransferType
unsigned char m_ConnectMode
unsigned int m_SessionId
unsigned int m_WanIp
unsigned short m_WanPort
unsigned char m_AgentServerKey [16]
std::string m_FileName
unsigned int m_FileSize

Detailed Description

Definition at line 297 of file evaimreceive.h.


Constructor & Destructor Documentation

ReceivedFileIM::ReceivedFileIM  )  [inline]
 

Definition at line 299 of file evaimreceive.h.

ReceivedFileIM::ReceivedFileIM const unsigned char *  buf,
const int  len
 

Definition at line 615 of file evaimreceive.cpp.

ReceivedFileIM::ReceivedFileIM const ReceivedFileIM rhs  ) 
 

Definition at line 622 of file evaimreceive.cpp.

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

Definition at line 302 of file evaimreceive.h.


Member Function Documentation

const unsigned char* ReceivedFileIM::getAgentServerKey  )  const [inline]
 

Definition at line 313 of file evaimreceive.h.

References m_AgentServerKey.

Referenced by operator=().

const unsigned char ReceivedFileIM::getConnectMode  )  const [inline]
 

Definition at line 305 of file evaimreceive.h.

References m_ConnectMode.

Referenced by operator=().

const std::string& ReceivedFileIM::getFileName  )  const [inline]
 

Definition at line 315 of file evaimreceive.h.

References m_FileName.

Referenced by operator=().

const unsigned int ReceivedFileIM::getFileSize  )  const [inline]
 

Definition at line 316 of file evaimreceive.h.

References m_FileSize.

Referenced by operator=().

const unsigned int ReceivedFileIM::getSessionId  )  const [inline]
 

Definition at line 307 of file evaimreceive.h.

References m_SessionId.

Referenced by operator=().

const unsigned char ReceivedFileIM::getTransferType  )  const [inline]
 

Definition at line 304 of file evaimreceive.h.

References m_TransferType.

Referenced by operator=().

const unsigned int ReceivedFileIM::getWanIp  )  const [inline]
 

Definition at line 308 of file evaimreceive.h.

References m_WanIp.

Referenced by operator=().

const unsigned short ReceivedFileIM::getWanPort  )  const [inline]
 

Definition at line 309 of file evaimreceive.h.

References m_WanPort.

Referenced by operator=().

ReceivedFileIM & ReceivedFileIM::operator= const ReceivedFileIM rhs  ) 
 

Definition at line 628 of file evaimreceive.cpp.

References getAgentServerKey(), getConnectMode(), getFileName(), getFileSize(), getSessionId(), getTransferType(), getWanIp(), getWanPort(), m_AgentServerKey, m_ConnectMode, m_FileName, m_FileSize, m_SessionId, m_TransferType, m_WanIp, and m_WanPort.

Here is the call graph for this function:

void ReceivedFileIM::parseContents const unsigned char *  buf,
const int  len
[protected, virtual]
 

Reimplemented from NormalIMBase.

Definition at line 646 of file evaimreceive.cpp.

References NormalIMBase::getNormalIMType(), m_AgentServerKey, m_ConnectMode, m_FileName, m_FileSize, m_SessionId, m_TransferType, m_WanIp, m_WanPort, QQ_IM_ACCEPT_UDP_REQUEST, QQ_IM_EX_REQUEST_ACCEPTED, QQ_IM_EX_REQUEST_CANCELLED, QQ_IM_NOTIFY_FILE_AGENT_INFO, QQ_IM_NOTIFY_IP, QQ_IM_REQUEST_CANCELED, QQ_IM_TCP_REQUEST, QQ_TRANSFER_FILE, QQ_TRANSFER_IMAGE, EvaUtil::read16(), and EvaUtil::read32().

Here is the call graph for this function:


Member Data Documentation

unsigned char ReceivedFileIM::m_AgentServerKey[16] [private]
 

Definition at line 329 of file evaimreceive.h.

Referenced by getAgentServerKey(), operator=(), and parseContents().

unsigned char ReceivedFileIM::m_ConnectMode [private]
 

Definition at line 323 of file evaimreceive.h.

Referenced by getConnectMode(), operator=(), and parseContents().

std::string ReceivedFileIM::m_FileName [private]
 

Definition at line 336 of file evaimreceive.h.

Referenced by getFileName(), operator=(), and parseContents().

unsigned int ReceivedFileIM::m_FileSize [private]
 

Definition at line 337 of file evaimreceive.h.

Referenced by getFileSize(), operator=(), and parseContents().

unsigned int ReceivedFileIM::m_SessionId [private]
 

Definition at line 325 of file evaimreceive.h.

Referenced by getSessionId(), operator=(), and parseContents().

unsigned char ReceivedFileIM::m_TransferType [private]
 

Definition at line 322 of file evaimreceive.h.

Referenced by getTransferType(), operator=(), and parseContents().

unsigned int ReceivedFileIM::m_WanIp [private]
 

Definition at line 326 of file evaimreceive.h.

Referenced by getWanIp(), operator=(), and parseContents().

unsigned short ReceivedFileIM::m_WanPort [private]
 

Definition at line 327 of file evaimreceive.h.

Referenced by getWanPort(), operator=(), and parseContents().


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