#include <evaftpacket.h>
Inherits EvaFTPacket.
Inherited by EvaFTAgentAckReady, EvaFTAgentAskReady, EvaFTAgentCreate, EvaFTAgentCreateReply, EvaFTAgentLogin, EvaFTAgentLoginReply, EvaFTAgentStart, EvaFTAgentStartReply, EvaFTAgentTransfer, and EvaFTAgentTransferReply.
Inheritance diagram for EvaFTAgentPacket:


Public Member Functions | |
| EvaFTAgentPacket (const unsigned char *buf, const int len) | |
| EvaFTAgentPacket (const short cmd) | |
| void | setVersion (const unsigned short version) |
| void | setSequence (const unsigned short seq) |
| void | setCommand (const unsigned short cmd) |
| void | setQQ (const int qq) |
| void | setSessionId (const unsigned int sid) |
| const unsigned short | getVersion () const |
| const unsigned short | getSequence () const |
| const unsigned short | getCommand () const |
| const int | getQQ () const |
| const unsigned int | getSessionId () const |
| void | setFileAgentKey (const unsigned char *key) |
Protected Member Functions | |
| const int | parseHeader (unsigned char *buf) |
| const int | fillHeader (unsigned char *buf) |
Protected Attributes | |
| unsigned char | m_FileAgentKey [16] |
| unsigned int | m_Session |
Private Attributes | |
| unsigned short | m_Version |
| unsigned short | m_Command |
| unsigned short | m_Sequence |
| int | m_Id |
Definition at line 75 of file evaftpacket.h.
|
||||||||||||
|
============================================================================ Definition at line 123 of file evaftpacket.cpp. References EvaFTPacket::m_HasTags. |
|
|
Definition at line 129 of file evaftpacket.cpp. References EvaFTPacket::m_HasLength, EvaFTPacket::m_LengthOffset, QQ_FILE_AGENT_PACKET_TAG, QQ_FILE_AGENT_PACKET_TAIL, and EvaFTPacket::setPacketTag(). Here is the call graph for this function: ![]() |
|
|
Reimplemented from EvaFTPacket. Definition at line 158 of file evaftpacket.cpp. References m_Command, m_Id, m_Sequence, m_Session, m_Version, QQ_FILE_AGENT_CMD_CREATE, EvaUtil::write16(), and EvaUtil::write32(). Here is the call graph for this function: ![]() |
|
|
Definition at line 88 of file evaftpacket.h. References m_Command. |
|
|
Definition at line 89 of file evaftpacket.h. References m_Id. |
|
|
Definition at line 87 of file evaftpacket.h. References m_Sequence. |
|
|
Definition at line 90 of file evaftpacket.h. References m_Session. |
|
|
Definition at line 86 of file evaftpacket.h. References m_Version. |
|
|
Reimplemented from EvaFTPacket. Definition at line 137 of file evaftpacket.cpp. References EvaFTPacket::getBodyLength(), EvaFTPacket::getTag(), EvaFTPacket::getTail(), m_Command, m_Id, m_Sequence, m_Session, m_Version, QQ_FILE_AGENT_CMD_CREATE, QQ_FILE_AGENT_PACKET_TAG, QQ_FILE_AGENT_PACKET_TAIL, EvaUtil::read16(), and EvaUtil::read32(). Here is the call graph for this function: ![]() |
|
|
Definition at line 83 of file evaftpacket.h. References m_Command. |
|
|
Definition at line 174 of file evaftpacket.cpp. References m_FileAgentKey. |
|
|
Definition at line 84 of file evaftpacket.h. References m_Id. |
|
|
Definition at line 82 of file evaftpacket.h. References m_Sequence. |
|
|
Definition at line 85 of file evaftpacket.h. References m_Session. |
|
|
Definition at line 81 of file evaftpacket.h. References m_Version. |
|
|
Definition at line 103 of file evaftpacket.h. Referenced by fillHeader(), getCommand(), parseHeader(), and setCommand(). |
|
|
|
Reimplemented in EvaFTAgentCreate. Definition at line 105 of file evaftpacket.h. Referenced by fillHeader(), getQQ(), parseHeader(), and setQQ(). |
|
|
Definition at line 104 of file evaftpacket.h. Referenced by fillHeader(), getSequence(), parseHeader(), and setSequence(). |
|
|
Definition at line 100 of file evaftpacket.h. Referenced by fillHeader(), getSessionId(), EvaFTAgentCreateReply::parseBody(), parseHeader(), and setSessionId(). |
|
|
Definition at line 102 of file evaftpacket.h. Referenced by fillHeader(), getVersion(), parseHeader(), and setVersion(). |
1.4.4