#include <evaftpacket.h>
Inherits EvaFTPacket.
Inherited by EvaFTSynCreate, and EvaFTSynCreateReply.
Inheritance diagram for EvaFTSynPacket:


Public Member Functions | |
| EvaFTSynPacket (const unsigned char *buf, const int len) | |
| EvaFTSynPacket (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 |
Static Private Attributes | |
| static const unsigned char | m_StartTag = 0x02 |
Definition at line 108 of file evaftpacket.h.
|
||||||||||||
|
============================================================================ Definition at line 186 of file evaftpacket.cpp. |
|
|
Definition at line 191 of file evaftpacket.cpp. References EvaFTPacket::m_HasLength, and EvaFTPacket::m_LengthOffset. |
|
|
Reimplemented from EvaFTPacket. Definition at line 214 of file evaftpacket.cpp. References m_Command, m_Id, m_Sequence, m_StartTag, m_Version, EvaUtil::write16(), and EvaUtil::write32(). Here is the call graph for this function: ![]() |
|
|
Definition at line 120 of file evaftpacket.h. References m_Command. |
|
|
Definition at line 121 of file evaftpacket.h. References m_Id. |
|
|
Definition at line 119 of file evaftpacket.h. References m_Sequence. |
|
|
Definition at line 122 of file evaftpacket.h. References m_Session. |
|
|
Definition at line 118 of file evaftpacket.h. References m_Version. |
|
|
Reimplemented from EvaFTPacket. Definition at line 198 of file evaftpacket.cpp. References EvaFTPacket::getBodyLength(), m_Command, m_Id, m_Sequence, m_StartTag, m_Version, EvaUtil::read16(), and EvaUtil::read32(). Here is the call graph for this function: ![]() |
|
|
Definition at line 115 of file evaftpacket.h. References m_Command. |
|
|
Definition at line 227 of file evaftpacket.cpp. References m_FileAgentKey. |
|
|
Definition at line 116 of file evaftpacket.h. References m_Id. |
|
|
Definition at line 114 of file evaftpacket.h. References m_Sequence. |
|
|
Definition at line 117 of file evaftpacket.h. References m_Session. |
|
|
Definition at line 113 of file evaftpacket.h. References m_Version. |
|
|
Definition at line 134 of file evaftpacket.h. Referenced by fillHeader(), getCommand(), parseHeader(), and setCommand(). |
|
|
Definition at line 129 of file evaftpacket.h. Referenced by EvaFTSynCreate::fillBody(), EvaFTSynCreateReply::parseBody(), and setFileAgentKey(). |
|
|
Definition at line 137 of file evaftpacket.h. Referenced by fillHeader(), getQQ(), parseHeader(), and setQQ(). |
|
|
Definition at line 135 of file evaftpacket.h. Referenced by fillHeader(), getSequence(), parseHeader(), and setSequence(). |
|
|
Definition at line 130 of file evaftpacket.h. Referenced by getSessionId(), EvaFTSynCreateReply::parseBody(), and setSessionId(). |
|
|
Definition at line 132 of file evaftpacket.h. Referenced by fillHeader(), and parseHeader(). |
|
|
Definition at line 133 of file evaftpacket.h. Referenced by fillHeader(), getVersion(), parseHeader(), and setVersion(). |
1.4.4