文件名称:qqprotocol_cPP

  • 所属分类:
  • ICQ/即时通讯
  • 资源属性:
  • [Windows] [Visual C] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 30.16mb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 低**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

QQProtocol中代码的基本结构:

CQQUser存储一个QQ用户的所有信息,包括客户指定信息(用户名,密码等)和服务器返回信息(指在和服务器通讯过程中服务器“设置的”信息,如各种各样的密钥是在和服务器通讯过程中某些特定步骤由服务器生成并返回的,而还有些信息如服务器IP和端口则是最初由客户指定,但有可能因为服务器重定向而改变,等等等等)

CInPacket和COutPacket是发送/接收包基类,CBasicInPacket/CBasicOutPacket是QQ基本协议族发送/接收包基类,CBasicFamilyParser是QQ基本协议族消息管理器,至于要和QQ服务器正常通讯,还要用“翻译”成QQ服务器的“语言”——由CCrypter加密/解密包

最后,所有类使用的常量则实现为类QQ的公共静态成员变量

而所有这些类都是为CQQClient类服务的,它是QQProtocol的操作接口(数据接口则是CQQUser)。目前实现的版本主要接口是Login,负责向QQ服务器登录。由它负责创建一个工作线程,向服务器发包,等待回复,回复的结果调用CQQClient的虚函数,所以对于库的使用者,需要生成一个派生类实现这些虚函数以处理回复。

-QQProtocol the basic structure of the code:

CQQUser store a QQ user all the information, including customer specific information (user name, password, etc.) and the server to return information (refer to the server and the server communication process "set up" information, such as a variety of keys are in and server communication certain steps of the process generated by the server and returns, and also some information such as the server IP and port are initially specified by the customer, but may change because the server redirect, etc., etc.)

CInPacket and COutPacket is to send/receive packet base class, CBasicInPacket/CBasicOutPacket family is the basic agreement QQ send/receive packet base class, CBasicFamilyParser family is the basic agreement QQ news manager, and the QQ server As for normal communication, but also with the "translation" QQ server into the "language"- by the CCrypter encryption/decryption package

Finally, the constant use of all classes are implemented as p
(系统自动生成,下载前可以参看下载内容)

下载文件列表

qq\qqprotocol\Readme.txt

..\demo\ReadMe.txt

..\....\Debug\demo.log

..\qqprotocol\Debug\QQProtocol.log

..\..........\BasicFamilyParser.h

..\..........\BasicInPacket.h

..\..........\BasicOutPacket.h

..\..........\Crypter.h

..\demo\demo.h

..\....\DemoQQClient.h

..\qqprotocol\InPacket.h

..\..........\LoginPacket.h

..\..........\LoginReplyPacket.h

..\..........\md5.h

..\..........\OutPacket.h

..\..........\QQ.H

..\..........\QQClient.h

..\..........\QQUser.h

..\..........\RequestLoginTokenPacket.h

..\..........\RequestLoginTokenReplyPacket.h

..\demo\Resource.h

..\qqprotocol\StdAfx.h

..\demo\StdAfx.h

..\qqprotocol\BasicFamilyParser.cpp

..\..........\BasicInPacket.cpp

..\..........\BasicOutPacket.cpp

..\..........\Crypter.cpp

..\demo\demo.cpp

..\....\DemoQQClient.cpp

..\qqprotocol\InPacket.cpp

..\..........\LoginPacket.cpp

..\..........\LoginReplyPacket.cpp

..\..........\md5.cpp

..\..........\OutPacket.cpp

..\..........\QQ.CPP

..\..........\QQClient.cpp

..\..........\QQUser.cpp

..\..........\RequestLoginTokenPacket.cpp

..\..........\RequestLoginTokenReplyPacket.cpp

..\..........\StdAfx.cpp

..\demo\StdAfx.cpp

..\....\Debug\demo.obj

..\....\.....\DemoQQClient.obj

..\qqprotocol\Debug\InPacket.obj

..\..........\.....\md5.obj

..\..........\.....\QQ.obj

..\..........\.....\StdAfx.obj

..\demo\Debug\StdAfx.obj

..\....\demo.dsp

..\qqprotocol\QQProtocol.dsp

..\demo\demo.dsw

..\qqprotocol\QQProtocol.dsw

..\demo\demo.vcxproj.filters

..\qqprotocol\QQProtocol.vcxproj.filters

..\..........\Debug\vc100.idb

..\demo\Debug\vc100.idb

..\....\ipch\qqprotocol-9783175b\qqprotocol-e134276a.ipch

..\....\Debug\demo.lastbuildstate

..\qqprotocol\Debug\QQProtocol.lastbuildstate

..\demo\Debug\demo.exe.embed.manifest

..\QQ协议的C++实现.mht

..\demo\Debug\demo.pch

..\qqprotocol\Debug\QQProtocol.pch

..\..........\.....\vc100.pdb

..\demo\Debug\vc100.pdb

..\....\demo.rc

..\....\Debug\demo_manifest.rc

..\....\.....\demo.exe.embed.manifest.res

..\....\.....\demo.res

..\qqprotocol\Debug\BasicFamilyParser.sbr

..\..........\.....\BasicInPacket.sbr

..\..........\.....\BasicOutPacket.sbr

..\..........\.....\Crypter.sbr

..\demo\Debug\demo.sbr

..\....\.....\DemoQQClient.sbr

..\qqprotocol\Debug\InPacket.sbr

..\..........\.....\LoginPacket.sbr

..\..........\.....\LoginReplyPacket.sbr

..\..........\.....\md5.sbr

..\..........\.....\QQ.sbr

..\..........\.....\QQClient.sbr

..\..........\.....\RequestLoginTokenPacket.sbr

..\..........\.....\RequestLoginTokenReplyPacket.sbr

..\..........\.....\StdAfx.sbr

..\demo\Debug\StdAfx.sbr

..\....\demo.sdf

..\....\demo.sln

..\....\demo.suo

..\qqprotocol\Debug\CL.read.1.tlog

..\demo\Debug\CL.read.1.tlog

..\....\.....\CL.write.1.tlog

..\qqprotocol\Debug\CL.write.1.tlog

..\demo\Debug\link.read.1.tlog

..\....\.....\link.write.1.tlog

..\....\.....\rc.read.1.tlog

..\....\.....\rc.write.1.tlog

..\....\.....\demo.unsuccessfulbuild

..\qqprotocol\Debug\QQProtocol.unsuccessfulbuild

..\demo\demo.vcxproj.user

..\qqprotocol\QQProtocol.vcxproj.user

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org