diff --git a/ABOUT.txt b/ABOUT.txt index 4c0a2752..e7817d7b 100755 --- a/ABOUT.txt +++ b/ABOUT.txt @@ -1,8 +1,13 @@ -MobileIMSDK, a cross-device Instant Messaging library. -Author: Jack Jiang -QQ: 413980957 -Skype: hellojackjiang -Mail: jack.jiang@52im.net or jb2011@163.com -Homepage: https://github.com/JackJiang2011/MobileIMSDK/ -Discuss: 即时通讯网(http://www.52im.net/) - 即时通讯技术社区! -QQ Group: 215891622 +【工程名称】:MobileIMSDK v3, a cross-device Instant Messaging library +【新版动态】: MobileIMSDK最新v3.0版首次发布于2017年06月25日 +【作者】: Jack Jiang +【QQ】: 413980957 +【Mail】: jack.jiang@52im.net or jb2011@163.com +【Skype】: hellojackjiang +【讨论区】: http://www.52im.net/forum-89-1.html +【工程主页】: https://github.com/JackJiang2011/MobileIMSDK/ +【IM技术交流群】: 320837163 + +【重要说明】:请优先阅读文件“[请读我]目录内容说明.txt”中的内容。 + + diff --git a/README.md b/README.md index 8d40b052..16805397 100755 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ * 客户端支持iOS、Android、标准Java平台; * 可应用于跨设备、跨网络的聊天APP、企业OA、消息推送等各种场景。 -> MobileIMSDK工程始于2013年10月,起初用作某产品的即时通讯底层实现,完全从零开发。
+> MobileIMSDK工程始于2013年10月(2017年06月26日发布了最新版v3.0),起初用作某产品的即时通讯底层实现,完全从零开发。
MobileIMSDK现已公开并免费供开发者使用,希望对需要的人有所启发和帮助。 :point_right: 您可能需要:[查看更多关于MobileIMSDK的疑问及解答](http://www.52im.net/thread-60-1-1.html)。 @@ -145,7 +145,7 @@ MobileIMSDK现已公开并免费供开发者使用,希望对需要的人有所 # 十三、联系方式 * 讨论学习和资料区::earth_americas: [点此进入](http://www.52im.net/forum-89-1.html); -* 移动端即时通讯学习交流群:`215891622` 移动端即时通讯/IM开发 ([更多QQ群点此进入](http://cngeeker.com/portal.php?mod=topic&topicid=2)); +* 移动端即时通讯学习交流群:`320837163` 即时通讯(IM/推送)开发2 ([更多QQ群点此进入](http://cngeeker.com/portal.php?mod=topic&topicid=2)); * bug和建议请发送至::love_letter: `jb2011@163.com`; * 技术支持、技术合作或咨询请联系作者QQ::penguin: `413980957`、微信:`hellojackjiang`。 @@ -154,18 +154,46 @@ MobileIMSDK现已公开并免费供开发者使用,希望对需要的人有所 * 博客地址:[点击入进](http://www.52im.net/space-uid-1.html) * Github主页:[点击进入](https://github.com/JackJiang2011) -# 附录1:Demo截图 +# 附录1:官方Demo截图 ### :triangular_flag_on_post: Android和iOS运行效果: > 安装和使用:[进入Android版Demo帮助页](http://www.52im.net/thread-55-1-1.html)、[进入iOS版Demo帮助页](http://www.52im.net/thread-54-1-1.html)。 ![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/more_screenshots/others/ios_android_real_run.jpg) +![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/ios_demo_main.png) ### :triangular_flag_on_post: Windows 运行效果: > 安装和使用:[进入Java版Demo帮助页](http://www.52im.net/thread-56-1-1.html)。 +![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/java_demo_main.png) ![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/more_screenshots/others/windows_real_run.png) ### :triangular_flag_on_post: Mac OS X 运行效果: > 安装和使用:[进入Java版Demo帮助页](http://www.52im.net/thread-56-1-1.html)。 -![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/more_screenshots/others/mac_real_run.png) \ No newline at end of file +![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/more_screenshots/others/mac_real_run.png) + +### :triangular_flag_on_post: MobileIMSDK-Web版客户端Demo运行效果: +> 如何获取MobileIMSDK-Web版:请联系作者。 + +![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/web_demo_20170630.jpg) + +# 附录2:基于MobileIMSDK的全功能IM【案例】 +> 关于RainbowChat的更多资料请见:[全功能移动端即时通讯/IM系统:RainbowChat前端APP功能截图](http://www.52im.net/thread-20-1-1.html)。 + +![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/more_products/rainbowchat_v4_20170626.jpg) + +# 附录3:基于MobileIMSDK的某云客服IM子系统【案例】 +> 下图为某云客服产品IM子系统-Web版访客端: +![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/more_products/cs-im-visitor-web.jpg) + +> 下图为某云客服产品IM子系统-Web版客服后台端: +![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/more_products/cs_im_servicer_web_20161227.jpg) + +> 下图为某云客服产品IM子系统-Android版访客端: +![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/more_products/cs-im-visitor-ios_20170509.jpg) + +> 下图为某云客服产品IM子系统-iOS版客服后台端: +![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/more_products/cs-im-servicer-ios_20170509.jpg) + +> 下图为某云客服产品IM子系统-Android版客服后台端: +![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/more_products/cs-im-servicer-android_20170509.jpg) diff --git "a/[\350\257\267\350\257\273\346\210\221]\347\233\256\345\275\225\345\206\205\345\256\271\350\257\264\346\230\216.txt" "b/[\350\257\267\350\257\273\346\210\221]\347\233\256\345\275\225\345\206\205\345\256\271\350\257\264\346\230\216.txt" index 91228aa8..377fc839 100755 --- "a/[\350\257\267\350\257\273\346\210\221]\347\233\256\345\275\225\345\206\205\345\256\271\350\257\264\346\230\216.txt" +++ "b/[\350\257\267\350\257\273\346\210\221]\347\233\256\345\275\225\345\206\205\345\256\271\350\257\264\346\230\216.txt" @@ -1,20 +1,20 @@ /demos Ŀ¼ -õĿִDemoֱӰװֻ˫мɡ +ںõĿִDemoֱӰװֻ˫мɡ /dist Ŀ¼ -õMobileIMSDKĿlib߿ֱõѵĹУһҪԴ뿽ȥá +ںõ MobileIMSDK v3.x Ŀlib߿ֱõѵĹУһҪԴ뿽ȥá /docs Ŀ¼ -apiĵ +ںapiĵ /preview Ŀ¼ -Demoнͼ +ںDemoһЩƷнͼο /release_notes Ŀ¼ -ΰ汾ݼ¼ +ںΰ汾ݼ¼ /src_all Ŀ¼ -MobileIMSDKDemoԴͺĿԴ롣 +ں MobileIMSDK v3.x DemoԴͺĿԴ롣 diff --git a/demos/client/MobileIMSDKDemo-Android.apk b/demos/client/MobileIMSDKDemo-Android.apk index aed7a285..b11dc931 100755 Binary files a/demos/client/MobileIMSDKDemo-Android.apk and b/demos/client/MobileIMSDKDemo-Android.apk differ diff --git a/demos/client/MobileIMSDKDemo-Java.jar b/demos/client/MobileIMSDKDemo-Java.jar index aa19d9a9..5b753a6c 100755 Binary files a/demos/client/MobileIMSDKDemo-Java.jar and b/demos/client/MobileIMSDKDemo-Java.jar differ diff --git a/demos/client/MobileIMSDKDemo-iOS.ipa b/demos/client/MobileIMSDKDemo-iOS.ipa deleted file mode 100755 index a9a8c0f1..00000000 Binary files a/demos/client/MobileIMSDKDemo-iOS.ipa and /dev/null differ diff --git a/demos/client/MobileIMSDKDemo-iOS.txt b/demos/client/MobileIMSDKDemo-iOS.txt new file mode 100644 index 00000000..83b1e4a9 --- /dev/null +++ b/demos/client/MobileIMSDKDemo-iOS.txt @@ -0,0 +1,3 @@ + +【关于MobileIMSDK的iOS版Demo的编译和安装】 +因Demo程序很难上苹果的App商店,目前无法直接安装MobileIMSDK的iOS版,请至目录:/src_all/demos/MobileIMSDK4iDemo_x,用Xcode打开后自行编译安装即可,谢谢。 \ No newline at end of file diff --git a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/log4j.properties b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/classes/log4j.properties similarity index 100% rename from demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/log4j.properties rename to demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/classes/log4j.properties diff --git a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/net/openmob/mobileimsdk/server/demo/MessageQoSEventS2CListnerImpl.class b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/classes/net/openmob/mobileimsdk/server/demo/MessageQoSEventS2CListnerImpl.class similarity index 86% rename from demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/net/openmob/mobileimsdk/server/demo/MessageQoSEventS2CListnerImpl.class rename to demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/classes/net/openmob/mobileimsdk/server/demo/MessageQoSEventS2CListnerImpl.class index 1621f852..a6fc6e24 100755 Binary files a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/net/openmob/mobileimsdk/server/demo/MessageQoSEventS2CListnerImpl.class and b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/classes/net/openmob/mobileimsdk/server/demo/MessageQoSEventS2CListnerImpl.class differ diff --git a/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/classes/net/openmob/mobileimsdk/server/demo/ServerEventListenerImpl.class b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/classes/net/openmob/mobileimsdk/server/demo/ServerEventListenerImpl.class new file mode 100755 index 00000000..cc034355 Binary files /dev/null and b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/classes/net/openmob/mobileimsdk/server/demo/ServerEventListenerImpl.class differ diff --git a/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/classes/net/openmob/mobileimsdk/server/demo/ServerLauncherImpl.class b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/classes/net/openmob/mobileimsdk/server/demo/ServerLauncherImpl.class new file mode 100755 index 00000000..ea929e4d Binary files /dev/null and b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/classes/net/openmob/mobileimsdk/server/demo/ServerLauncherImpl.class differ diff --git a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/classes/org/apache/mina/core/filterchain/IoFilterEvent.class b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/classes/org/apache/mina/core/filterchain/IoFilterEvent.class similarity index 90% rename from demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/classes/org/apache/mina/core/filterchain/IoFilterEvent.class rename to demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/classes/org/apache/mina/core/filterchain/IoFilterEvent.class index 31da94b8..4e7d5405 100755 Binary files a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/classes/org/apache/mina/core/filterchain/IoFilterEvent.class and b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/classes/org/apache/mina/core/filterchain/IoFilterEvent.class differ diff --git a/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/MobileIMSDKServerX.jar b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/MobileIMSDKServerX.jar new file mode 100755 index 00000000..66a41216 Binary files /dev/null and b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/MobileIMSDKServerX.jar differ diff --git a/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/MobileIMSDKServerX_meta.jar b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/MobileIMSDKServerX_meta.jar new file mode 100755 index 00000000..93b8eb69 Binary files /dev/null and b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/MobileIMSDKServerX_meta.jar differ diff --git a/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/MobileIMSDKX_MQ.jar b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/MobileIMSDKX_MQ.jar new file mode 100755 index 00000000..b671205e Binary files /dev/null and b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/MobileIMSDKX_MQ.jar differ diff --git a/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/gson-2.7.jar b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/gson-2.7.jar new file mode 100755 index 00000000..be5b59b7 Binary files /dev/null and b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/gson-2.7.jar differ diff --git a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/lib/log4j-1.2.17.jar b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/log4j-1.2.17.jar similarity index 100% rename from demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/lib/log4j-1.2.17.jar rename to demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/log4j-1.2.17.jar diff --git a/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/mina-core-2.0.14.jar b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/mina-core-2.0.14.jar new file mode 100755 index 00000000..1260d27a Binary files /dev/null and b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/mina-core-2.0.14.jar differ diff --git a/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/rabbitmq-client.jar b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/rabbitmq-client.jar new file mode 100755 index 00000000..85903fcb Binary files /dev/null and b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/rabbitmq-client.jar differ diff --git a/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/slf4j-api-1.7.21.jar b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/slf4j-api-1.7.21.jar new file mode 100755 index 00000000..2a5c33ec Binary files /dev/null and b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/slf4j-api-1.7.21.jar differ diff --git a/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/slf4j-log4j12-1.7.21.jar b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/slf4j-log4j12-1.7.21.jar new file mode 100755 index 00000000..d07a6dc2 Binary files /dev/null and b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/lib/slf4j-log4j12-1.7.21.jar differ diff --git a/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/run.bat b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/run.bat new file mode 100755 index 00000000..7d523faf --- /dev/null +++ b/demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/run.bat @@ -0,0 +1,11 @@ +@echo off + +@echo ӭʹ MobileIMSDK v3 (build20170626) +@echo. +@echo IMķ... +@echo. + +"%JAVA_HOME%/bin/java" -cp lib/gson-2.7.jar;lib/log4j-1.2.17.jar;lib/slf4j-api-1.7.21.jar;lib/slf4j-log4j12-1.7.21.jar;lib/MobileIMSDKServerX.jar;lib/MobileIMSDKServerX_meta.jar;lib/MobileIMSDKX_MQ.jar;lib/rabbitmq-client.jar;"%JAVA_HOME%/lib/tools.jar;classes/.;lib/mina-core-2.0.14.jar;" net.openmob.mobileimsdk.server.demo.ServerLauncherImpl %1 + +@echo. +pause \ No newline at end of file diff --git a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/lib/MobileIMSDKServerO.jar b/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/lib/MobileIMSDKServerO.jar deleted file mode 100755 index d055093a..00000000 Binary files a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/lib/MobileIMSDKServerO.jar and /dev/null differ diff --git a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/lib/MobileIMSDKServer_meta.jar b/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/lib/MobileIMSDKServer_meta.jar deleted file mode 100755 index bee5fdb8..00000000 Binary files a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/lib/MobileIMSDKServer_meta.jar and /dev/null differ diff --git a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/lib/mina-core-2.0.7.jar b/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/lib/mina-core-2.0.7.jar deleted file mode 100755 index 5ec135bb..00000000 Binary files a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/lib/mina-core-2.0.7.jar and /dev/null differ diff --git a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/lib/slf4j-api-1.6.6.jar b/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/lib/slf4j-api-1.6.6.jar deleted file mode 100755 index 4c03fa6b..00000000 Binary files a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/lib/slf4j-api-1.6.6.jar and /dev/null differ diff --git a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/lib/slf4j-log4j12-1.7.5.jar b/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/lib/slf4j-log4j12-1.7.5.jar deleted file mode 100755 index afce5c21..00000000 Binary files a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/lib/slf4j-log4j12-1.7.5.jar and /dev/null differ diff --git a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/net/openmob/mobileimsdk/server/demo/ServerEventListenerImpl.class b/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/net/openmob/mobileimsdk/server/demo/ServerEventListenerImpl.class deleted file mode 100755 index bd476445..00000000 Binary files a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/net/openmob/mobileimsdk/server/demo/ServerEventListenerImpl.class and /dev/null differ diff --git a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/net/openmob/mobileimsdk/server/demo/ServerLauncherImpl.class b/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/net/openmob/mobileimsdk/server/demo/ServerLauncherImpl.class deleted file mode 100755 index 9fff58e7..00000000 Binary files a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/net/openmob/mobileimsdk/server/demo/ServerLauncherImpl.class and /dev/null differ diff --git a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/run.bat b/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/run.bat deleted file mode 100755 index 7c698d88..00000000 --- a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/run.bat +++ /dev/null @@ -1,11 +0,0 @@ -@echo off - -@echo ӭʹMobileIMSDK ʱͨѶķ -@echo. -@echo IMķ... -@echo. - -"%JAVA_HOME%/bin/java" -cp lib/gson-2.2.4.jar;lib/log4j-1.2.17.jar;lib/mina-core-2.0.7.jar;lib/slf4j-api-1.6.6.jar;lib/slf4j-log4j12-1.7.5.jar;lib/MobileIMSDKServerO.jar;lib/MobileIMSDKServer_meta.jar;lib/MobileIMSDKServer_meta.jar;"%JAVA_HOME%/lib/tools.jar;.;" net.openmob.mobileimsdk.server.demo.ServerLauncherImpl %1 - -@echo. -pause \ No newline at end of file diff --git "a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/\351\203\250\347\275\262\345\211\215\345\277\205\350\257\273.txt" "b/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/\351\203\250\347\275\262\345\211\215\345\277\205\350\257\273.txt" deleted file mode 100755 index 667b09d7..00000000 --- "a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/\351\203\250\347\275\262\345\211\215\345\277\205\350\257\273.txt" +++ /dev/null @@ -1,8 +0,0 @@ -׼ -úJAVA_HOMEϵͳ - - -ڡϵͳ/ϵͳ½ϵͳ=JAVA_HOMEֵ=C:\Program Files\Java\jdk1.6.0_18C:\Program Files\Java\jdk1.6.0_18ɡ - -С -Windowsֱrun.bat \ No newline at end of file diff --git a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/classes/net/openmob/mobileimsdk/server/demo/ServerEventListenerImpl.class b/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/classes/net/openmob/mobileimsdk/server/demo/ServerEventListenerImpl.class deleted file mode 100755 index 590b4569..00000000 Binary files a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/classes/net/openmob/mobileimsdk/server/demo/ServerEventListenerImpl.class and /dev/null differ diff --git a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/classes/net/openmob/mobileimsdk/server/demo/ServerLauncherImpl.class b/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/classes/net/openmob/mobileimsdk/server/demo/ServerLauncherImpl.class deleted file mode 100755 index e369a638..00000000 Binary files a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/classes/net/openmob/mobileimsdk/server/demo/ServerLauncherImpl.class and /dev/null differ diff --git a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/lib/MobileIMSDKServer.jar b/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/lib/MobileIMSDKServer.jar deleted file mode 100755 index 15209598..00000000 Binary files a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/lib/MobileIMSDKServer.jar and /dev/null differ diff --git a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/lib/MobileIMSDKServer_meta.jar b/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/lib/MobileIMSDKServer_meta.jar deleted file mode 100755 index 6320a784..00000000 Binary files a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/lib/MobileIMSDKServer_meta.jar and /dev/null differ diff --git a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/lib/mina-core-2.0.7.jar b/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/lib/mina-core-2.0.7.jar deleted file mode 100755 index 5ec135bb..00000000 Binary files a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/lib/mina-core-2.0.7.jar and /dev/null differ diff --git a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/lib/slf4j-api-1.6.6.jar b/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/lib/slf4j-api-1.6.6.jar deleted file mode 100755 index 4c03fa6b..00000000 Binary files a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/lib/slf4j-api-1.6.6.jar and /dev/null differ diff --git a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/lib/slf4j-log4j12-1.7.5.jar b/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/lib/slf4j-log4j12-1.7.5.jar deleted file mode 100755 index afce5c21..00000000 Binary files a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/lib/slf4j-log4j12-1.7.5.jar and /dev/null differ diff --git a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/run.bat b/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/run.bat deleted file mode 100755 index 0a50e23d..00000000 --- a/demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/run.bat +++ /dev/null @@ -1,11 +0,0 @@ -@echo off - -@echo ӭʹ MobileIMSDK ʱͨѶķ(build20170308) -@echo. -@echo IMķ... -@echo. - -"%JAVA_HOME%/bin/java" -cp lib/gson-2.2.4.jar;lib/log4j-1.2.17.jar;lib/slf4j-api-1.6.6.jar;lib/slf4j-log4j12-1.7.5.jar;lib/MobileIMSDKServer.jar;lib/MobileIMSDKServer_meta.jar;lib/MobileIMSDKServer_meta.jar;"%JAVA_HOME%/lib/tools.jar;classes/.;lib/mina-core-2.0.7.jar;" net.openmob.mobileimsdk.server.demo.ServerLauncherImpl %1 - -@echo. -pause \ No newline at end of file diff --git "a/demos/\350\257\264\346\230\216.txt" "b/demos/\350\257\264\346\230\216.txt" index c0925c4e..fada4191 100644 --- "a/demos/\350\257\264\346\230\216.txt" +++ "b/demos/\350\257\264\346\230\216.txt" @@ -1 +1 @@ -此目录下为MobileIMSDK已编译好的可执行Demo,MobileIMSDK的源码,请至目录/src_all下查看。 \ No newline at end of file +此目录下为 MobileIMSDK v3 版已编译好的可执行Demo,MobileIMSDK的源码请至目录/src_all下查看。 \ No newline at end of file diff --git a/dist/client/android/MobileIMSDK4a.jar b/dist/client/android/MobileIMSDK4a.jar index de8b823a..c12b8e2a 100755 Binary files a/dist/client/android/MobileIMSDK4a.jar and b/dist/client/android/MobileIMSDK4a.jar differ diff --git a/dist/client/android/MobileIMSDKServerX_meta.jar b/dist/client/android/MobileIMSDKServerX_meta.jar new file mode 100755 index 00000000..93b8eb69 Binary files /dev/null and b/dist/client/android/MobileIMSDKServerX_meta.jar differ diff --git a/dist/client/android/MobileIMSDKServer_meta.jar b/dist/client/android/MobileIMSDKServer_meta.jar deleted file mode 100755 index 6320a784..00000000 Binary files a/dist/client/android/MobileIMSDKServer_meta.jar and /dev/null differ diff --git a/dist/client/ios/libMobileIMSDK4iX_common.a b/dist/client/ios/libMobileIMSDK4iX_common.a new file mode 100644 index 00000000..de504925 Binary files /dev/null and b/dist/client/ios/libMobileIMSDK4iX_common.a differ diff --git a/dist/client/ios/libMobileIMSDK4i_common.a b/dist/client/ios/libMobileIMSDK4i_common.a deleted file mode 100755 index 8d7eea47..00000000 Binary files a/dist/client/ios/libMobileIMSDK4i_common.a and /dev/null differ diff --git a/dist/client/ios/usr/local/include/AutoReLoginDaemon.h b/dist/client/ios/usr/local/include/AutoReLoginDaemon.h old mode 100755 new mode 100644 index f3262658..1c75e74c --- a/dist/client/ios/usr/local/include/AutoReLoginDaemon.h +++ b/dist/client/ios/usr/local/include/AutoReLoginDaemon.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // AutoReLoginDaemon.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/24. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import diff --git a/dist/client/ios/usr/local/include/CharsetHelper.h b/dist/client/ios/usr/local/include/CharsetHelper.h old mode 100755 new mode 100644 index 46342183..c7100350 --- a/dist/client/ios/usr/local/include/CharsetHelper.h +++ b/dist/client/ios/usr/local/include/CharsetHelper.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // CharsetHelper.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/22. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import diff --git a/dist/client/ios/usr/local/include/ChatBaseEvent.h b/dist/client/ios/usr/local/include/ChatBaseEvent.h old mode 100755 new mode 100644 index 6cac735c..0161f407 --- a/dist/client/ios/usr/local/include/ChatBaseEvent.h +++ b/dist/client/ios/usr/local/include/ChatBaseEvent.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // ChatBaseEvent.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/21. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import @@ -33,10 +38,9 @@ /*! * 本地用户的登陆结果回调事件通知。 * - * @param dwUserId 当回调参数dwErrorCode=0时,本回调参数值表示登陆成功后服务端分配的用户id,否则本回调参数值无意义 * @param dwErrorCode 服务端反馈的登录结果:0 表示登陆成功,否则为服务端自定义的出错代码(按照约定通常为>=1025的数) */ -- (void) onLoginMessage:(int)dwUserId withErrorCode:(int) dwErrorCode; +- (void) onLoginMessage:(int) dwErrorCode; /*! * 与服务端的通信断开的回调事件通知。 diff --git a/dist/client/ios/usr/local/include/ChatTransDataEvent.h b/dist/client/ios/usr/local/include/ChatTransDataEvent.h old mode 100755 new mode 100644 index c65873aa..0caca87c --- a/dist/client/ios/usr/local/include/ChatTransDataEvent.h +++ b/dist/client/ios/usr/local/include/ChatTransDataEvent.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // ChatTransDataEvent.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/21. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import @@ -37,10 +42,10 @@ * 应用层可以将此消息进一步按自已的IM协议进行定义,从而实现完整的即时通信软件逻辑。 * * @param fingerPrintOfProtocal 当该消息需要QoS支持时本回调参数为该消息的特征指纹码,否则为null - * @param dwUserid 消息的发送者id(RainbowCore框架中规定发送者id=0即表示是由服务端主动发过的,否则表示的是其它客户端发过来的消息) + * @param userid 消息的发送者id(RainbowCore框架中规定发送者id=“0”即表示是由服务端主动发过的,否则表示的是其它客户端发过来的消息) * @param dataContent 消息内容的文本表示形式 */ -- (void) onTransBuffer:(NSString*)fingerPrintOfProtocal withUserId:(int)dwUserid andContent:(NSString*)dataContent; +- (void) onTransBuffer:(NSString*)fingerPrintOfProtocal withUserId:(NSString*)userid andContent:(NSString*)dataContent andTypeu:(int)typeu; /*! * 服务端反馈的出错信息回调事件通知。 diff --git a/dist/client/ios/usr/local/include/ClientCoreSDK.h b/dist/client/ios/usr/local/include/ClientCoreSDK.h old mode 100755 new mode 100644 index 27aaf9d0..d46a7a67 --- a/dist/client/ios/usr/local/include/ClientCoreSDK.h +++ b/dist/client/ios/usr/local/include/ClientCoreSDK.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // ClientCoreSDK.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/21. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import @@ -35,7 +40,7 @@ /*! * 网络是否可用, true表示可用,否则表示不可用. *

- * 本字段在将在网络事件通知处理中被设置. + * 本字段将在网络事件通知处理中被设置. * * @warning 本类中的网络状态变更事件通知实现类虽是Apple官方公布,但并不是正式API的一部分 * ,未来或许有更可靠的实现方案,但目前并不影响本核心类库算法的构造和实现。 @@ -75,15 +80,9 @@ @property (nonatomic, assign) BOOL loginHasInit; /*! - * 本字段存放的是用户成功登陆后,服务端分配的id号。 - *
- * 本字段只在 @link connectedToServer @/link ==true 的情况下才有意义哦. - *
- * 本参数由框架自动设置。 - */ -@property (nonatomic, assign) int currentUserId; - -/*! + * 保存提交到服务端的准一id,保证唯一就可以通信,可能是登陆用户名 + * 、也可能是任意不重复的id等,具体意义由业务层决定。 + *

* 本字段在登陆信息成功发出后就会被设置,将在掉线后自动重连时使用。 *
* 因不保证服务端正确收到和处理了该用户的登陆信息,所以本字段因只在 @@ -91,9 +90,12 @@ *
* 本参数由框架自动设置。 */ -@property (nonatomic, retain) NSString *currentLoginName; +@property (nonatomic, retain) NSString *currentLoginUserId; /*! + * 保存提交到服务端用于身份鉴别和合法性检查的token,它可能是 + * 登陆密码,也可能是通过前置单点登陆接口拿到的token等,具体意义由业务层决定。 + *

* 本字段在登陆信息成功发出后就会被设置,将在掉线后自动重连时使用。 *
* 因不保证服务端正确收到和处理了该用户的登陆信息,所以本字段因只在 @@ -101,9 +103,11 @@ *
* 本参数由框架自动设置。 */ -@property (nonatomic, retain) NSString *currentLoginPsw; +@property (nonatomic, retain) NSString *currentLoginToken; /*! + * 保存本地用户登陆时要提交的额外信息(非必须字段,具体意义由客户端自行决定)。 + *

* 本字段在登陆信息成功发出后就会被设置,将在掉线后自动重连时使用。 *
* 因不保证服务端正确收到和处理了该用户的登陆信息,所以本字段应只在 diff --git a/dist/client/ios/usr/local/include/CompletionDefine.h b/dist/client/ios/usr/local/include/CompletionDefine.h old mode 100755 new mode 100644 index baabb992..bde2a6aa --- a/dist/client/ios/usr/local/include/CompletionDefine.h +++ b/dist/client/ios/usr/local/include/CompletionDefine.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // CompletionDefine.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/27. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import diff --git a/dist/client/ios/usr/local/include/ConfigEntity.h b/dist/client/ios/usr/local/include/ConfigEntity.h old mode 100755 new mode 100644 index 997de9b3..93270bb0 --- a/dist/client/ios/usr/local/include/ConfigEntity.h +++ b/dist/client/ios/usr/local/include/ConfigEntity.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // ConfigEntity.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/22. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import diff --git a/dist/client/ios/usr/local/include/ErrorCode.h b/dist/client/ios/usr/local/include/ErrorCode.h old mode 100755 new mode 100644 index 3d2c37f7..9a6011f0 --- a/dist/client/ios/usr/local/include/ErrorCode.h +++ b/dist/client/ios/usr/local/include/ErrorCode.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // ErrorCode.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/21. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // /*! @define ErrorCode diff --git a/dist/client/ios/usr/local/include/KeepAliveDaemon.h b/dist/client/ios/usr/local/include/KeepAliveDaemon.h old mode 100755 new mode 100644 index b4ccdbc5..8178774d --- a/dist/client/ios/usr/local/include/KeepAliveDaemon.h +++ b/dist/client/ios/usr/local/include/KeepAliveDaemon.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // KeepAliveDaemon.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/24. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import diff --git a/dist/client/ios/usr/local/include/LocalUDPDataReciever.h b/dist/client/ios/usr/local/include/LocalUDPDataReciever.h old mode 100755 new mode 100644 index eeb35dad..fee090a8 --- a/dist/client/ios/usr/local/include/LocalUDPDataReciever.h +++ b/dist/client/ios/usr/local/include/LocalUDPDataReciever.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // LocalUDPDataReciever.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/27. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import diff --git a/dist/client/ios/usr/local/include/LocalUDPDataSender.h b/dist/client/ios/usr/local/include/LocalUDPDataSender.h old mode 100755 new mode 100644 index 56c9574c..3a666a69 --- a/dist/client/ios/usr/local/include/LocalUDPDataSender.h +++ b/dist/client/ios/usr/local/include/LocalUDPDataSender.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // LocalUDPDataSender.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/27. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import @@ -40,12 +45,14 @@ * * @warning 本库的启动入口就是登陆过程触发的,因而要使本库能正常工作, * 请确保首先进行登陆操作。 - * @param loginName 登陆时提交的用户名:此用户名对框架来说可以随意,具体意义由上层逻辑决即可 - * @param loginPsw 登陆时提交的密码:此密码对框架来说可以随意,具体意义由上层逻辑决即可 + * @param loginUserId 提交到服务端的准一id,保证唯一就可以通信,可能是登陆用户名、 + * 也可能是任意不重复的id等,具体意义由业务层决定 + * @param loginToken 提交到服务端用于身份鉴别和合法性检查的token,它可能是登陆密码 + * ,也可能是通过前置单点登陆接口拿到的token等,具体意义由业务层决定 * @return 0表示数据发出成功,否则返回的是错误码 * @see [LocalUDPDataSender sendLogin:withPassword:andExtra:] */ -- (int) sendLogin:(NSString *)loginName withPassword:(NSString *)loginPsw; +- (int) sendLogin:(NSString *)loginUserId withToken:(NSString *)loginToken; /*! * 发送登陆信息. @@ -55,13 +62,15 @@ * * @warning 本库的启动入口就是登陆过程触发的,因而要使本库能正常工作, * 请确保首先进行登陆操作。 - * @param loginName 登陆时提交的用户名:此用户名对框架来说可以随意,具体意义由上层逻辑决即可 - * @param loginPsw 登陆时提交的密码:此密码对框架来说可以随意,具体意义由上层逻辑决即可 + * @param loginUserId 提交到服务端的准一id,保证唯一就可以通信,可能是登陆用户名、 + * 也可能是任意不重复的id等,具体意义由业务层决定 + * @param loginToken 提交到服务端用于身份鉴别和合法性检查的token,它可能是登陆密码 + * ,也可能是通过前置单点登陆接口拿到的token等,具体意义由业务层决定 * @param extra 额外信息字符串,可为null。本字段目前为保留字段,供上层应用自行放置需要的内容 * @return 0表示数据发出成功,否则返回的是错误码 * @see [LocalUDPDataSender sendImpl_:(NSData *)] */ -- (int) sendLogin:(NSString *)loginName withPassword:(NSString *)loginPsw andExtra:(NSString *)extra; +- (int) sendLogin:(NSString *)loginUserId withToken:(NSString *)loginToken andExtra:(NSString *)extra; /*! * 发送注销登陆信息. @@ -83,29 +92,16 @@ */ - (int) sendKeepAlive; -/*! - * 通用数据发送方法(默认不需要Qos支持)。 - * - * @param dataContent byte数组组织的数据内容 - * @param dataLen byte数组长度 - * @param to_user_id 要发送到的目标用户id - * @return 0表示数据发出成功,否则返回的是错误码 - * @see #sendCommonData(String, int, boolean, String) - */ -- (int) sendCommonData:(NSData *)dataContent toUserId:(int)to_user_id; - /*! * 通用数据发送方法。 * - * @param dataContent byte数组组织的数据内容 - * @param dataLen byte数组长度 + * @param dataContentWidthStr 要发送的数据内容(字符串方式组织) * @param to_user_id 要发送到的目标用户id - * @param QoS true表示需QoS机制支持,不则不需要 - * @param fingerPrint QoS机制中要用到的指纹码(即消息包唯一id),生成方法见 [Protocal:genFingerPrint][Protocal:genFingerPrint] * @return 0表示数据发出成功,否则返回的是错误码 - * @see #sendCommonData(String, int, boolean, String) + * @see #sendCommonData(Protocal) + * @see DataFactoryC.createCommonData(String, int, int) */ -- (int) sendCommonData:(NSData *)dataContent toUserId:(int)to_user_id qos:(BOOL)QoS fp:(NSString *)fingerPrint; +- (int) sendCommonDataWithStr:(NSString *)dataContentWidthStr toUserId:(NSString *)to_user_id; /*! * 通用数据发送方法。 @@ -116,7 +112,7 @@ * @see #sendCommonData(Protocal) * @see DataFactoryC.createCommonData(String, int, int) */ -- (int) sendCommonDataWithStr:(NSString *)dataContentWidthStr toUserId:(int)to_user_id; +- (int) sendCommonDataWithStr:(NSString *)dataContentWidthStr toUserId:(NSString *)to_user_id withTypeu:(int)typeu; /*! * 通用数据发送方法(默认不需要Qos支持)。 @@ -129,7 +125,7 @@ * @see [sendCommonData:Protocal] * @see [DataFactoryC:createCommonData(String, int, int, boolean, String)] */ -- (int) sendCommonDataWithStr:(NSString *)dataContentWidthStr toUserId:(int)to_user_id qos:(BOOL)QoS fp:(NSString *)fingerPrint; +- (int) sendCommonDataWithStr:(NSString *)dataContentWidthStr toUserId:(NSString *)to_user_id qos:(BOOL)QoS fp:(NSString *)fingerPrint withTypeu:(int)typeu; /*! * 通用数据发送的根方法。 diff --git a/dist/client/ios/usr/local/include/LocalUDPSocketProvider.h b/dist/client/ios/usr/local/include/LocalUDPSocketProvider.h old mode 100755 new mode 100644 index 885da6f6..afdbab74 --- a/dist/client/ios/usr/local/include/LocalUDPSocketProvider.h +++ b/dist/client/ios/usr/local/include/LocalUDPSocketProvider.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // LocalUDPSocketProvider.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/22. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import diff --git a/dist/client/ios/usr/local/include/MessageQoSEvent.h b/dist/client/ios/usr/local/include/MessageQoSEvent.h old mode 100755 new mode 100644 index 3a82c60f..9fb2365c --- a/dist/client/ios/usr/local/include/MessageQoSEvent.h +++ b/dist/client/ios/usr/local/include/MessageQoSEvent.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // MessageQoSEvent.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/21. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import @@ -41,7 +46,7 @@ * 中的Protocal对象是原对象的clone(即原对象的深拷贝),请放心使用哦),应用层 * 可通过指纹特征码找到原消息并可以UI上将其标记为”发送失败“以便即时告之用户 */ -- (void) messagesLost:(NSArray*)lostMessages; +- (void) messagesLost:(NSMutableArray*)lostMessages; /*! * 消息已被对方收到的回调事件通知. diff --git a/dist/client/ios/usr/local/include/NSMutableDictionary+Ext.h b/dist/client/ios/usr/local/include/NSMutableDictionary+Ext.h old mode 100755 new mode 100644 index f2ff4690..2987eed1 --- a/dist/client/ios/usr/local/include/NSMutableDictionary+Ext.h +++ b/dist/client/ios/usr/local/include/NSMutableDictionary+Ext.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // NSMutableDictionary+Ext.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/24. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import diff --git a/dist/client/ios/usr/local/include/PErrorResponse.h b/dist/client/ios/usr/local/include/PErrorResponse.h old mode 100755 new mode 100644 index 3d49470e..b93715b9 --- a/dist/client/ios/usr/local/include/PErrorResponse.h +++ b/dist/client/ios/usr/local/include/PErrorResponse.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // PErrorResponse.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/22. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import diff --git a/dist/client/ios/usr/local/include/PKeepAlive.h b/dist/client/ios/usr/local/include/PKeepAlive.h old mode 100755 new mode 100644 index aaae4b34..2158e3b3 --- a/dist/client/ios/usr/local/include/PKeepAlive.h +++ b/dist/client/ios/usr/local/include/PKeepAlive.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // PKeepAlive.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/22. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import diff --git a/dist/client/ios/usr/local/include/PKeepAliveResponse.h b/dist/client/ios/usr/local/include/PKeepAliveResponse.h old mode 100755 new mode 100644 index 6371dfdd..1cafec4f --- a/dist/client/ios/usr/local/include/PKeepAliveResponse.h +++ b/dist/client/ios/usr/local/include/PKeepAliveResponse.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // PKeepAliveResponse.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/22. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import diff --git a/dist/client/ios/usr/local/include/PLoginInfo.h b/dist/client/ios/usr/local/include/PLoginInfo.h old mode 100755 new mode 100644 index 96b47e2d..9469d964 --- a/dist/client/ios/usr/local/include/PLoginInfo.h +++ b/dist/client/ios/usr/local/include/PLoginInfo.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // PLoginInfo.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/22. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import @@ -25,11 +30,11 @@ */ @interface PLoginInfo : NSObject -/*! 登陆时提交的用户名:此用户名对框架来说可以随意,具体意义由上层逻辑决即可 */ -@property (nonatomic, retain) NSString* loginName; +/*! 登陆时提交的准一id,保证唯一就可以通信,可能是登陆用户名、也可能是任意不重复的id等,具体意义由业务层决定 */ +@property (nonatomic, retain) NSString* loginUserId; -/*! 登陆时提交的密码:此密码对框架来说可以随意,具体意义由上层逻辑决即可 */ -@property (nonatomic, retain) NSString* loginPsw; +/*! 登陆时提交到服务端用于身份鉴别和合法性检查的token,它可能是登陆密码,也可能是通过前置单点登陆接口拿到的token等,具体意义由业务层决定 */ +@property (nonatomic, retain) NSString* loginToken; /*! * 额外信息字符串。本字段目前为保留字段,供上层应用自行放置需要的内容。 diff --git a/dist/client/ios/usr/local/include/PLoginInfoResponse.h b/dist/client/ios/usr/local/include/PLoginInfoResponse.h old mode 100755 new mode 100644 index bf29e862..6a300a85 --- a/dist/client/ios/usr/local/include/PLoginInfoResponse.h +++ b/dist/client/ios/usr/local/include/PLoginInfoResponse.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // PLoginInfoResponse.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/22. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import @@ -29,7 +34,4 @@ /*! 错误码:0表示认证成功,否则是用户自定的错误码(该码应该是>1024的整数) */ @property (nonatomic, assign) int code; -/*! 用户登陆路成功后分配给客户的唯一id:此值只在code==0时才有意义 */ -@property (nonatomic, assign) int user_id; - @end diff --git a/dist/client/ios/usr/local/include/Protocal.h b/dist/client/ios/usr/local/include/Protocal.h old mode 100755 new mode 100644 index 91ae4a49..eda784e0 --- a/dist/client/ios/usr/local/include/Protocal.h +++ b/dist/client/ios/usr/local/include/Protocal.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // Protocal.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/22. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import @@ -28,27 +33,48 @@ */ @interface Protocal : NSObject -/*! - * 协议类型. +/** + * 意义:是否来自跨服务器的消息,true表示是、否则不是。本字段是为跨服务器或集群准备的。 + * 默认:false + * + * @since 3.0 + */ +@property (nonatomic, assign) bool bridge; + +/*! + * 意义:协议类型。 + * 注意:本字段为框架专用字段,本字段的使用涉及IM核心层算法的表现,如无必要请避免应用层使用此字段。 + * 补充:理论上应用层不参与本字段的定义,可将其视为透明,如需定义应用层的消息类型,请使用 {@link typeu} 字 + * 段并配合dataContent一起使用。 + * 默认:0 * * @see @link ProtocalType @/link */ @property (nonatomic, assign) int type; -/*! 协议数据内容 */ +/*! 意义:协议数据内容。 + * 说明:本字段用于MobileIMSDK_X框架中时,可能会存放一些指令内容。当本字段用于应用层时,由用户自行 + * 定义和使用其内容 */ @property (nonatomic, retain) NSString *dataContent; -/*! 消息发出方的id(当用户登陆时,此值可不设置) */ -@property (nonatomic, assign) int from; -/*! 消息接收方的id(当用户退出时,此值可不设置) */ -@property (nonatomic, assign) int to; +/*! + * 意义:消息发出方的id(当用户登陆时,此值可不设置) + * 说明:为“-1”表示未设定、为“0”表示来自Server。 + * 默认:"-1" */ +@property (nonatomic, retain) NSString *from; +/*! + * 意义:消息接收方的id(当用户退出时,此值可不设置) + * 说明:为“-1”表示未设定、为“0”表示发给Server。 + * 默认:"-1" */ +@property (nonatomic, retain) NSString *to; -/*! 用于QoS消息包的质量保证时作为消息的指纹特征码(理论上全局唯一) */ +/*! + * 意义:用于QoS消息包的质量保证时作为消息的指纹特征码(理论上全局唯一)。 + * 注意:本字段为框架专用字段,请勿用作其它用途。 */ @property (nonatomic, retain) NSString *fp; /*! - * true表示本包需要进行QoS质量保证,否则不需要. - *

- * 注:目前只支持客户发给客户端的质量保证,暂不支持服务端主动发起的包哦(比如上下线通知等)。 + * 意义:true表示本包需要进行QoS质量保证,否则不需要. + * 默认:false * * @warning 当本属性申明为BOOL类型时,在模拟器iPhone 4s、iPhone 5时,利用官方的NSJSONSerialization * 类转成JSON时,会被解析成0或1,而在iPhone 5s和iPhone 6上会被解析成true或false,符合JSON规范的应 @@ -57,6 +83,15 @@ @property (nonatomic, assign) bool QoS; //@property (nonatomic) BOOL QoS; +/** + * 意义:应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型。 + * 注意:此值为-1时表示未定义。MobileIMSDK_X框架中,本字段为保留字段,不参与框架的核心算法,专留用应用 + * 层自行定义和使用。 + * 默认:-1 + * + * @since 3.0, at 20161021 */ +@property (nonatomic, assign) int typeu; + /*! * 本字段仅用于QoS时:表示丢包重试次数。 * @@ -97,7 +132,7 @@ - (Protocal *) clone; /*! - * 创建Protocal对象的快捷方法(QoS标记默认为false)。 + * 创建Protocal对象的快捷方法(QoS标记默认为true、typeu默认=-1)。 * * @param type 协议类型 * @param dataContent 协议数据内容 @@ -106,7 +141,35 @@ * * @return 新建的Protocal对象 */ -+ (Protocal *) initWithType:(int)type content:(NSString *)dataContent from:(int)from to:(int)to; ++ (Protocal *) initWithType:(int)type content:(NSString *)dataContent from:(NSString *)from to:(NSString *)to; + +/*! + * 创建Protocal对象的快捷方法(QoS标记默认为true)。 + * + * @param type 协议类型 + * @param dataContent 协议数据内容 + * @param from 消息发出方的id(当用户登陆时,此值可不设置) + * @param to 消息接收方的id(当用户退出时,此值可不设置) + * @param typeu 应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型,不需要设置时请填-1即可 + * + * @return 新建的Protocal对象 + */ ++ (Protocal *) initWithType:(int)type content:(NSString *)dataContent from:(NSString *)from to:(NSString *)to tu:(int)typeu; + +/*! + * 创建Protocal对象的快捷方法. + * + * @param type 协议类型 + * @param dataContent 协议数据内容 + * @param from 消息发出方的id(当用户登陆时,此值可不设置) + * @param to 消息接收方的id(当用户退出时,此值可不设置) + * @param QoS 是否需要QoS支持,true表示是,否则不需要 + * @param fingerPrint 协议包的指纹特征码,当 QoS字段=true时且本字段为null时方法中将自动生成指纹码否则使用本参数指定的指纹码 + * @param typeu 应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型,不需要设置时请填-1即可 + * + * @return 新建的Protocal对象 + */ ++ (Protocal *) initWithType:(int)type content:(NSString *)dataContent from:(NSString *)from to:(NSString *)to qos:(bool)QoS fp:(NSString *)fingerPrint tu:(int)typeu; /*! * 创建Protocal对象的快捷方法. @@ -117,10 +180,12 @@ * @param to 消息接收方的id(当用户退出时,此值可不设置) * @param QoS 是否需要QoS支持,true表示是,否则不需要 * @param fingerPrint 协议包的指纹特征码,当 QoS字段=true时且本字段为null时方法中将自动生成指纹码否则使用本参数指定的指纹码 + * @param bridge 是否来自跨服务器的消息,true表示是、否则不是。本字段是为跨服务器或集群准备的 + * @param typeu 应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型,不需要设置时请填-1即可 * * @return 新建的Protocal对象 */ -+ (Protocal *) initWithType:(int)type content:(NSString *)dataContent from:(int)from to:(int)to qos:(BOOL)QoS fp:(NSString *)fingerPrint; ++ (Protocal *) initWithType:(int)type content:(NSString *)dataContent from:(NSString *)from to:(NSString *)to qos:(bool)QoS fp:(NSString *)fingerPrint bg:(bool)bridge tu:(int)typeu; /*! * 返回QoS需要的消息包的指纹特征码. diff --git a/dist/client/ios/usr/local/include/ProtocalFactory.h b/dist/client/ios/usr/local/include/ProtocalFactory.h old mode 100755 new mode 100644 index 4d877784..20218d26 --- a/dist/client/ios/usr/local/include/ProtocalFactory.h +++ b/dist/client/ios/usr/local/include/ProtocalFactory.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // ProtocalFactory.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/23. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import @@ -103,19 +108,19 @@ * @param loginName * @return */ -+ (Protocal *) createPLoginoutInfo:(int) user_id withLoginName:(NSString *)loginName; ++ (Protocal *) createPLoginoutInfo:(NSString *) user_id; /*! * 创建用户登陆消息对象(该对象由客户端发出). *

* 本方法主要由MobileIMSDK框架内部使用。 * - * @param loginName 登陆时提交的用户名:此用户名对框架来说可以随意,具体意义由上层逻辑决即可 - * @param loginPsw 登陆时提交的密码:此密码对框架来说可以随意,具体意义由上层逻辑决即可 + * @param loginUserId 提交到服务端的准一id,保证唯一就可以通信,可能是登陆用户名、也可能是任意不重复的id等,具体意义由业务层决定 + * @param loginToken 提交到服务端用于身份鉴别和合法性检查的token,它可能是登陆密码,也可能是通过前置单点登陆接口拿到的token等,具体意义由业务层决定 * @param extra 额外信息字符串。本字段目前为保留字段,供上层应用自行放置需要的内容 * @return */ -+ (Protocal *) createPLoginInfo:(NSString *)loginName withPsw:(NSString *)loginPsw andExtra:(NSString *)extra; ++ (Protocal *) createPLoginInfo:(NSString *)loginUserId withToken:(NSString *)loginToken andExtra:(NSString *)extra; /*! * 创建用户心跳包对象(该对象由客户端发出). @@ -125,7 +130,7 @@ * @param from_user_id * @return */ -+ (Protocal *) createPKeepAlive:(int)from_user_id; ++ (Protocal *) createPKeepAlive:(NSString *)from_user_id; /*! * 通用消息的Protocal对象新建方法(默认不需要Qos支持)。 @@ -138,21 +143,20 @@ * * @return 新建的Protocal对象 */ -+ (Protocal *) createCommonData:(NSString *)dataContent fromUserId:(int)from_user_id toUserId:(int)to_user_id; ++ (Protocal *) createCommonData:(NSString *)dataContent fromUserId:(NSString *)from_user_id toUserId:(NSString *)to_user_id; /*! - * 通用消息的Protocal对象新建方法。 + * 通用消息的Protocal对象新建方法(默认不需要Qos支持)。 *

* 本方法主要由MobileIMSDK框架内部使用。 * * @param dataContent 要发送的数据内容(字符串方式组织) * @param from_user_id 发送人的user_id * @param to_user_id 接收人的user_id - * @param QoS 是否需要QoS支持,true表示需要,否则不需要 * * @return 新建的Protocal对象 */ -+ (Protocal *) createCommonData:(NSString *)dataContent fromUserId:(int)from_user_id toUserId:(int)to_user_id qos:(BOOL)QoS; ++ (Protocal *) createCommonData:(NSString *)dataContent fromUserId:(NSString *)from_user_id toUserId:(NSString *)to_user_id withTypeu:(int)typeu; /*! * 通用消息的Protocal对象新建方法。 @@ -167,7 +171,19 @@ * * @return 新建的Protocal对象 */ -+ (Protocal *) createCommonData:(NSString *)dataContent fromUserId:(int)from_user_id toUserId:(int)to_user_id qos:(BOOL)QoS fp:(NSString *)fingerPrint; ++ (Protocal *) createCommonData:(NSString *)dataContent fromUserId:(NSString *)from_user_id toUserId:(NSString *)to_user_id qos:(bool)QoS fp:(NSString *)fingerPrint withTypeu:(int)typeu; + +/*! + * 客户端from_user_id向to_user_id发送一个QoS机制中需要的“收到消息应答包” (bridge标识默认为false). + *

+ * 本方法主要由MobileIMSDK框架内部使用。 + * + * @param from_user_id 发起方 + * @param to_user_id 接收方 + * @param recievedMessageFingerPrint 已收到的消息包指纹码 + * @return + */ ++ (Protocal *) createRecivedBack:(NSString *)from_user_id toUserId:(NSString *)to_user_id withFingerPrint:(NSString *)recievedMessageFingerPrint; /*! * 客户端from_user_id向to_user_id发送一个QoS机制中需要的“收到消息应答包”. @@ -179,6 +195,8 @@ * @param recievedMessageFingerPrint 已收到的消息包指纹码 * @return */ -+ (Protocal *) createRecivedBack:(int)from_user_id toUserId:(int)to_user_id withFingerPrint:(NSString *)recievedMessageFingerPrint; ++ (Protocal *) createRecivedBack:(NSString *)from_user_id toUserId:(NSString *)to_user_id withFingerPrint:(NSString *)recievedMessageFingerPrint andBridge:(bool)bridge; + @end + diff --git a/dist/client/ios/usr/local/include/ProtocalType.h b/dist/client/ios/usr/local/include/ProtocalType.h old mode 100755 new mode 100644 index ffabca86..0c2cb18b --- a/dist/client/ios/usr/local/include/ProtocalType.h +++ b/dist/client/ios/usr/local/include/ProtocalType.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // ProtocalType.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/22. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // /*! @define ProtocalType diff --git a/dist/client/ios/usr/local/include/QoS4ReciveDaemon.h b/dist/client/ios/usr/local/include/QoS4ReciveDaemon.h old mode 100755 new mode 100644 index e3573ed2..afcf948d --- a/dist/client/ios/usr/local/include/QoS4ReciveDaemon.h +++ b/dist/client/ios/usr/local/include/QoS4ReciveDaemon.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // ProtocalQoS4ReciveProvider.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/23. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import diff --git a/dist/client/ios/usr/local/include/QoS4SendDaemon.h b/dist/client/ios/usr/local/include/QoS4SendDaemon.h old mode 100755 new mode 100644 index 261afc79..29c2f30b --- a/dist/client/ios/usr/local/include/QoS4SendDaemon.h +++ b/dist/client/ios/usr/local/include/QoS4SendDaemon.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // ProtocalQoS4SendProvider.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/24. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import diff --git a/dist/client/ios/usr/local/include/ToolKits.h b/dist/client/ios/usr/local/include/ToolKits.h old mode 100755 new mode 100644 index 2fc22ac3..1a7c1649 --- a/dist/client/ios/usr/local/include/ToolKits.h +++ b/dist/client/ios/usr/local/include/ToolKits.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // ToolKits.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/22. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import diff --git a/dist/client/ios/usr/local/include/UDPUtils.h b/dist/client/ios/usr/local/include/UDPUtils.h old mode 100755 new mode 100644 index 99cad323..e63bb536 --- a/dist/client/ios/usr/local/include/UDPUtils.h +++ b/dist/client/ios/usr/local/include/UDPUtils.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // UDPUtils.h -// MobileIMSDK4i +// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/27. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import diff --git a/dist/client/java/MobileIMSDK4j.jar b/dist/client/java/MobileIMSDK4j.jar new file mode 100755 index 00000000..095abdfa Binary files /dev/null and b/dist/client/java/MobileIMSDK4j.jar differ diff --git a/dist/client/java/MobileIMSDK4jO.jar b/dist/client/java/MobileIMSDK4jO.jar deleted file mode 100755 index c3c8be3f..00000000 Binary files a/dist/client/java/MobileIMSDK4jO.jar and /dev/null differ diff --git a/dist/client/java/MobileIMSDKServerX_meta.jar b/dist/client/java/MobileIMSDKServerX_meta.jar new file mode 100755 index 00000000..93b8eb69 Binary files /dev/null and b/dist/client/java/MobileIMSDKServerX_meta.jar differ diff --git a/dist/client/java/MobileIMSDKServer_meta.jar b/dist/client/java/MobileIMSDKServer_meta.jar deleted file mode 100755 index bee5fdb8..00000000 Binary files a/dist/client/java/MobileIMSDKServer_meta.jar and /dev/null differ diff --git a/dist/server/MobileIMSDKServer.jar b/dist/server/MobileIMSDKServer.jar deleted file mode 100755 index 15209598..00000000 Binary files a/dist/server/MobileIMSDKServer.jar and /dev/null differ diff --git a/dist/server/MobileIMSDKServerX.jar b/dist/server/MobileIMSDKServerX.jar new file mode 100755 index 00000000..66a41216 Binary files /dev/null and b/dist/server/MobileIMSDKServerX.jar differ diff --git a/dist/server/MobileIMSDKServerX_meta.jar b/dist/server/MobileIMSDKServerX_meta.jar new file mode 100755 index 00000000..93b8eb69 Binary files /dev/null and b/dist/server/MobileIMSDKServerX_meta.jar differ diff --git a/dist/server/MobileIMSDKServer_meta.jar b/dist/server/MobileIMSDKServer_meta.jar deleted file mode 100755 index 6320a784..00000000 Binary files a/dist/server/MobileIMSDKServer_meta.jar and /dev/null differ diff --git a/dist/server/MobileIMSDKX_MQ.jar b/dist/server/MobileIMSDKX_MQ.jar new file mode 100755 index 00000000..b671205e Binary files /dev/null and b/dist/server/MobileIMSDKX_MQ.jar differ diff --git a/dist/server/gson-2.7.jar b/dist/server/gson-2.7.jar new file mode 100755 index 00000000..be5b59b7 Binary files /dev/null and b/dist/server/gson-2.7.jar differ diff --git a/dist/server/mina-core-2.0.14.jar b/dist/server/mina-core-2.0.14.jar new file mode 100755 index 00000000..1260d27a Binary files /dev/null and b/dist/server/mina-core-2.0.14.jar differ diff --git a/dist/server/mina-core-2.0.7.jar b/dist/server/mina-core-2.0.7.jar deleted file mode 100755 index 5ec135bb..00000000 Binary files a/dist/server/mina-core-2.0.7.jar and /dev/null differ diff --git a/dist/server/rabbitmq-client.jar b/dist/server/rabbitmq-client.jar new file mode 100755 index 00000000..85903fcb Binary files /dev/null and b/dist/server/rabbitmq-client.jar differ diff --git a/dist/server/slf4j-api-1.6.6.jar b/dist/server/slf4j-api-1.6.6.jar deleted file mode 100755 index 4c03fa6b..00000000 Binary files a/dist/server/slf4j-api-1.6.6.jar and /dev/null differ diff --git a/dist/server/slf4j-api-1.7.21.jar b/dist/server/slf4j-api-1.7.21.jar new file mode 100755 index 00000000..2a5c33ec Binary files /dev/null and b/dist/server/slf4j-api-1.7.21.jar differ diff --git a/dist/server/slf4j-log4j12-1.7.21.jar b/dist/server/slf4j-log4j12-1.7.21.jar new file mode 100755 index 00000000..d07a6dc2 Binary files /dev/null and b/dist/server/slf4j-log4j12-1.7.21.jar differ diff --git a/dist/server/slf4j-log4j12-1.7.5.jar b/dist/server/slf4j-log4j12-1.7.5.jar deleted file mode 100755 index afce5c21..00000000 Binary files a/dist/server/slf4j-log4j12-1.7.5.jar and /dev/null differ diff --git a/docs/api_docs/client/android/allclasses-frame.html b/docs/api_docs/client/android/allclasses-frame.html index 51e1c66d..f0fa0911 100755 --- a/docs/api_docs/client/android/allclasses-frame.html +++ b/docs/api_docs/client/android/allclasses-frame.html @@ -2,10 +2,10 @@ - - -所有类 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +所有类 (MobileIMSDK 3.0(Android平台) API文档) + diff --git a/docs/api_docs/client/android/allclasses-noframe.html b/docs/api_docs/client/android/allclasses-noframe.html index 3ddbf12d..21cfe166 100755 --- a/docs/api_docs/client/android/allclasses-noframe.html +++ b/docs/api_docs/client/android/allclasses-noframe.html @@ -2,10 +2,10 @@ - - -所有类 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +所有类 (MobileIMSDK 3.0(Android平台) API文档) + diff --git a/docs/api_docs/client/android/constant-values.html b/docs/api_docs/client/android/constant-values.html index 402247fa..1c994d20 100755 --- a/docs/api_docs/client/android/constant-values.html +++ b/docs/api_docs/client/android/constant-values.html @@ -2,16 +2,16 @@ - - -常量字段值 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +常量字段值 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@

  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/deprecated-list.html b/docs/api_docs/client/android/deprecated-list.html index 7468b51a..ce65a066 100755 --- a/docs/api_docs/client/android/deprecated-list.html +++ b/docs/api_docs/client/android/deprecated-list.html @@ -2,16 +2,16 @@ - - -已过时的列表 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +已过时的列表 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/help-doc.html b/docs/api_docs/client/android/help-doc.html index d71759da..80b4d532 100755 --- a/docs/api_docs/client/android/help-doc.html +++ b/docs/api_docs/client/android/help-doc.html @@ -2,16 +2,16 @@ - - -API 帮助 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +API 帮助 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/index-files/index-1.html b/docs/api_docs/client/android/index-files/index-1.html index 77ad834e..2cc2cbd7 100755 --- a/docs/api_docs/client/android/index-files/index-1.html +++ b/docs/api_docs/client/android/index-files/index-1.html @@ -2,16 +2,16 @@ - - -A - 索引 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +A - 索引 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/index-files/index-10.html b/docs/api_docs/client/android/index-files/index-10.html index 573995eb..67946457 100755 --- a/docs/api_docs/client/android/index-files/index-10.html +++ b/docs/api_docs/client/android/index-files/index-10.html @@ -2,16 +2,16 @@ - - -L - 索引 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +L - 索引 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    @@ -133,7 +139,7 @@

    L

  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/index-files/index-11.html b/docs/api_docs/client/android/index-files/index-11.html index f07c3c55..1c91abcf 100755 --- a/docs/api_docs/client/android/index-files/index-11.html +++ b/docs/api_docs/client/android/index-files/index-11.html @@ -2,16 +2,16 @@ - - -M - 索引 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +M - 索引 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/index-files/index-12.html b/docs/api_docs/client/android/index-files/index-12.html index c2b93b98..59dcda4d 100755 --- a/docs/api_docs/client/android/index-files/index-12.html +++ b/docs/api_docs/client/android/index-files/index-12.html @@ -2,16 +2,16 @@ - - -N - 索引 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +N - 索引 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/index-files/index-13.html b/docs/api_docs/client/android/index-files/index-13.html index 4320fc33..c37f65fe 100755 --- a/docs/api_docs/client/android/index-files/index-13.html +++ b/docs/api_docs/client/android/index-files/index-13.html @@ -2,16 +2,16 @@ - - -O - 索引 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +O - 索引 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/index-files/index-14.html b/docs/api_docs/client/android/index-files/index-14.html index c11c54f3..61515ffc 100755 --- a/docs/api_docs/client/android/index-files/index-14.html +++ b/docs/api_docs/client/android/index-files/index-14.html @@ -2,16 +2,16 @@ - - -P - 索引 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +P - 索引 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/index-files/index-15.html b/docs/api_docs/client/android/index-files/index-15.html index 62811b59..6a70c2e6 100755 --- a/docs/api_docs/client/android/index-files/index-15.html +++ b/docs/api_docs/client/android/index-files/index-15.html @@ -2,16 +2,16 @@ - - -Q - 索引 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +Q - 索引 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    @@ -101,7 +103,7 @@

    Q

  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/index-files/index-16.html b/docs/api_docs/client/android/index-files/index-16.html index f468a615..dcb30906 100755 --- a/docs/api_docs/client/android/index-files/index-16.html +++ b/docs/api_docs/client/android/index-files/index-16.html @@ -2,16 +2,16 @@ - - -R - 索引 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +R - 索引 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    @@ -95,7 +99,7 @@

    R

  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/index-files/index-17.html b/docs/api_docs/client/android/index-files/index-17.html index 91fdfba5..a73c5142 100755 --- a/docs/api_docs/client/android/index-files/index-17.html +++ b/docs/api_docs/client/android/index-files/index-17.html @@ -2,16 +2,16 @@ - - -S - 索引 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +S - 索引 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/index-files/index-18.html b/docs/api_docs/client/android/index-files/index-18.html index 6bd0b570..97bd0515 100755 --- a/docs/api_docs/client/android/index-files/index-18.html +++ b/docs/api_docs/client/android/index-files/index-18.html @@ -2,16 +2,16 @@ - - -U - 索引 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +U - 索引 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/index-files/index-19.html b/docs/api_docs/client/android/index-files/index-19.html index b15ebcc3..dc83c891 100755 --- a/docs/api_docs/client/android/index-files/index-19.html +++ b/docs/api_docs/client/android/index-files/index-19.html @@ -2,16 +2,16 @@ - - -V - 索引 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +V - 索引 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/index-files/index-2.html b/docs/api_docs/client/android/index-files/index-2.html index 6beb7ca4..978f0372 100755 --- a/docs/api_docs/client/android/index-files/index-2.html +++ b/docs/api_docs/client/android/index-files/index-2.html @@ -2,16 +2,16 @@ - - -C - 索引 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +C - 索引 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/index-files/index-3.html b/docs/api_docs/client/android/index-files/index-3.html index 06d57a73..ff2befee 100755 --- a/docs/api_docs/client/android/index-files/index-3.html +++ b/docs/api_docs/client/android/index-files/index-3.html @@ -2,16 +2,16 @@ - - -D - 索引 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +D - 索引 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/index-files/index-4.html b/docs/api_docs/client/android/index-files/index-4.html index 62964eb9..df5faa48 100755 --- a/docs/api_docs/client/android/index-files/index-4.html +++ b/docs/api_docs/client/android/index-files/index-4.html @@ -2,16 +2,16 @@ - - -E - 索引 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +E - 索引 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/index-files/index-5.html b/docs/api_docs/client/android/index-files/index-5.html index c17bbe9a..fdf98372 100755 --- a/docs/api_docs/client/android/index-files/index-5.html +++ b/docs/api_docs/client/android/index-files/index-5.html @@ -2,16 +2,16 @@ - - -F - 索引 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +F - 索引 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/index-files/index-6.html b/docs/api_docs/client/android/index-files/index-6.html index e2db609b..d6953e90 100755 --- a/docs/api_docs/client/android/index-files/index-6.html +++ b/docs/api_docs/client/android/index-files/index-6.html @@ -2,16 +2,16 @@ - - -G - 索引 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +G - 索引 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/index-files/index-7.html b/docs/api_docs/client/android/index-files/index-7.html index ba9cb7a9..59434677 100755 --- a/docs/api_docs/client/android/index-files/index-7.html +++ b/docs/api_docs/client/android/index-files/index-7.html @@ -2,16 +2,16 @@ - - -H - 索引 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +H - 索引 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/index-files/index-8.html b/docs/api_docs/client/android/index-files/index-8.html index 29f2b522..dcd76fb1 100755 --- a/docs/api_docs/client/android/index-files/index-8.html +++ b/docs/api_docs/client/android/index-files/index-8.html @@ -2,16 +2,16 @@ - - -I - 索引 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +I - 索引 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/index-files/index-9.html b/docs/api_docs/client/android/index-files/index-9.html index fe07cb66..742db0ea 100755 --- a/docs/api_docs/client/android/index-files/index-9.html +++ b/docs/api_docs/client/android/index-files/index-9.html @@ -2,16 +2,16 @@ - - -K - 索引 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +K - 索引 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/index.html b/docs/api_docs/client/android/index.html index bee18375..9080e5bd 100755 --- a/docs/api_docs/client/android/index.html +++ b/docs/api_docs/client/android/index.html @@ -2,9 +2,9 @@ - - -MobileIMSDK 2.1.6(Android平台) API文档 + + +MobileIMSDK 3.0(Android平台) API文档 - - -
    - - - - - -
    MobileIMSDK4a 2.1(build 2015/10/20)
    -
    - - - -
    -
    net.openmob.mobileimsdk.android
    -

    类 BuildConfig

    -
    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • net.openmob.mobileimsdk.android.BuildConfig
      • -
      -
    • -
    -
    -
      -
    • -
      -
      -
      public final class BuildConfig
      -extends java.lang.Object
      -
    • -
    -
    -
    -
      -
    • - -
        -
      • - - -

        字段概要

        - - - - - - - - - - -
        字段 
        限定符和类型字段和说明
        static booleanDEBUG 
        -
      • -
      - -
        -
      • - - -

        构造器概要

        - - - - - - - - -
        构造器 
        构造器和说明
        BuildConfig() 
        -
      • -
      - -
        -
      • - - -

        方法概要

        -
          -
        • - - -

          从类继承的方法 java.lang.Object

          -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
        • -
        -
      • -
      -
    • -
    -
    -
    -
      -
    • - -
        -
      • - - -

        字段详细资料

        - - - -
          -
        • -

          DEBUG

          -
          public static final boolean DEBUG
          -
          另请参阅:
          常量字段值
          -
        • -
        -
      • -
      - -
        -
      • - - -

        构造器详细资料

        - - - -
          -
        • -

          BuildConfig

          -
          public BuildConfig()
          -
        • -
        -
      • -
      -
    • -
    -
    -
    - - -
    - - - - - -
    MobileIMSDK4a 2.1(build 2015/10/20)
    -
    - - -

    Copyright © 2015 有码网(openmob.net). All rights reserved.

    - - diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/ClientCoreSDK.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/ClientCoreSDK.html index 173223c4..99ab25f1 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/ClientCoreSDK.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/ClientCoreSDK.html @@ -2,16 +2,16 @@ - - -ClientCoreSDK (MobileIMSDK 2.1.6(Android平台) API文档) - + + +ClientCoreSDK (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -
    返回:
    按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
    +
    返回:
    按照声明该枚举类型的常量的顺序, 返回 +包含这些常量的数组
    @@ -333,8 +334,9 @@

    valueOf

    参数:
    name - 要返回的枚举常量的名称。
    返回:
    返回带有指定名称的枚举常量
    抛出:
    -
    java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量
    -
    java.lang.NullPointerException - 如果参数为空值
    +
    java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量, +则抛出 IllegalArgumentException
    +
    java.lang.NullPointerException - 如果参数为空值, 则抛出 NullPointerException
    @@ -360,7 +362,7 @@

    valueOf

  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/conf/ConfigEntity.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/conf/ConfigEntity.html index f97e52d0..44ddab1a 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/conf/ConfigEntity.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/conf/ConfigEntity.html @@ -2,16 +2,16 @@ - - -ConfigEntity (MobileIMSDK 2.1.6(Android平台) API文档) - + + +ConfigEntity (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/conf/class-use/ConfigEntity.SenseMode.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/conf/class-use/ConfigEntity.SenseMode.html index f3bcc844..16f3eefe 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/conf/class-use/ConfigEntity.SenseMode.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/conf/class-use/ConfigEntity.SenseMode.html @@ -2,16 +2,16 @@ - - -类 net.openmob.mobileimsdk.android.conf.ConfigEntity.SenseMode的使用 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +类 net.openmob.mobileimsdk.android.conf.ConfigEntity.SenseMode的使用 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/conf/package-frame.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/conf/package-frame.html index 0f70b56b..d49c8a07 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/conf/package-frame.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/conf/package-frame.html @@ -2,10 +2,10 @@ - - -net.openmob.mobileimsdk.android.conf (MobileIMSDK 2.1.6(Android平台) API文档) - + + +net.openmob.mobileimsdk.android.conf (MobileIMSDK 3.0(Android平台) API文档) + diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/conf/package-summary.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/conf/package-summary.html index 387033de..e5e8e44b 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/conf/package-summary.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/conf/package-summary.html @@ -2,16 +2,16 @@ - - -net.openmob.mobileimsdk.android.conf (MobileIMSDK 2.1.6(Android平台) API文档) - + + +net.openmob.mobileimsdk.android.conf (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/conf/package-tree.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/conf/package-tree.html index 5513e066..99d9ee60 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/conf/package-tree.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/conf/package-tree.html @@ -2,16 +2,16 @@ - - -net.openmob.mobileimsdk.android.conf 类分层结构 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +net.openmob.mobileimsdk.android.conf 类分层结构 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/conf/package-use.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/conf/package-use.html index 413973c4..669871c0 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/conf/package-use.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/conf/package-use.html @@ -2,16 +2,16 @@ - - -程序包 net.openmob.mobileimsdk.android.conf的使用 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +程序包 net.openmob.mobileimsdk.android.conf的使用 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/KeepAliveDaemon.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/KeepAliveDaemon.html index 3a8407c9..6dd7c73f 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/KeepAliveDaemon.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/KeepAliveDaemon.html @@ -2,16 +2,16 @@ - - -KeepAliveDaemon (MobileIMSDK 2.1.6(Android平台) API文档) - + + +KeepAliveDaemon (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/LocalUDPDataReciever.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/LocalUDPDataReciever.html index 88539644..d5dfa20c 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/LocalUDPDataReciever.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/LocalUDPDataReciever.html @@ -2,16 +2,16 @@ - - -LocalUDPDataReciever (MobileIMSDK 2.1.6(Android平台) API文档) - + + +LocalUDPDataReciever (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/LocalUDPDataSender.SendCommonDataAsync.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/LocalUDPDataSender.SendCommonDataAsync.html index 1718f1a4..c4dddaac 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/LocalUDPDataSender.SendCommonDataAsync.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/LocalUDPDataSender.SendCommonDataAsync.html @@ -2,16 +2,16 @@ - - -LocalUDPDataSender.SendCommonDataAsync (MobileIMSDK 2.1.6(Android平台) API文档) - + + +LocalUDPDataSender.SendCommonDataAsync (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    作者:
    Jack Jiang
    -
    另请参阅:
    ProtocalFactory.createCommonData(String, int, int, boolean, String), -ProtocalFactory.createCommonData(String, int, int), +
    另请参阅:
    ProtocalFactory.createCommonData(String, String, String, boolean, String, int), LocalUDPDataSender.sendCommonData(Protocal)
    @@ -161,32 +160,34 @@

    构造器概要

    构造器和说明 -LocalUDPDataSender.SendCommonDataAsync(Context context, - byte[] dataContent, - int dataLen, - int to_user_id)  +LocalUDPDataSender.SendCommonDataAsync(Context context, + net.openmob.mobileimsdk.server.protocal.Protocal p) +
    构造方法。
    + -LocalUDPDataSender.SendCommonDataAsync(Context context, - net.openmob.mobileimsdk.server.protocal.Protocal p)  +LocalUDPDataSender.SendCommonDataAsync(Context context, + java.lang.String dataContentWidthStr, + java.lang.String to_user_id) +
    (默认QoS=true、typeu值=-1)
    + -LocalUDPDataSender.SendCommonDataAsync(Context context, +LocalUDPDataSender.SendCommonDataAsync(Context context, java.lang.String dataContentWidthStr, - int to_user_id)  + java.lang.String to_user_id, + int typeu) +
    (默认QoS=true)
    + -LocalUDPDataSender.SendCommonDataAsync(Context context, - java.lang.String dataContentWidthStr, - int to_user_id, - boolean QoS)  - - -LocalUDPDataSender.SendCommonDataAsync(Context context, +LocalUDPDataSender.SendCommonDataAsync(Context context, java.lang.String dataContentWidthStr, - int to_user_id, - boolean QoS, - java.lang.String fingerPrint)  + java.lang.String to_user_id, + java.lang.String fingerPrint, + int typeu) +
    (默认QoS=true)
    + @@ -259,19 +260,7 @@

    p

    构造器详细资料

    - - - -
      -
    • -

      LocalUDPDataSender.SendCommonDataAsync

      -
      public LocalUDPDataSender.SendCommonDataAsync(Context context,
      -                                      byte[] dataContent,
      -                                      int dataLen,
      -                                      int to_user_id)
      -
    • -
    - +
      @@ -279,11 +268,12 @@

      LocalUDPDataSender.SendCommonDataAsync

      LocalUDPDataSender.SendCommonDataAsync

      public LocalUDPDataSender.SendCommonDataAsync(Context context,
                                             java.lang.String dataContentWidthStr,
      -                                      int to_user_id,
      -                                      boolean QoS)
      + java.lang.String to_user_id) +
      (默认QoS=true、typeu值=-1)
      +
      参数:
      context -
      dataContentWidthStr -
      to_user_id -
      另请参阅:
      #LocalUDPDataSender(Context, String, String, String, int)
    - +
      @@ -291,12 +281,13 @@

      LocalUDPDataSender.SendCommonDataAsync

      LocalUDPDataSender.SendCommonDataAsync

      public LocalUDPDataSender.SendCommonDataAsync(Context context,
                                             java.lang.String dataContentWidthStr,
      -                                      int to_user_id,
      -                                      boolean QoS,
      -                                      java.lang.String fingerPrint)
      + java.lang.String to_user_id, + int typeu) +
      (默认QoS=true)
      +
      参数:
      context -
      dataContentWidthStr -
      to_user_id -
      typeu -
      另请参阅:
      #LocalUDPDataSender(Context, String, String, String, int)
    - +
      @@ -304,7 +295,11 @@

      LocalUDPDataSender.SendCommonDataAsync

      LocalUDPDataSender.SendCommonDataAsync

      public LocalUDPDataSender.SendCommonDataAsync(Context context,
                                             java.lang.String dataContentWidthStr,
      -                                      int to_user_id)
      + java.lang.String to_user_id, + java.lang.String fingerPrint, + int typeu) +
      (默认QoS=true)
      +
      参数:
      context -
      dataContentWidthStr -
      to_user_id -
      fingerPrint -
      typeu -
      另请参阅:
      #LocalUDPDataSender(Context, Protocal)
    @@ -315,6 +310,8 @@

    LocalUDPDataSender.SendCommonDataAsync

    LocalUDPDataSender.SendCommonDataAsync

    public LocalUDPDataSender.SendCommonDataAsync(Context context,
                                           net.openmob.mobileimsdk.server.protocal.Protocal p)
    +
    构造方法。
    +
    参数:
    context -
    p -
    @@ -366,7 +363,7 @@

    onPostExecute

  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/LocalUDPDataSender.SendLoginDataAsync.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/LocalUDPDataSender.SendLoginDataAsync.html index d9a39245..1c934bd2 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/LocalUDPDataSender.SendLoginDataAsync.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/LocalUDPDataSender.SendLoginDataAsync.html @@ -2,16 +2,16 @@ - - -LocalUDPDataSender.SendLoginDataAsync (MobileIMSDK 2.1.6(Android平台) API文档) - + + +LocalUDPDataSender.SendLoginDataAsync (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    另请参阅:
    AutoReLoginDaemon, -LocalUDPDataSender#sendLogin(String, String), +LocalUDPDataSender.sendLogin(String, String, String), LocalUDPDataReciever.startup()
    @@ -151,11 +151,11 @@

    字段概要

    protected java.lang.String -loginName  +loginToken  protected java.lang.String -loginPsw  +loginUserId  @@ -172,16 +172,16 @@

    构造器概要

    构造器和说明 -LocalUDPDataSender.SendLoginDataAsync(Context context, - java.lang.String loginName, - java.lang.String loginPsw) +LocalUDPDataSender.SendLoginDataAsync(Context context, + java.lang.String loginUserId, + java.lang.String loginToken)
    构造方法(默认extra字段为null)。
    -LocalUDPDataSender.SendLoginDataAsync(Context context, - java.lang.String loginName, - java.lang.String loginPsw, +LocalUDPDataSender.SendLoginDataAsync(Context context, + java.lang.String loginUserId, + java.lang.String loginToken, java.lang.String extra)
    构造方法。
    @@ -246,22 +246,22 @@

    context

    protected Context context
    - +
    • -

      loginName

      -
      protected java.lang.String loginName
      +

      loginUserId

      +
      protected java.lang.String loginUserId
    - +
    • -

      loginPsw

      -
      protected java.lang.String loginPsw
      +

      loginToken

      +
      protected java.lang.String loginToken
    @@ -288,10 +288,12 @@

    构造器详细资料

  • LocalUDPDataSender.SendLoginDataAsync

    public LocalUDPDataSender.SendLoginDataAsync(Context context,
    -                                     java.lang.String loginName,
    -                                     java.lang.String loginPsw)
    + java.lang.String loginUserId, + java.lang.String loginToken)
    构造方法(默认extra字段为null)。
    -
    参数:
    context -
    loginName - 登陆时提交的用户名:此用户名对框架来说可以随意,具体意义由上层逻辑决即可
    loginPsw - 登陆时提交的密码:此密码对框架来说可以随意,具体意义由上层逻辑决即可
    +
    参数:
    context -
    loginUserId - 提交到服务端的准一id,保证唯一就可以通信,可能是登陆用户名、 + 也可能是任意不重复的id等,具体意义由业务层决定
    loginToken - 提交到服务端用于身份鉴别和合法性检查的token,它可能是登陆密码 + ,也可能是通过前置单点登陆接口拿到的token等,具体意义由业务层决定
  • @@ -301,11 +303,13 @@

    LocalUDPDataSender.SendLoginDataAsync

  • LocalUDPDataSender.SendLoginDataAsync

    public LocalUDPDataSender.SendLoginDataAsync(Context context,
    -                                     java.lang.String loginName,
    -                                     java.lang.String loginPsw,
    +                                     java.lang.String loginUserId,
    +                                     java.lang.String loginToken,
                                          java.lang.String extra)
    构造方法。
    -
    参数:
    context -
    loginName - 登陆时提交的用户名:此用户名对框架来说可以随意,具体意义由上层逻辑决即可
    loginPsw - 登陆时提交的密码:此密码对框架来说可以随意,具体意义由上层逻辑决即可
    extra - 额外信息字符串,可为null。本字段目前为保留字段,供上层应用自行放置需要的内容
    +
    参数:
    context -
    loginUserId - 提交到服务端的准一id,保证唯一就可以通信,可能是登陆用户名、 + 也可能是任意不重复的id等,具体意义由业务层决定
    loginToken - 提交到服务端用于身份鉴别和合法性检查的token,它可能是登陆密码 + ,也可能是通过前置单点登陆接口拿到的token等,具体意义由业务层决定
    extra - 额外信息字符串,可为null。本字段目前为保留字段,供上层应用自行放置需要的内容
  • @@ -368,7 +372,7 @@

    fireAfterSendLogin

  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/LocalUDPDataSender.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/LocalUDPDataSender.html index 30603734..dcfd390f 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/LocalUDPDataSender.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/LocalUDPDataSender.html @@ -2,16 +2,16 @@ - - -LocalUDPDataSender (MobileIMSDK 2.1.6(Android平台) API文档) - + + +LocalUDPDataSender (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -
    返回:
    0表示数据发出成功,否则返回的是错误码
    另请参阅:
    send(byte[], int)
    +
    返回:
    0表示数据发出成功,否则返回的是错误码
    另请参阅:
    send(byte[], int)
    - +
    • sendCommonData

      -
      public int sendCommonData(byte[] dataContent,
      -                 int dataLen,
      -                 int to_user_id)
      -
      通用数据发送方法(默认不需要Qos支持)。
      -
      参数:
      dataContent - byte数组组织的数据内容
      dataLen - byte数组长度
      to_user_id - 要发送到的目标用户id
      -
      返回:
      0表示数据发出成功,否则返回的是错误码
      另请参阅:
      sendCommonData(String, int, boolean, String)
      +
      public int sendCommonData(java.lang.String dataContentWidthStr,
      +                 java.lang.String to_user_id)
      +
      通用数据发送方法(默认Qos=true、typeu字段=-1)。
      +
      参数:
      dataContentWidthStr - 要发送的数据内容(字符串方式组织)
      to_user_id - 要发送到的目标用户id
      +
      返回:
      0表示数据发出成功,否则返回的是错误码
      另请参阅:
      sendCommonData(String, String, int)
    - +
    • sendCommonData

      -
      public int sendCommonData(byte[] dataContent,
      -                 int dataLen,
      -                 int to_user_id,
      -                 boolean QoS,
      -                 java.lang.String fingerPrint)
      -
      通用数据发送方法。
      -
      参数:
      dataContent - byte数组组织的数据内容
      dataLen - byte数组长度
      to_user_id - 要发送到的目标用户id
      QoS - true表示需QoS机制支持,不则不需要
      fingerPrint - QoS机制中要用到的指纹码(即消息包唯一id),可设为null,生成方法见 Protocal.genFingerPrint()
      -
      返回:
      0表示数据发出成功,否则返回的是错误码
      另请参阅:
      sendCommonData(String, int, boolean, String)
      +
      public int sendCommonData(java.lang.String dataContentWidthStr,
      +                 java.lang.String to_user_id,
      +                 int typeu)
      +
      通用数据发送方法(默认Qos=true)。
      +
      参数:
      dataContentWidthStr - 要发送的数据内容(字符串方式组织)
      to_user_id - 要发送到的目标用户id
      typeu - 应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型。注意:此值为-1时表示未定义。 + MobileIMSDK_X框架中,本字段为保留字段,不参与框架的核心算法,专留作应用层自行定义和使用。
      +
      返回:
      0表示数据发出成功,否则返回的是错误码
      另请参阅:
      sendCommonData(String, String, String, int)
    - +
    • sendCommonData

      public int sendCommonData(java.lang.String dataContentWidthStr,
      -                 int to_user_id)
      -
      通用数据发送方法(默认不需要Qos支持)。
      -
      参数:
      dataContentWidthStr - 要发送的数据内容(字符串方式组织)
      to_user_id - 要发送到的目标用户id
      -
      返回:
      0表示数据发出成功,否则返回的是错误码
      另请参阅:
      sendCommonData(Protocal), -DataFactoryC#createCommonData(String, int, int)
      + java.lang.String to_user_id, + java.lang.String fingerPrint, + int typeu) +
      通用数据发送方法(默认QoS=true,即需要QoS机制支持)。
      +
      参数:
      dataContentWidthStr - 要发送的数据内容(字符串方式组织)
      to_user_id - 要发送到的目标用户id
      fingerPrint - QoS机制中要用到的指纹码(即消息包唯一id),可设为null,生成方法见 Protocal.genFingerPrint()
      typeu - 应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型。注意:此值为-1时表示未定义。 + MobileIMSDK_X框架中,本字段为保留字段,不参与框架的核心算法,专留作应用层自行定义和使用。
      +
      返回:
      0表示数据发出成功,否则返回的是错误码
      另请参阅:
      sendCommonData(String, String, boolean, String, int)
    - +
    • sendCommonData

      public int sendCommonData(java.lang.String dataContentWidthStr,
      -                 int to_user_id,
      +                 java.lang.String to_user_id,
                        boolean QoS,
      -                 java.lang.String fingerPrint)
      + java.lang.String fingerPrint, + int typeu)
      通用数据发送方法。
      -
      参数:
      dataContentWidthStr - 要发送的数据内容(字符串方式组织)
      to_user_id - 要发送到的目标用户id
      QoS - true表示需QoS机制支持,不则不需要
      fingerPrint - QoS机制中要用到的指纹码(即消息包唯一id),可设为null,生成方法见 Protocal.genFingerPrint()
      +
      参数:
      dataContentWidthStr - 要发送的数据内容(字符串方式组织)
      to_user_id - 要发送到的目标用户id
      QoS - true表示需QoS机制支持,不则不需要
      fingerPrint - QoS机制中要用到的指纹码(即消息包唯一id),可设为null,生成方法见 Protocal.genFingerPrint()
      typeu - 应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型。注意:此值为-1时表示未定义。 + MobileIMSDK_X框架中,本字段为保留字段,不参与框架的核心算法,专留作应用层自行定义和使用。
      返回:
      0表示数据发出成功,否则返回的是错误码
      另请参阅:
      sendCommonData(Protocal), -DataFactoryC#createCommonData(String, int, int, boolean, String)
      +DataFactoryC#createCommonData(String, String, String, boolean, String, int)
    @@ -320,7 +322,7 @@

    sendCommonData

    public int sendCommonData(net.openmob.mobileimsdk.server.protocal.Protocal p)
    通用数据发送的根方法。
    参数:
    p - 要发送的内容(MobileIMSDK框架的“协议”DTO对象组织形式)
    -
    返回:
    0表示数据发出成功,否则返回的是错误码
    另请参阅:
    send(byte[], int)
    +
    返回:
    0表示数据发出成功,否则返回的是错误码
    另请参阅:
    send(byte[], int)
    @@ -346,7 +348,7 @@

    sendCommonData

  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/LocalUDPSocketProvider.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/LocalUDPSocketProvider.html index 61556dbc..7ee86f1b 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/LocalUDPSocketProvider.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/LocalUDPSocketProvider.html @@ -2,16 +2,16 @@ - - -LocalUDPSocketProvider (MobileIMSDK 2.1.6(Android平台) API文档) - + + +LocalUDPSocketProvider (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/QoS4ReciveDaemon.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/QoS4ReciveDaemon.html index 06fca909..6536da59 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/QoS4ReciveDaemon.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/QoS4ReciveDaemon.html @@ -2,16 +2,16 @@ - - -QoS4ReciveDaemon (MobileIMSDK 2.1.6(Android平台) API文档) - + + +QoS4ReciveDaemon (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/QoS4SendDaemon.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/QoS4SendDaemon.html index fdcbe755..141f3438 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/QoS4SendDaemon.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/QoS4SendDaemon.html @@ -2,16 +2,16 @@ - - -QoS4SendDaemon (MobileIMSDK 2.1.6(Android平台) API文档) - + + +QoS4SendDaemon (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/class-use/AutoReLoginDaemon.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/class-use/AutoReLoginDaemon.html index bc3ca289..ae93310c 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/class-use/AutoReLoginDaemon.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/class-use/AutoReLoginDaemon.html @@ -2,16 +2,16 @@ - - -类 net.openmob.mobileimsdk.android.core.AutoReLoginDaemon的使用 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +类 net.openmob.mobileimsdk.android.core.AutoReLoginDaemon的使用 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/package-tree.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/package-tree.html index a9c2415b..3f40c242 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/package-tree.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/package-tree.html @@ -2,16 +2,16 @@ - - -net.openmob.mobileimsdk.android.core 类分层结构 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +net.openmob.mobileimsdk.android.core 类分层结构 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/package-use.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/package-use.html index ab63fed2..7e41b958 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/package-use.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/core/package-use.html @@ -2,16 +2,16 @@ - - -程序包 net.openmob.mobileimsdk.android.core的使用 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +程序包 net.openmob.mobileimsdk.android.core的使用 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/event/ChatTransDataEvent.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/event/ChatTransDataEvent.html index 8041689e..72e87f2a 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/event/ChatTransDataEvent.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/event/ChatTransDataEvent.html @@ -2,16 +2,16 @@ - - -ChatTransDataEvent (MobileIMSDK 2.1.6(Android平台) API文档) - + + +ChatTransDataEvent (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/event/MessageQoSEvent.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/event/MessageQoSEvent.html index 8508c589..a38c9712 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/event/MessageQoSEvent.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/event/MessageQoSEvent.html @@ -2,16 +2,16 @@ - - -MessageQoSEvent (MobileIMSDK 2.1.6(Android平台) API文档) - + + +MessageQoSEvent (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/event/class-use/ChatBaseEvent.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/event/class-use/ChatBaseEvent.html index d353f999..db526131 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/event/class-use/ChatBaseEvent.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/event/class-use/ChatBaseEvent.html @@ -2,16 +2,16 @@ - - -接口 net.openmob.mobileimsdk.android.event.ChatBaseEvent的使用 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +接口 net.openmob.mobileimsdk.android.event.ChatBaseEvent的使用 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/event/package-tree.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/event/package-tree.html index 8257e2de..1e204036 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/event/package-tree.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/event/package-tree.html @@ -2,16 +2,16 @@ - - -net.openmob.mobileimsdk.android.event 类分层结构 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +net.openmob.mobileimsdk.android.event 类分层结构 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/event/package-use.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/event/package-use.html index b78df3d2..9b99e697 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/event/package-use.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/event/package-use.html @@ -2,16 +2,16 @@ - - -程序包 net.openmob.mobileimsdk.android.event的使用 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +程序包 net.openmob.mobileimsdk.android.event的使用 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/package-tree.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/package-tree.html index 86b9c3b8..d9ac4d9e 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/package-tree.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/package-tree.html @@ -2,16 +2,16 @@ - - -net.openmob.mobileimsdk.android 类分层结构 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +net.openmob.mobileimsdk.android 类分层结构 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/package-use.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/package-use.html index c44917f5..b907b52a 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/package-use.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/package-use.html @@ -2,16 +2,16 @@ - - -程序包 net.openmob.mobileimsdk.android的使用 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +程序包 net.openmob.mobileimsdk.android的使用 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/utils/UDPUtils.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/utils/UDPUtils.html index 811b7bac..f93f20fa 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/utils/UDPUtils.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/utils/UDPUtils.html @@ -2,16 +2,16 @@ - - -UDPUtils (MobileIMSDK 2.1.6(Android平台) API文档) - + + +UDPUtils (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    参数:
    skt - DatagramSocket对象引用
    d - 要发送的比特数组
    dataLen - 比特数组长长矛
    -
    返回:
    true表示成功发出,否则表示发送失败
    另请参阅:
    send(DatagramSocket, DatagramPacket)
    +
    返回:
    true表示成功发出,否则表示发送失败
    另请参阅:
    send(DatagramSocket, DatagramPacket)
    @@ -248,7 +248,7 @@

    send

  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/utils/class-use/UDPUtils.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/utils/class-use/UDPUtils.html index ee9b2771..f42f8043 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/utils/class-use/UDPUtils.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/utils/class-use/UDPUtils.html @@ -2,16 +2,16 @@ - - -类 net.openmob.mobileimsdk.android.utils.UDPUtils的使用 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +类 net.openmob.mobileimsdk.android.utils.UDPUtils的使用 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/utils/package-tree.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/utils/package-tree.html index 018e59da..3bc92bf5 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/utils/package-tree.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/utils/package-tree.html @@ -2,16 +2,16 @@ - - -net.openmob.mobileimsdk.android.utils 类分层结构 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +net.openmob.mobileimsdk.android.utils 类分层结构 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/utils/package-use.html b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/utils/package-use.html index e500b506..0d23e5be 100755 --- a/docs/api_docs/client/android/net/openmob/mobileimsdk/android/utils/package-use.html +++ b/docs/api_docs/client/android/net/openmob/mobileimsdk/android/utils/package-use.html @@ -2,16 +2,16 @@ - - -程序包 net.openmob.mobileimsdk.android.utils的使用 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +程序包 net.openmob.mobileimsdk.android.utils的使用 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    欢迎使用,MobileIMSDK 2.1.6(Android平台) API文档!

    +

    欢迎使用,MobileIMSDK 3.0(Android平台) API文档!

    @@ -124,7 +124,7 @@

    欢迎使用,MobileIMSDK 2.1.6(Android平台) API文档!索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/overview-tree.html b/docs/api_docs/client/android/overview-tree.html index 41f0e0d3..325cd3b0 100755 --- a/docs/api_docs/client/android/overview-tree.html +++ b/docs/api_docs/client/android/overview-tree.html @@ -2,16 +2,16 @@ - - -类分层结构 (MobileIMSDK 2.1.6(Android平台) API文档) - + + +类分层结构 (MobileIMSDK 3.0(Android平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4a 2.1.6(build 2016/02/20)
    +
    MobileIMSDK4a 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/android/resources/Thumbs.db b/docs/api_docs/client/android/resources/Thumbs.db index 552e6d5e..7f585835 100755 Binary files a/docs/api_docs/client/android/resources/Thumbs.db and b/docs/api_docs/client/android/resources/Thumbs.db differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSans-Bold-webfont.eot b/docs/api_docs/client/android/resources/fonts/DejaVuSans-Bold-webfont.eot deleted file mode 100755 index 15a09b62..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSans-Bold-webfont.eot and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSans-Bold-webfont.svg b/docs/api_docs/client/android/resources/fonts/DejaVuSans-Bold-webfont.svg deleted file mode 100755 index 1e91103c..00000000 --- a/docs/api_docs/client/android/resources/fonts/DejaVuSans-Bold-webfont.svg +++ /dev/null @@ -1,256 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2003 by Bitstream Inc All Rights ReservedCopyright c 2006 by Tavmjong Bah All Rights ReservedDejaVu changes are in public domain -Foundry : DejaVu fonts team -Foundry URL : httpdejavusourceforgenet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSans-Bold-webfont.ttf b/docs/api_docs/client/android/resources/fonts/DejaVuSans-Bold-webfont.ttf deleted file mode 100755 index a925f2fc..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSans-Bold-webfont.ttf and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSans-Bold-webfont.woff b/docs/api_docs/client/android/resources/fonts/DejaVuSans-Bold-webfont.woff deleted file mode 100755 index 8a24189f..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSans-Bold-webfont.woff and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSans-BoldOblique-webfont.eot b/docs/api_docs/client/android/resources/fonts/DejaVuSans-BoldOblique-webfont.eot deleted file mode 100755 index 6b1b7ecf..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSans-BoldOblique-webfont.eot and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSans-BoldOblique-webfont.svg b/docs/api_docs/client/android/resources/fonts/DejaVuSans-BoldOblique-webfont.svg deleted file mode 100755 index 16abd96e..00000000 --- a/docs/api_docs/client/android/resources/fonts/DejaVuSans-BoldOblique-webfont.svg +++ /dev/null @@ -1,256 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2003 by Bitstream Inc All Rights ReservedCopyright c 2006 by Tavmjong Bah All Rights ReservedDejaVu changes are in public domain -Foundry : DejaVu fonts team -Foundry URL : httpdejavusourceforgenet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSans-BoldOblique-webfont.ttf b/docs/api_docs/client/android/resources/fonts/DejaVuSans-BoldOblique-webfont.ttf deleted file mode 100755 index ad2b65a6..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSans-BoldOblique-webfont.ttf and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSans-BoldOblique-webfont.woff b/docs/api_docs/client/android/resources/fonts/DejaVuSans-BoldOblique-webfont.woff deleted file mode 100755 index 584142b2..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSans-BoldOblique-webfont.woff and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSans-Oblique-webfont.eot b/docs/api_docs/client/android/resources/fonts/DejaVuSans-Oblique-webfont.eot deleted file mode 100755 index 3c99e129..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSans-Oblique-webfont.eot and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSans-Oblique-webfont.svg b/docs/api_docs/client/android/resources/fonts/DejaVuSans-Oblique-webfont.svg deleted file mode 100755 index afc96980..00000000 --- a/docs/api_docs/client/android/resources/fonts/DejaVuSans-Oblique-webfont.svg +++ /dev/null @@ -1,256 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2003 by Bitstream Inc All Rights ReservedCopyright c 2006 by Tavmjong Bah All Rights ReservedDejaVu changes are in public domain -Foundry : DejaVu fonts team -Foundry URL : httpdejavusourceforgenet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSans-Oblique-webfont.ttf b/docs/api_docs/client/android/resources/fonts/DejaVuSans-Oblique-webfont.ttf deleted file mode 100755 index 322bb5ac..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSans-Oblique-webfont.ttf and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSans-Oblique-webfont.woff b/docs/api_docs/client/android/resources/fonts/DejaVuSans-Oblique-webfont.woff deleted file mode 100755 index a84a45c7..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSans-Oblique-webfont.woff and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSans-webfont.eot b/docs/api_docs/client/android/resources/fonts/DejaVuSans-webfont.eot deleted file mode 100755 index 5e65e6d9..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSans-webfont.eot and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSans-webfont.svg b/docs/api_docs/client/android/resources/fonts/DejaVuSans-webfont.svg deleted file mode 100755 index 824d936a..00000000 --- a/docs/api_docs/client/android/resources/fonts/DejaVuSans-webfont.svg +++ /dev/null @@ -1,256 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2003 by Bitstream Inc All Rights ReservedCopyright c 2006 by Tavmjong Bah All Rights ReservedDejaVu changes are in public domain -Foundry : DejaVu fonts team -Foundry URL : httpdejavusourceforgenet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSans-webfont.ttf b/docs/api_docs/client/android/resources/fonts/DejaVuSans-webfont.ttf deleted file mode 100755 index 56942a07..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSans-webfont.ttf and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSans-webfont.woff b/docs/api_docs/client/android/resources/fonts/DejaVuSans-webfont.woff deleted file mode 100755 index 2f479810..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSans-webfont.woff and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-Bold-webfont.eot b/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-Bold-webfont.eot deleted file mode 100755 index 114675b9..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-Bold-webfont.eot and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-Bold-webfont.svg b/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-Bold-webfont.svg deleted file mode 100755 index 5b2f6147..00000000 --- a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-Bold-webfont.svg +++ /dev/null @@ -1,256 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2003 by Bitstream Inc All Rights ReservedCopyright c 2006 by Tavmjong Bah All Rights ReservedDejaVu changes are in public domain -Foundry : DejaVu fonts team -Foundry URL : httpdejavusourceforgenet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-Bold-webfont.ttf b/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-Bold-webfont.ttf deleted file mode 100755 index ea03175e..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-Bold-webfont.ttf and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-Bold-webfont.woff b/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-Bold-webfont.woff deleted file mode 100755 index ca2fec6c..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-Bold-webfont.woff and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-BoldOblique-webfont.eot b/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-BoldOblique-webfont.eot deleted file mode 100755 index 24c493ea..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-BoldOblique-webfont.eot and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-BoldOblique-webfont.svg b/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-BoldOblique-webfont.svg deleted file mode 100755 index 65f812d5..00000000 --- a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-BoldOblique-webfont.svg +++ /dev/null @@ -1,256 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2003 by Bitstream Inc All Rights ReservedCopyright c 2006 by Tavmjong Bah All Rights ReservedDejaVu changes are in public domain -Foundry : DejaVu fonts team -Foundry URL : httpdejavusourceforgenet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-BoldOblique-webfont.ttf b/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-BoldOblique-webfont.ttf deleted file mode 100755 index dac362af..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-BoldOblique-webfont.ttf and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-BoldOblique-webfont.woff b/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-BoldOblique-webfont.woff deleted file mode 100755 index 807feb79..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-BoldOblique-webfont.woff and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-Oblique-webfont.eot b/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-Oblique-webfont.eot deleted file mode 100755 index 397fea21..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-Oblique-webfont.eot and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-Oblique-webfont.svg b/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-Oblique-webfont.svg deleted file mode 100755 index da944e90..00000000 --- a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-Oblique-webfont.svg +++ /dev/null @@ -1,256 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2003 by Bitstream Inc All Rights ReservedCopyright c 2006 by Tavmjong Bah All Rights ReservedDejaVu changes are in public domain -Foundry : DejaVu fonts team -Foundry URL : httpdejavusourceforgenet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-Oblique-webfont.ttf b/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-Oblique-webfont.ttf deleted file mode 100755 index 006f374d..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-Oblique-webfont.ttf and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-Oblique-webfont.woff b/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-Oblique-webfont.woff deleted file mode 100755 index 3e50aae7..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-Oblique-webfont.woff and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-webfont.eot b/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-webfont.eot deleted file mode 100755 index 1babfb87..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-webfont.eot and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-webfont.svg b/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-webfont.svg deleted file mode 100755 index e80c8985..00000000 --- a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-webfont.svg +++ /dev/null @@ -1,256 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2003 by Bitstream Inc All Rights ReservedCopyright c 2006 by Tavmjong Bah All Rights ReservedDejaVu changes are in public domain -Foundry : DejaVu fonts team -Foundry URL : httpdejavusourceforgenet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-webfont.ttf b/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-webfont.ttf deleted file mode 100755 index b45b8f06..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-webfont.ttf and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-webfont.woff b/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-webfont.woff deleted file mode 100755 index a4439e5c..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSansCondensed-webfont.woff and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-Bold-webfont.eot b/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-Bold-webfont.eot deleted file mode 100755 index 1c992a8a..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-Bold-webfont.eot and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-Bold-webfont.svg b/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-Bold-webfont.svg deleted file mode 100755 index 810798fc..00000000 --- a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-Bold-webfont.svg +++ /dev/null @@ -1,258 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2003 by Bitstream Inc All Rights ReservedDejaVu changes are in public domain -Foundry : DejaVu fonts team -Foundry URL : httpdejavusourceforgenet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-Bold-webfont.ttf b/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-Bold-webfont.ttf deleted file mode 100755 index 8cd2ceb7..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-Bold-webfont.ttf and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-Bold-webfont.woff b/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-Bold-webfont.woff deleted file mode 100755 index 64bd87f0..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-Bold-webfont.woff and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-BoldOblique-webfont.eot b/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-BoldOblique-webfont.eot deleted file mode 100755 index 50d7c0fa..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-BoldOblique-webfont.eot and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-BoldOblique-webfont.svg b/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-BoldOblique-webfont.svg deleted file mode 100755 index f369399b..00000000 --- a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-BoldOblique-webfont.svg +++ /dev/null @@ -1,257 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2003 by Bitstream Inc All Rights ReservedDejaVu changes are in public domain -Foundry : DejaVu fonts team -Foundry URL : httpdejavusourceforgenet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-BoldOblique-webfont.ttf b/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-BoldOblique-webfont.ttf deleted file mode 100755 index 36ac6675..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-BoldOblique-webfont.ttf and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-BoldOblique-webfont.woff b/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-BoldOblique-webfont.woff deleted file mode 100755 index c35c7aa3..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-BoldOblique-webfont.woff and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-Oblique-webfont.eot b/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-Oblique-webfont.eot deleted file mode 100755 index 5acbf155..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-Oblique-webfont.eot and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-Oblique-webfont.svg b/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-Oblique-webfont.svg deleted file mode 100755 index a6ab7093..00000000 --- a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-Oblique-webfont.svg +++ /dev/null @@ -1,256 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2003 by Bitstream Inc All Rights ReservedDejaVu changes are in public domain -Foundry : DejaVu fonts team -Foundry URL : httpdejavusourceforgenet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-Oblique-webfont.ttf b/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-Oblique-webfont.ttf deleted file mode 100755 index 5d2c751f..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-Oblique-webfont.ttf and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-Oblique-webfont.woff b/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-Oblique-webfont.woff deleted file mode 100755 index 376af946..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-Oblique-webfont.woff and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-webfont.eot b/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-webfont.eot deleted file mode 100755 index f7cfde76..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-webfont.eot and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-webfont.svg b/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-webfont.svg deleted file mode 100755 index 28a640dd..00000000 --- a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-webfont.svg +++ /dev/null @@ -1,256 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2003 by Bitstream Inc All Rights ReservedDejaVu changes are in public domain -Foundry : DejaVu fonts team -Foundry URL : httpdejavusourceforgenet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-webfont.ttf b/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-webfont.ttf deleted file mode 100755 index e66e3c74..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-webfont.ttf and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-webfont.woff b/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-webfont.woff deleted file mode 100755 index 60c84713..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSansMono-webfont.woff and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-Bold-webfont.eot b/docs/api_docs/client/android/resources/fonts/DejaVuSerif-Bold-webfont.eot deleted file mode 100755 index 1c886351..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-Bold-webfont.eot and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-Bold-webfont.svg b/docs/api_docs/client/android/resources/fonts/DejaVuSerif-Bold-webfont.svg deleted file mode 100755 index b1e710f3..00000000 --- a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-Bold-webfont.svg +++ /dev/null @@ -1,256 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2003 by Bitstream Inc All Rights ReservedDejaVu changes are in public domain -Foundry : DejaVu fonts team -Foundry URL : httpdejavusourceforgenet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-Bold-webfont.ttf b/docs/api_docs/client/android/resources/fonts/DejaVuSerif-Bold-webfont.ttf deleted file mode 100755 index cbe1c7cb..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-Bold-webfont.ttf and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-Bold-webfont.woff b/docs/api_docs/client/android/resources/fonts/DejaVuSerif-Bold-webfont.woff deleted file mode 100755 index 721761c6..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-Bold-webfont.woff and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-BoldItalic-webfont.eot b/docs/api_docs/client/android/resources/fonts/DejaVuSerif-BoldItalic-webfont.eot deleted file mode 100755 index 4f2e7516..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-BoldItalic-webfont.eot and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-BoldItalic-webfont.svg b/docs/api_docs/client/android/resources/fonts/DejaVuSerif-BoldItalic-webfont.svg deleted file mode 100755 index 33c2730a..00000000 --- a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-BoldItalic-webfont.svg +++ /dev/null @@ -1,256 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2003 by Bitstream Inc All Rights ReservedDejaVu changes are in public domain -Foundry : DejaVu fonts team -Foundry URL : httpdejavusourceforgenet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-BoldItalic-webfont.ttf b/docs/api_docs/client/android/resources/fonts/DejaVuSerif-BoldItalic-webfont.ttf deleted file mode 100755 index 007bd8df..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-BoldItalic-webfont.ttf and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-BoldItalic-webfont.woff b/docs/api_docs/client/android/resources/fonts/DejaVuSerif-BoldItalic-webfont.woff deleted file mode 100755 index 160250ba..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-BoldItalic-webfont.woff and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-Italic-webfont.eot b/docs/api_docs/client/android/resources/fonts/DejaVuSerif-Italic-webfont.eot deleted file mode 100755 index 3b95c95b..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-Italic-webfont.eot and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-Italic-webfont.svg b/docs/api_docs/client/android/resources/fonts/DejaVuSerif-Italic-webfont.svg deleted file mode 100755 index bd8f9b9c..00000000 --- a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-Italic-webfont.svg +++ /dev/null @@ -1,256 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2003 by Bitstream Inc All Rights ReservedDejaVu changes are in public domain -Foundry : DejaVu fonts team -Foundry URL : httpdejavusourceforgenet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-Italic-webfont.ttf b/docs/api_docs/client/android/resources/fonts/DejaVuSerif-Italic-webfont.ttf deleted file mode 100755 index 7b1c0074..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-Italic-webfont.ttf and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-Italic-webfont.woff b/docs/api_docs/client/android/resources/fonts/DejaVuSerif-Italic-webfont.woff deleted file mode 100755 index 6cc8d601..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-Italic-webfont.woff and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-webfont.eot b/docs/api_docs/client/android/resources/fonts/DejaVuSerif-webfont.eot deleted file mode 100755 index 6bc6d61c..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-webfont.eot and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-webfont.svg b/docs/api_docs/client/android/resources/fonts/DejaVuSerif-webfont.svg deleted file mode 100755 index 69315e46..00000000 --- a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-webfont.svg +++ /dev/null @@ -1,256 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2003 by Bitstream Inc All Rights ReservedDejaVu changes are in public domain -Foundry : DejaVu fonts team -Foundry URL : httpdejavusourceforgenet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-webfont.ttf b/docs/api_docs/client/android/resources/fonts/DejaVuSerif-webfont.ttf deleted file mode 100755 index 8f5752d9..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-webfont.ttf and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-webfont.woff b/docs/api_docs/client/android/resources/fonts/DejaVuSerif-webfont.woff deleted file mode 100755 index f2929d9c..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSerif-webfont.woff and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-Bold-webfont.eot b/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-Bold-webfont.eot deleted file mode 100755 index d5b9e708..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-Bold-webfont.eot and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-Bold-webfont.svg b/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-Bold-webfont.svg deleted file mode 100755 index 17662c8c..00000000 --- a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-Bold-webfont.svg +++ /dev/null @@ -1,256 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2003 by Bitstream Inc All Rights ReservedDejaVu changes are in public domain -Foundry : DejaVu fonts team -Foundry URL : httpdejavusourceforgenet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-Bold-webfont.ttf b/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-Bold-webfont.ttf deleted file mode 100755 index 380c6629..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-Bold-webfont.ttf and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-Bold-webfont.woff b/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-Bold-webfont.woff deleted file mode 100755 index 08e197fb..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-Bold-webfont.woff and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-BoldItalic-webfont.eot b/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-BoldItalic-webfont.eot deleted file mode 100755 index 98d49e74..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-BoldItalic-webfont.eot and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-BoldItalic-webfont.svg b/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-BoldItalic-webfont.svg deleted file mode 100755 index b22c0074..00000000 --- a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-BoldItalic-webfont.svg +++ /dev/null @@ -1,256 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2003 by Bitstream Inc All Rights ReservedDejaVu changes are in public domain -Foundry : DejaVu fonts team -Foundry URL : httpdejavusourceforgenet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-BoldItalic-webfont.ttf b/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-BoldItalic-webfont.ttf deleted file mode 100755 index 883fc73c..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-BoldItalic-webfont.ttf and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-BoldItalic-webfont.woff b/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-BoldItalic-webfont.woff deleted file mode 100755 index 3de48351..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-BoldItalic-webfont.woff and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-Italic-webfont.eot b/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-Italic-webfont.eot deleted file mode 100755 index b138e56c..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-Italic-webfont.eot and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-Italic-webfont.svg b/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-Italic-webfont.svg deleted file mode 100755 index e8e77a19..00000000 --- a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-Italic-webfont.svg +++ /dev/null @@ -1,256 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2003 by Bitstream Inc All Rights ReservedDejaVu changes are in public domain -Foundry : DejaVu fonts team -Foundry URL : httpdejavusourceforgenet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-Italic-webfont.ttf b/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-Italic-webfont.ttf deleted file mode 100755 index 267ef849..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-Italic-webfont.ttf and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-Italic-webfont.woff b/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-Italic-webfont.woff deleted file mode 100755 index 0cf04291..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-Italic-webfont.woff and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-webfont.eot b/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-webfont.eot deleted file mode 100755 index 2ea880ac..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-webfont.eot and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-webfont.svg b/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-webfont.svg deleted file mode 100755 index 8a27119b..00000000 --- a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-webfont.svg +++ /dev/null @@ -1,256 +0,0 @@ - - - - -This is a custom SVG webfont generated by Font Squirrel. -Copyright : Copyright c 2003 by Bitstream Inc All Rights ReservedDejaVu changes are in public domain -Foundry : DejaVu fonts team -Foundry URL : httpdejavusourceforgenet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-webfont.ttf b/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-webfont.ttf deleted file mode 100755 index da4c979a..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-webfont.ttf and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-webfont.woff b/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-webfont.woff deleted file mode 100755 index e6645f9e..00000000 Binary files a/docs/api_docs/client/android/resources/fonts/DejaVuSerifCondensed-webfont.woff and /dev/null differ diff --git a/docs/api_docs/client/android/resources/fonts/dejavu.css b/docs/api_docs/client/android/resources/fonts/dejavu.css deleted file mode 100755 index b32dbad8..00000000 --- a/docs/api_docs/client/android/resources/fonts/dejavu.css +++ /dev/null @@ -1,220 +0,0 @@ - -@font-face { - font-family: 'DejaVu Sans Mono'; - src: url('DejaVuSansMono-webfont.eot'); - src: url('DejaVuSansMono-webfont.eot?#iefix') format('embedded-opentype'), - url('DejaVuSansMono-webfont.woff') format('woff'), - url('DejaVuSansMono-webfont.ttf') format('truetype'), - url('DejaVuSansMono-webfont.svg#DejaVuSansMonoBook') format('svg'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'DejaVu Sans Mono'; - src: url('DejaVuSansMono-Oblique-webfont.eot'); - src: url('DejaVuSansMono-Oblique-webfont.eot?#iefix') format('embedded-opentype'), - url('DejaVuSansMono-Oblique-webfont.woff') format('woff'), - url('DejaVuSansMono-Oblique-webfont.ttf') format('truetype'), - url('DejaVuSansMono-Oblique-webfont.svg#DejaVuSansMonoOblique') format('svg'); - font-weight: normal; - font-style: italic; -} - -@font-face { - font-family: 'DejaVu Sans Mono'; - src: url('DejaVuSansMono-Bold-webfont.eot'); - src: url('DejaVuSansMono-Bold-webfont.eot?#iefix') format('embedded-opentype'), - url('DejaVuSansMono-Bold-webfont.woff') format('woff'), - url('DejaVuSansMono-Bold-webfont.ttf') format('truetype'), - url('DejaVuSansMono-Bold-webfont.svg#DejaVuSansMonoBold') format('svg'); - font-weight: bold; - font-style: normal; -} - -@font-face { - font-family: 'DejaVu Sans Mono'; - src: url('DejaVuSansMono-BoldOblique-webfont.eot'); - src: url('DejaVuSansMono-BoldOblique-webfont.eot?#iefix') format('embedded-opentype'), - url('DejaVuSansMono-BoldOblique-webfont.woff') format('woff'), - url('DejaVuSansMono-BoldOblique-webfont.ttf') format('truetype'), - url('DejaVuSansMono-BoldOblique-webfont.svg#DejaVuSansMonoBoldOblique') format('svg'); - font-weight: bold; - font-style: italic; -} - -@font-face { - font-family: 'DejaVu Sans'; - src: url('DejaVuSans-webfont.eot'); - src: url('DejaVuSans-webfont.eot?#iefix') format('embedded-opentype'), - url('DejaVuSans-webfont.woff') format('woff'), - url('DejaVuSans-webfont.ttf') format('truetype'), - url('DejaVuSans-webfont.svg#DejaVuSansBook') format('svg'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'DejaVu Sans'; - src: url('DejaVuSans-Oblique-webfont.eot'); - src: url('DejaVuSans-Oblique-webfont.eot?#iefix') format('embedded-opentype'), - url('DejaVuSans-Oblique-webfont.woff') format('woff'), - url('DejaVuSans-Oblique-webfont.ttf') format('truetype'), - url('DejaVuSans-Oblique-webfont.svg#DejaVuSansOblique') format('svg'); - font-weight: normal; - font-style: italic; -} - -@font-face { - font-family: 'DejaVu Sans'; - src: url('DejaVuSans-Bold-webfont.eot'); - src: url('DejaVuSans-Bold-webfont.eot?#iefix') format('embedded-opentype'), - url('DejaVuSans-Bold-webfont.woff') format('woff'), - url('DejaVuSans-Bold-webfont.ttf') format('truetype'), - url('DejaVuSans-Bold-webfont.svg#DejaVuSansBold') format('svg'); - font-weight: bold; - font-style: normal; -} - -@font-face { - font-family: 'DejaVu Sans'; - src: url('DejaVuSans-BoldOblique-webfont.eot'); - src: url('DejaVuSans-BoldOblique-webfont.eot?#iefix') format('embedded-opentype'), - url('DejaVuSans-BoldOblique-webfont.woff') format('woff'), - url('DejaVuSans-BoldOblique-webfont.ttf') format('truetype'), - url('DejaVuSans-BoldOblique-webfont.svg#DejaVuSansBoldOblique') format('svg'); - font-weight: bold; - font-style: italic; -} - -@font-face { - font-family: 'DejaVu Sans Condensed'; - src: url('DejaVuSansCondensed-webfont.eot'); - src: url('DejaVuSansCondensed-webfont.eot?#iefix') format('embedded-opentype'), - url('DejaVuSansCondensed-webfont.woff') format('woff'), - url('DejaVuSansCondensed-webfont.ttf') format('truetype'), - url('DejaVuSansCondensed-webfont.svg#DejaVuSansCondensed') format('svg'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'DejaVu Sans Condensed'; - src: url('DejaVuSansCondensed-Oblique-webfont.eot'); - src: url('DejaVuSansCondensed-Oblique-webfont.eot?#iefix') format('embedded-opentype'), - url('DejaVuSansCondensed-Oblique-webfont.woff') format('woff'), - url('DejaVuSansCondensed-Oblique-webfont.ttf') format('truetype'), - url('DejaVuSansCondensed-Oblique-webfont.svg#DejaVuSansCondensedOblique') format('svg'); - font-weight: normal; - font-style: italic; -} - -@font-face { - font-family: 'DejaVu Sans Condensed'; - src: url('DejaVuSansCondensed-Bold-webfont.eot'); - src: url('DejaVuSansCondensed-Bold-webfont.eot?#iefix') format('embedded-opentype'), - url('DejaVuSansCondensed-Bold-webfont.woff') format('woff'), - url('DejaVuSansCondensed-Bold-webfont.ttf') format('truetype'), - url('DejaVuSansCondensed-Bold-webfont.svg#DejaVuSansCondensedBold') format('svg'); - font-weight: bold; - font-style: normal; -} - -@font-face { - font-family: 'DejaVu Sans Condensed'; - src: url('DejaVuSansCondensed-BoldOblique-webfont.eot'); - src: url('DejaVuSansCondensed-BoldOblique-webfont.eot?#iefix') format('embedded-opentype'), - url('DejaVuSansCondensed-BoldOblique-webfont.woff') format('woff'), - url('DejaVuSansCondensed-BoldOblique-webfont.ttf') format('truetype'), - url('DejaVuSansCondensed-BoldOblique-webfont.svg#DejaVuSansCnBdOb') format('svg'); - font-weight: bold; - font-style: italic; -} - -@font-face { - font-family: 'DejaVu Serif'; - src: url('DejaVuSerif-webfont.eot'); - src: url('DejaVuSerif-webfont.eot?#iefix') format('embedded-opentype'), - url('DejaVuSerif-webfont.woff') format('woff'), - url('DejaVuSerif-webfont.ttf') format('truetype'), - url('DejaVuSerif-webfont.svg#DejaVuSerifBook') format('svg'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'DejaVu Serif'; - src: url('DejaVuSerif-Italic-webfont.eot'); - src: url('DejaVuSerif-Italic-webfont.eot?#iefix') format('embedded-opentype'), - url('DejaVuSerif-Italic-webfont.woff') format('woff'), - url('DejaVuSerif-Italic-webfont.ttf') format('truetype'), - url('DejaVuSerif-Italic-webfont.svg#DejaVuSerifItalic') format('svg'); - font-weight: normal; - font-style: italic; -} - -@font-face { - font-family: 'DejaVu Serif'; - src: url('DejaVuSerif-Bold-webfont.eot'); - src: url('DejaVuSerif-Bold-webfont.eot?#iefix') format('embedded-opentype'), - url('DejaVuSerif-Bold-webfont.woff') format('woff'), - url('DejaVuSerif-Bold-webfont.ttf') format('truetype'), - url('DejaVuSerif-Bold-webfont.svg#DejaVuSerifBold') format('svg'); - font-weight: bold; - font-style: normal; -} - -@font-face { - font-family: 'DejaVu Serif'; - src: url('DejaVuSerif-BoldItalic-webfont.eot'); - src: url('DejaVuSerif-BoldItalic-webfont.eot?#iefix') format('embedded-opentype'), - url('DejaVuSerif-BoldItalic-webfont.woff') format('woff'), - url('DejaVuSerif-BoldItalic-webfont.ttf') format('truetype'), - url('DejaVuSerif-BoldItalic-webfont.svg#DejaVuSerifBoldItalic') format('svg'); - font-weight: bold; - font-style: italic; -} - -@font-face { - font-family: 'DejaVu Serif Condensed'; - src: url('DejaVuSerifCondensed-webfont.eot'); - src: url('DejaVuSerifCondensed-webfont.eot?#iefix') format('embedded-opentype'), - url('DejaVuSerifCondensed-webfont.woff') format('woff'), - url('DejaVuSerifCondensed-webfont.ttf') format('truetype'), - url('DejaVuSerifCondensed-webfont.svg#DejaVuSerifCondensed') format('svg'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'DejaVu Serif Condensed'; - src: url('DejaVuSerifCondensed-Italic-webfont.eot'); - src: url('DejaVuSerifCondensed-Italic-webfont.eot?#iefix') format('embedded-opentype'), - url('DejaVuSerifCondensed-Italic-webfont.woff') format('woff'), - url('DejaVuSerifCondensed-Italic-webfont.ttf') format('truetype'), - url('DejaVuSerifCondensed-Italic-webfont.svg#DejaVuSerifCondensed') format('svg'); - font-weight: normal; - font-style: italic; -} - -@font-face { - font-family: 'DejaVu Serif Condensed'; - src: url('DejaVuSerifCondensed-Bold-webfont.eot'); - src: url('DejaVuSerifCondensed-Bold-webfont.eot?#iefix') format('embedded-opentype'), - url('DejaVuSerifCondensed-Bold-webfont.woff') format('woff'), - url('DejaVuSerifCondensed-Bold-webfont.ttf') format('truetype'), - url('DejaVuSerifCondensed-Bold-webfont.svg#DejaVuSerifCondensedBold') format('svg'); - font-weight: bold; - font-style: normal; -} - -@font-face { - font-family: 'DejaVu Serif Condensed'; - src: url('DejaVuSerifCondensed-BoldItalic-webfont.eot'); - src: url('DejaVuSerifCondensed-BoldItalic-webfont.eot?#iefix') format('embedded-opentype'), - url('DejaVuSerifCondensed-BoldItalic-webfont.woff') format('woff'), - url('DejaVuSerifCondensed-BoldItalic-webfont.ttf') format('truetype'), - url('DejaVuSerifCondensed-BoldItalic-webfont.svg#DejaVuSerifCnBdIt') format('svg'); - font-weight: bold; - font-style: italic; -} diff --git a/docs/api_docs/client/android/resources/inherit.gif b/docs/api_docs/client/android/resources/inherit.gif deleted file mode 100755 index c814867a..00000000 Binary files a/docs/api_docs/client/android/resources/inherit.gif and /dev/null differ diff --git a/docs/api_docs/client/android/script.js b/docs/api_docs/client/android/script.js deleted file mode 100755 index b3463569..00000000 --- a/docs/api_docs/client/android/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/docs/api_docs/client/android/stylesheet.css b/docs/api_docs/client/android/stylesheet.css index 5aed2cdb..3e36eb91 100755 --- a/docs/api_docs/client/android/stylesheet.css +++ b/docs/api_docs/client/android/stylesheet.css @@ -3,7 +3,7 @@ Overall document style */ -@import url('resources/fonts/dejavu.css'); +/*@import url('resources/fonts/dejavu.css');*/ body { background-color:#ffffff; diff --git a/docs/api_docs/client/ios/AutoReLoginDaemon_h/Classes/AutoReLoginDaemon/index.html b/docs/api_docs/client/ios/AutoReLoginDaemon_h/Classes/AutoReLoginDaemon/index.html old mode 100755 new mode 100644 index 91c006a8..033625ae --- a/docs/api_docs/client/ios/AutoReLoginDaemon_h/Classes/AutoReLoginDaemon/index.html +++ b/docs/api_docs/client/ios/AutoReLoginDaemon_h/Classes/AutoReLoginDaemon/index.html @@ -418,7 +418,7 @@

    Discussion 


    diff --git a/docs/api_docs/client/ios/AutoReLoginDaemon_h/Classes/AutoReLoginDaemon/toc.html b/docs/api_docs/client/ios/AutoReLoginDaemon_h/Classes/AutoReLoginDaemon/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/AutoReLoginDaemon_h/index.html b/docs/api_docs/client/ios/AutoReLoginDaemon_h/index.html old mode 100755 new mode 100644 index 258002e1..f25904cf --- a/docs/api_docs/client/ios/AutoReLoginDaemon_h/index.html +++ b/docs/api_docs/client/ios/AutoReLoginDaemon_h/index.html @@ -275,7 +275,7 @@

    Classes

     


    diff --git a/docs/api_docs/client/ios/AutoReLoginDaemon_h/toc.html b/docs/api_docs/client/ios/AutoReLoginDaemon_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/CharsetHelper_h/Classes/CharsetHelper/index.html b/docs/api_docs/client/ios/CharsetHelper_h/Classes/CharsetHelper/index.html old mode 100755 new mode 100644 index d99ab52b..1087adbb --- a/docs/api_docs/client/ios/CharsetHelper_h/Classes/CharsetHelper/index.html +++ b/docs/api_docs/client/ios/CharsetHelper_h/Classes/CharsetHelper/index.html @@ -376,7 +376,7 @@
    Discussion 


    diff --git a/docs/api_docs/client/ios/CharsetHelper_h/Classes/CharsetHelper/toc.html b/docs/api_docs/client/ios/CharsetHelper_h/Classes/CharsetHelper/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/CharsetHelper_h/index.html b/docs/api_docs/client/ios/CharsetHelper_h/index.html old mode 100755 new mode 100644 index 0cb820d1..e166ac56 --- a/docs/api_docs/client/ios/CharsetHelper_h/index.html +++ b/docs/api_docs/client/ios/CharsetHelper_h/index.html @@ -276,7 +276,7 @@

    Classes

     


    diff --git a/docs/api_docs/client/ios/CharsetHelper_h/toc.html b/docs/api_docs/client/ios/CharsetHelper_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/ChatBaseEvent_h/Protocols/ChatBaseEvent/index.html b/docs/api_docs/client/ios/ChatBaseEvent_h/Protocols/ChatBaseEvent/index.html old mode 100755 new mode 100644 index 88de0790..ca7fd95e --- a/docs/api_docs/client/ios/ChatBaseEvent_h/Protocols/ChatBaseEvent/index.html +++ b/docs/api_docs/client/ios/ChatBaseEvent_h/Protocols/ChatBaseEvent/index.html @@ -297,7 +297,7 @@

    Methods

    -onLinkCloseMessage:
    -
    -onLoginMessage:withErrorCode:
    +
    -onLoginMessage:

    @@ -328,37 +328,31 @@
    Discussion
    - -

    onLoginMessage:withErrorCode:

    + +

    onLoginMessage:


    -
    - (void) onLoginMessage:(int)dwUserId withErrorCode:(int) dwErrorCode; 
    +
    - (void) onLoginMessage:(int) dwErrorCode; 
    Parameters
    - - -dwUserId -
    -

    当回调参数dwErrorCode=0时,本回调参数值表示登陆成功后服务端分配的用户id,否则本回调参数值无意义

    -
    - - + + dwErrorCode

    服务端反馈的登录结果:0 表示登陆成功,否则为服务端自定义的出错代码(按照约定通常为>=1025的数)

    Discussion
    -

    本地用户的登陆结果回调事件通知。 +

    本地用户的登陆结果回调事件通知。

    - +

     


    diff --git a/docs/api_docs/client/ios/ChatBaseEvent_h/Protocols/ChatBaseEvent/toc.html b/docs/api_docs/client/ios/ChatBaseEvent_h/Protocols/ChatBaseEvent/toc.html old mode 100755 new mode 100644 index c15eca43..9ea0ccc5 --- a/docs/api_docs/client/ios/ChatBaseEvent_h/Protocols/ChatBaseEvent/toc.html +++ b/docs/api_docs/client/ios/ChatBaseEvent_h/Protocols/ChatBaseEvent/toc.html @@ -47,7 +47,7 @@ Instance Methods diff --git a/docs/api_docs/client/ios/ChatBaseEvent_h/index.html b/docs/api_docs/client/ios/ChatBaseEvent_h/index.html old mode 100755 new mode 100644 index b73fec70..982f2ef6 --- a/docs/api_docs/client/ios/ChatBaseEvent_h/index.html +++ b/docs/api_docs/client/ios/ChatBaseEvent_h/index.html @@ -276,7 +276,7 @@

    Protocols

     


    diff --git a/docs/api_docs/client/ios/ChatBaseEvent_h/toc.html b/docs/api_docs/client/ios/ChatBaseEvent_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/ChatTransDataEvent_h/Protocols/ChatTransDataEvent/index.html b/docs/api_docs/client/ios/ChatTransDataEvent_h/Protocols/ChatTransDataEvent/index.html old mode 100755 new mode 100644 index 150cb1de..bbe2f6be --- a/docs/api_docs/client/ios/ChatTransDataEvent_h/Protocols/ChatTransDataEvent/index.html +++ b/docs/api_docs/client/ios/ChatTransDataEvent_h/Protocols/ChatTransDataEvent/index.html @@ -297,7 +297,7 @@

    Methods

    -onErrorResponse:withErrorMsg:
    -
    -onTransBuffer:withUserId:andContent:
    +
    -onTransBuffer:withUserId:andContent:andTypeu:

    @@ -334,46 +334,47 @@
    Discussion
    - -

    onTransBuffer:withUserId:andContent:

    + +

    onTransBuffer:withUserId:andContent:andTypeu:


    -
    - (void) onTransBuffer:(NSString*)fingerPrintOfProtocal 
    -        withUserId:(int)dwUserid andContent:(NSString*)dataContent; 
    +
    - (void) onTransBuffer:(NSString*)fingerPrintOfProtocal 
    +        withUserId:(NSString*)userid andContent:(NSString*)dataContent 
    +        andTypeu:(int)typeu; 
    Parameters
    - - + + fingerPrintOfProtocal

    当该消息需要QoS支持时本回调参数为该消息的特征指纹码,否则为null

    - - -dwUserid + + +userid
    -

    消息的发送者id(RainbowCore框架中规定发送者id=0即表示是由服务端主动发过的,否则表示的是其它客户端发过来的消息)

    +

    消息的发送者id(RainbowCore框架中规定发送者id=“0”即表示是由服务端主动发过的,否则表示的是其它客户端发过来的消息)

    - - + + dataContent

    消息内容的文本表示形式

    Discussion
    -

    收到普通消息的回调事件通知。 +

    收到普通消息的回调事件通知。
    应用层可以将此消息进一步按自已的IM协议进行定义,从而实现完整的即时通信软件逻辑。

    - +

     


    diff --git a/docs/api_docs/client/ios/ChatTransDataEvent_h/Protocols/ChatTransDataEvent/toc.html b/docs/api_docs/client/ios/ChatTransDataEvent_h/Protocols/ChatTransDataEvent/toc.html old mode 100755 new mode 100644 index b0c8b4f8..cad57b53 --- a/docs/api_docs/client/ios/ChatTransDataEvent_h/Protocols/ChatTransDataEvent/toc.html +++ b/docs/api_docs/client/ios/ChatTransDataEvent_h/Protocols/ChatTransDataEvent/toc.html @@ -47,7 +47,7 @@ Instance Methods diff --git a/docs/api_docs/client/ios/ChatTransDataEvent_h/index.html b/docs/api_docs/client/ios/ChatTransDataEvent_h/index.html old mode 100755 new mode 100644 index b7caedd3..e2cd526f --- a/docs/api_docs/client/ios/ChatTransDataEvent_h/index.html +++ b/docs/api_docs/client/ios/ChatTransDataEvent_h/index.html @@ -275,7 +275,7 @@

    Protocols

     


    diff --git a/docs/api_docs/client/ios/ChatTransDataEvent_h/toc.html b/docs/api_docs/client/ios/ChatTransDataEvent_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/ClientCoreSDK_h/Classes/ClientCoreSDK/index.html b/docs/api_docs/client/ios/ClientCoreSDK_h/Classes/ClientCoreSDK/index.html old mode 100755 new mode 100644 index f2c2d105..3b84d41e --- a/docs/api_docs/client/ios/ClientCoreSDK_h/Classes/ClientCoreSDK/index.html +++ b/docs/api_docs/client/ios/ClientCoreSDK_h/Classes/ClientCoreSDK/index.html @@ -490,11 +490,9 @@

    Properties

    currentLoginExtra
    -
    currentLoginName
    +
    currentLoginToken
    -
    currentLoginPsw
    -
    -
    currentUserId
    +
    currentLoginUserId
    localDeviceNetworkOk
    @@ -566,7 +564,10 @@

    currentLoginExtra

    retain) NSString*currentLoginExtra;
    Discussion
    -

    本字段在登陆信息成功发出后就会被设置,将在掉线后自动重连时使用。 +

    保存本地用户登陆时要提交的额外信息(非必须字段,具体意义由客户端自行决定)。 +

    +

    +本字段在登陆信息成功发出后就会被设置,将在掉线后自动重连时使用。
    因不保证服务端正确收到和处理了该用户的登陆信息,所以本字段应只在 #connectedToServer==true 时才有意义. @@ -574,51 +575,44 @@

    Discussion


    - -

    currentLoginName

    + +

    currentLoginToken


    -
    @property (nonatomic,
    -    retain) NSString *currentLoginName; 
    +
    @property (nonatomic,
    +    retain) NSString *currentLoginToken; 
    Discussion
    -

    本字段在登陆信息成功发出后就会被设置,将在掉线后自动重连时使用。 +

    保存提交到服务端用于身份鉴别和合法性检查的token,它可能是 +登陆密码,也可能是通过前置单点登陆接口拿到的token等,具体意义由业务层决定。 +

    +

    +本字段在登陆信息成功发出后就会被设置,将在掉线后自动重连时使用。
    因不保证服务端正确收到和处理了该用户的登陆信息,所以本字段因只在 connectedToServer ==true 时才有意义.
    本参数由框架自动设置。 - +


    - -

    currentLoginPsw

    + +

    currentLoginUserId


    -
    @property (nonatomic,
    -    retain) NSString *currentLoginPsw; 
    +
    @property (nonatomic,
    +    retain) NSString *currentLoginUserId; 
    Discussion
    -

    本字段在登陆信息成功发出后就会被设置,将在掉线后自动重连时使用。 +

    保存提交到服务端的准一id,保证唯一就可以通信,可能是登陆用户名 +、也可能是任意不重复的id等,具体意义由业务层决定。 +

    +

    +本字段在登陆信息成功发出后就会被设置,将在掉线后自动重连时使用。
    因不保证服务端正确收到和处理了该用户的登陆信息,所以本字段因只在 connectedToServer ==true 时才有意义.
    本参数由框架自动设置。 - -

    -
    - -

    currentUserId

    -
    -
    -
    @property (nonatomic,
    -    assign) int currentUserId; 
    -
    -
    Discussion
    -

    本字段存放的是用户成功登陆后,服务端分配的id号。 -
    -本字段只在 connectedToServer ==true 的情况下才有意义哦. -
    本参数由框架自动设置。 - +


    @@ -632,7 +626,7 @@
    Discussion

    网络是否可用, true表示可用,否则表示不可用.

    -本字段在将在网络事件通知处理中被设置. +本字段将在网络事件通知处理中被设置.

    WARNING:

    本类中的网络状态变更事件通知实现类虽是Apple官方公布,但并不是正式API的一部分 @@ -667,7 +661,7 @@

    Discussion 


    diff --git a/docs/api_docs/client/ios/ClientCoreSDK_h/Classes/ClientCoreSDK/toc.html b/docs/api_docs/client/ios/ClientCoreSDK_h/Classes/ClientCoreSDK/toc.html old mode 100755 new mode 100644 index aa7d4356..40adee4a --- a/docs/api_docs/client/ios/ClientCoreSDK_h/Classes/ClientCoreSDK/toc.html +++ b/docs/api_docs/client/ios/ClientCoreSDK_h/Classes/ClientCoreSDK/toc.html @@ -77,9 +77,8 @@
  • chatTransDataEvent
  • connectedToServer
  • currentLoginExtra
  • -
  • currentLoginName
  • -
  • currentLoginPsw
  • -
  • currentUserId
  • +
  • currentLoginToken
  • +
  • currentLoginUserId
  • localDeviceNetworkOk
  • loginHasInit
  • messageQoSEvent
  • diff --git a/docs/api_docs/client/ios/ClientCoreSDK_h/index.html b/docs/api_docs/client/ios/ClientCoreSDK_h/index.html old mode 100755 new mode 100644 index 1682c4ea..54736fb7 --- a/docs/api_docs/client/ios/ClientCoreSDK_h/index.html +++ b/docs/api_docs/client/ios/ClientCoreSDK_h/index.html @@ -275,7 +275,7 @@

    Classes

     


    diff --git a/docs/api_docs/client/ios/ClientCoreSDK_h/toc.html b/docs/api_docs/client/ios/ClientCoreSDK_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/CompletionDefine_h/Classes/CompletionDefine/index.html b/docs/api_docs/client/ios/CompletionDefine_h/Classes/CompletionDefine/index.html old mode 100755 new mode 100644 index ce2e4886..f582f243 --- a/docs/api_docs/client/ios/CompletionDefine_h/Classes/CompletionDefine/index.html +++ b/docs/api_docs/client/ios/CompletionDefine_h/Classes/CompletionDefine/index.html @@ -345,7 +345,7 @@
    Parameters 


    diff --git a/docs/api_docs/client/ios/CompletionDefine_h/Classes/CompletionDefine/toc.html b/docs/api_docs/client/ios/CompletionDefine_h/Classes/CompletionDefine/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/CompletionDefine_h/index.html b/docs/api_docs/client/ios/CompletionDefine_h/index.html old mode 100755 new mode 100644 index 08f99915..c354d8ad --- a/docs/api_docs/client/ios/CompletionDefine_h/index.html +++ b/docs/api_docs/client/ios/CompletionDefine_h/index.html @@ -276,7 +276,7 @@

    Classes

     


    diff --git a/docs/api_docs/client/ios/CompletionDefine_h/toc.html b/docs/api_docs/client/ios/CompletionDefine_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/ConfigEntity_h/Classes/ConfigEntity/index.html b/docs/api_docs/client/ios/ConfigEntity_h/Classes/ConfigEntity/index.html old mode 100755 new mode 100644 index 9bfe0d84..c97cd1ed --- a/docs/api_docs/client/ios/ConfigEntity_h/Classes/ConfigEntity/index.html +++ b/docs/api_docs/client/ios/ConfigEntity_h/Classes/ConfigEntity/index.html @@ -552,7 +552,7 @@
    Discussion 


    diff --git a/docs/api_docs/client/ios/ConfigEntity_h/Classes/ConfigEntity/toc.html b/docs/api_docs/client/ios/ConfigEntity_h/Classes/ConfigEntity/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/ConfigEntity_h/index.html b/docs/api_docs/client/ios/ConfigEntity_h/index.html old mode 100755 new mode 100644 index 7fb87569..ac7c510b --- a/docs/api_docs/client/ios/ConfigEntity_h/index.html +++ b/docs/api_docs/client/ios/ConfigEntity_h/index.html @@ -276,7 +276,7 @@

    Classes

     


    diff --git a/docs/api_docs/client/ios/ConfigEntity_h/toc.html b/docs/api_docs/client/ios/ConfigEntity_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/ErrorCode_h/index.html b/docs/api_docs/client/ios/ErrorCode_h/index.html old mode 100755 new mode 100644 index 173b06ec..44357ca7 --- a/docs/api_docs/client/ios/ErrorCode_h/index.html +++ b/docs/api_docs/client/ios/ErrorCode_h/index.html @@ -441,7 +441,7 @@
    Discussion 


    diff --git a/docs/api_docs/client/ios/ErrorCode_h/toc.html b/docs/api_docs/client/ios/ErrorCode_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/KeepAliveDaemon_h/Classes/KeepAliveDaemon/index.html b/docs/api_docs/client/ios/KeepAliveDaemon_h/Classes/KeepAliveDaemon/index.html old mode 100755 new mode 100644 index 39908b41..4d941b4b --- a/docs/api_docs/client/ios/KeepAliveDaemon_h/Classes/KeepAliveDaemon/index.html +++ b/docs/api_docs/client/ios/KeepAliveDaemon_h/Classes/KeepAliveDaemon/index.html @@ -444,7 +444,7 @@
    Discussion 


    diff --git a/docs/api_docs/client/ios/KeepAliveDaemon_h/Classes/KeepAliveDaemon/toc.html b/docs/api_docs/client/ios/KeepAliveDaemon_h/Classes/KeepAliveDaemon/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/KeepAliveDaemon_h/index.html b/docs/api_docs/client/ios/KeepAliveDaemon_h/index.html old mode 100755 new mode 100644 index c642cd65..36b795d3 --- a/docs/api_docs/client/ios/KeepAliveDaemon_h/index.html +++ b/docs/api_docs/client/ios/KeepAliveDaemon_h/index.html @@ -275,7 +275,7 @@

    Classes

     


    diff --git a/docs/api_docs/client/ios/KeepAliveDaemon_h/toc.html b/docs/api_docs/client/ios/KeepAliveDaemon_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/LocalUDPDataReciever_h/Classes/LocalUDPDataReciever/index.html b/docs/api_docs/client/ios/LocalUDPDataReciever_h/Classes/LocalUDPDataReciever/index.html old mode 100755 new mode 100644 index 12881e0b..f09cbfb1 --- a/docs/api_docs/client/ios/LocalUDPDataReciever_h/Classes/LocalUDPDataReciever/index.html +++ b/docs/api_docs/client/ios/LocalUDPDataReciever_h/Classes/LocalUDPDataReciever/index.html @@ -334,7 +334,7 @@
    Discussion 


    diff --git a/docs/api_docs/client/ios/LocalUDPDataReciever_h/Classes/LocalUDPDataReciever/toc.html b/docs/api_docs/client/ios/LocalUDPDataReciever_h/Classes/LocalUDPDataReciever/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/LocalUDPDataReciever_h/index.html b/docs/api_docs/client/ios/LocalUDPDataReciever_h/index.html old mode 100755 new mode 100644 index 4e4e9fe2..f32b52dd --- a/docs/api_docs/client/ios/LocalUDPDataReciever_h/index.html +++ b/docs/api_docs/client/ios/LocalUDPDataReciever_h/index.html @@ -276,7 +276,7 @@

    Classes

     


    diff --git a/docs/api_docs/client/ios/LocalUDPDataReciever_h/toc.html b/docs/api_docs/client/ios/LocalUDPDataReciever_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/LocalUDPDataSender_h/Classes/LocalUDPDataSender/index.html b/docs/api_docs/client/ios/LocalUDPDataSender_h/Classes/LocalUDPDataSender/index.html old mode 100755 new mode 100644 index a62be5da..490bf218 --- a/docs/api_docs/client/ios/LocalUDPDataSender_h/Classes/LocalUDPDataSender/index.html +++ b/docs/api_docs/client/ios/LocalUDPDataSender_h/Classes/LocalUDPDataSender/index.html @@ -295,19 +295,17 @@

    Methods

    -sendCommonData:
    -
    -sendCommonData:toUserId:
    -
    -
    -sendCommonData:toUserId:qos:fp:
    -
    -sendCommonDataWithStr:toUserId:
    -
    -sendCommonDataWithStr:toUserId:qos:fp:
    +
    -sendCommonDataWithStr:toUserId:qos:fp:withTypeu:
    +
    +
    -sendCommonDataWithStr:toUserId:withTypeu:
    -sendKeepAlive
    -
    -sendLogin:withPassword:
    +
    -sendLogin:withToken:
    -
    -sendLogin:withPassword:andExtra:
    +
    -sendLogin:withToken:andExtra:
    -sendLoginout
    @@ -317,7 +315,7 @@

    Methods

    sendCommonData:


    -
    - (int) sendCommonData:(Protocal *)p; 
    +
    - (int) sendCommonData:(Protocal *)p; 
    Parameters
    @@ -345,30 +343,25 @@
    Discussion

    - -

    sendCommonData:toUserId:

    + +

    sendCommonDataWithStr:toUserId:


    -
    - (int) sendCommonData:(NSData *)dataContent toUserId:(int)to_user_id; 
    +
    - (int) sendCommonDataWithStr:(NSString *)dataContentWidthStr 
    +        toUserId:(NSString *)to_user_id; 
    Parameters
    - - -dataContent -
    -

    byte数组组织的数据内容

    -
    - - -dataLen + + +dataContentWidthStr
    -

    byte数组长度

    +

    要发送的数据内容(字符串方式组织)

    - - + + to_user_id

    要发送到的目标用户id

    @@ -380,55 +373,52 @@
    Return Value

    Discussion
    -

    通用数据发送方法(默认不需要Qos支持)。 +

    通用数据发送方法。

    - +

    See

    -

    int, boolean, String)

    +

    #sendCommonData(Protocal)

    +
    +

    int, int)


    - -

    sendCommonData:toUserId:qos:fp:

    + +

    sendCommonDataWithStr:toUserId:qos:fp:withTypeu:


    -
    - (int) sendCommonData:(NSData *)dataContent toUserId:(int)to_user_id 
    -        qos:(BOOL)QoS fp:(NSString *)fingerPrint; 
    +
    - (int) sendCommonDataWithStr:(NSString *)dataContentWidthStr 
    +        toUserId:(NSString *)to_user_id qos:(BOOL)QoS fp:(NSString *)fingerPrint 
    +        withTypeu:(int)typeu; 
    Parameters
    - - -dataContent -
    -

    byte数组组织的数据内容

    -
    - - -dataLen + + +dataContentWidthStr
    -

    byte数组长度

    +

    要发送的数据内容(字符串方式组织)

    - - + + to_user_id

    要发送到的目标用户id

    - - + + QoS

    true表示需QoS机制支持,不则不需要

    - - + + fingerPrint
    -

    QoS机制中要用到的指纹码(即消息包唯一id),生成方法见 Protocal#genFingerPrint()

    +

    QoS机制中要用到的指纹码(即消息包唯一id),生成方法见 [Protocal:genFingerPrint]

    Return Value
    @@ -437,75 +427,36 @@
    Return Value

    Discussion
    -

    通用数据发送方法。 +

    通用数据发送方法(默认不需要Qos支持)。

    - +

    See

    -

    int, boolean, String)

    +

    [sendCommonData:Protocal]

    -
    -
    - -

    sendCommonDataWithStr:toUserId:

    -
    -
    -
    - (int) sendCommonDataWithStr:(NSString *)dataContentWidthStr 
    -        toUserId:(int)to_user_id; 
    -
    -
    Parameters
    -
    -
    -
    - - -dataContentWidthStr -
    -

    要发送的数据内容(字符串方式组织)

    -
    - - -to_user_id -
    -

    要发送到的目标用户id

    -
    -
    -
    Return Value
    -

    -

    0表示数据发出成功,否则返回的是错误码 - -

    -
    Discussion
    -

    通用数据发送方法。 -

    - -

    See

    -
    -

    #sendCommonData(Protocal)

    -
    -

    int, int)

    +

    int, int, boolean, String)]


    - -

    sendCommonDataWithStr:toUserId:qos:fp:

    + +

    sendCommonDataWithStr:toUserId:withTypeu:


    -
    - (int) sendCommonDataWithStr:(NSString *)dataContentWidthStr 
    -        toUserId:(int)to_user_id qos:(BOOL)QoS fp:(NSString *)fingerPrint; 
    +
    - (int) sendCommonDataWithStr:(NSString *)dataContentWidthStr 
    +        toUserId:(NSString *)to_user_id withTypeu:(int)typeu; 
    Parameters
    - - + + dataContentWidthStr

    要发送的数据内容(字符串方式组织)

    - - + + to_user_id

    要发送到的目标用户id

    @@ -517,14 +468,14 @@
    Return Value

    Discussion
    -

    通用数据发送方法(默认不需要Qos支持)。 +

    通用数据发送方法。

    - +

    See

    #sendCommonData(Protocal)

    -

    int, int, boolean, String)

    +

    int, int)


    @@ -549,27 +500,29 @@
    Discussion

    - -

    sendLogin:withPassword:

    + +

    sendLogin:withToken:


    -
    - (int) sendLogin:(NSString *)loginName withPassword:(NSString *)loginPsw; 
    +
    - (int) sendLogin:(NSString *)loginUserId withToken:(NSString *)loginToken; 
    Parameters
    - - -loginName + + +loginUserId
    -

    登陆时提交的用户名:此用户名对框架来说可以随意,具体意义由上层逻辑决即可

    +

    提交到服务端的准一id,保证唯一就可以通信,可能是登陆用户名、 +也可能是任意不重复的id等,具体意义由业务层决定

    - - -loginPsw + + +loginToken
    -

    登陆时提交的密码:此密码对框架来说可以随意,具体意义由上层逻辑决即可

    +

    提交到服务端用于身份鉴别和合法性检查的token,它可能是登陆密码 +,也可能是通过前置单点登陆接口拿到的token等,具体意义由业务层决定

    Return Value
    @@ -578,7 +531,7 @@
    Return Value

    Discussion
    -

    发送登陆信息(默认extra字段值为nil哦). +

    发送登陆信息(默认extra字段值为nil哦).

    本方法中已经默认进行了核心库的初始化,因而使用本类完成登陆时,就无需单独 @@ -588,38 +541,40 @@

    Discussion

    本库的启动入口就是登陆过程触发的,因而要使本库能正常工作, 请确保首先进行登陆操作。

    - +

    See

    sendLogin:withPassword:andExtra:]


    - -

    sendLogin:withPassword:andExtra:

    + +

    sendLogin:withToken:andExtra:


    -
    - (int) sendLogin:(NSString *)loginName withPassword:(NSString *)loginPsw 
    -        andExtra:(NSString *)extra; 
    +
    - (int) sendLogin:(NSString *)loginUserId withToken:(NSString *)loginToken 
    +        andExtra:(NSString *)extra; 
    Parameters
    - - -loginName + + +loginUserId
    -

    登陆时提交的用户名:此用户名对框架来说可以随意,具体意义由上层逻辑决即可

    +

    提交到服务端的准一id,保证唯一就可以通信,可能是登陆用户名、 +也可能是任意不重复的id等,具体意义由业务层决定

    - - -loginPsw + + +loginToken
    -

    登陆时提交的密码:此密码对框架来说可以随意,具体意义由上层逻辑决即可

    +

    提交到服务端用于身份鉴别和合法性检查的token,它可能是登陆密码 +,也可能是通过前置单点登陆接口拿到的token等,具体意义由业务层决定

    - - + + extra

    额外信息字符串,可为null。本字段目前为保留字段,供上层应用自行放置需要的内容

    @@ -631,7 +586,7 @@
    Return Value

    Discussion
    -

    发送登陆信息. +

    发送登陆信息.

    本方法中已经默认进行了核心库的初始化,因而使用本类完成登陆时,就无需单独 @@ -641,7 +596,7 @@

    Discussion

    本库的启动入口就是登陆过程触发的,因而要使本库能正常工作, 请确保首先进行登陆操作。

    - +

    See

    sendImpl_:(NSData *)]

    @@ -678,7 +633,7 @@
    Discussion 


    diff --git a/docs/api_docs/client/ios/LocalUDPDataSender_h/Classes/LocalUDPDataSender/toc.html b/docs/api_docs/client/ios/LocalUDPDataSender_h/Classes/LocalUDPDataSender/toc.html old mode 100755 new mode 100644 index 0d338c43..7ce99018 --- a/docs/api_docs/client/ios/LocalUDPDataSender_h/Classes/LocalUDPDataSender/toc.html +++ b/docs/api_docs/client/ios/LocalUDPDataSender_h/Classes/LocalUDPDataSender/toc.html @@ -47,13 +47,12 @@ Instance Methods
    diff --git a/docs/api_docs/client/ios/LocalUDPDataSender_h/index.html b/docs/api_docs/client/ios/LocalUDPDataSender_h/index.html old mode 100755 new mode 100644 index e5b211bb..1bff9358 --- a/docs/api_docs/client/ios/LocalUDPDataSender_h/index.html +++ b/docs/api_docs/client/ios/LocalUDPDataSender_h/index.html @@ -275,7 +275,7 @@

    Classes

     


    diff --git a/docs/api_docs/client/ios/LocalUDPDataSender_h/toc.html b/docs/api_docs/client/ios/LocalUDPDataSender_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/LocalUDPSocketProvider_h/Classes/LocalUDPSocketProvider/index.html b/docs/api_docs/client/ios/LocalUDPSocketProvider_h/Classes/LocalUDPSocketProvider/index.html old mode 100755 new mode 100644 index 995bc30c..2ed8e23f --- a/docs/api_docs/client/ios/LocalUDPSocketProvider_h/Classes/LocalUDPSocketProvider/index.html +++ b/docs/api_docs/client/ios/LocalUDPSocketProvider_h/Classes/LocalUDPSocketProvider/index.html @@ -473,7 +473,7 @@
    Return Value

     


    diff --git a/docs/api_docs/client/ios/LocalUDPSocketProvider_h/Classes/LocalUDPSocketProvider/toc.html b/docs/api_docs/client/ios/LocalUDPSocketProvider_h/Classes/LocalUDPSocketProvider/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/LocalUDPSocketProvider_h/index.html b/docs/api_docs/client/ios/LocalUDPSocketProvider_h/index.html old mode 100755 new mode 100644 index ab288f7e..4558d69c --- a/docs/api_docs/client/ios/LocalUDPSocketProvider_h/index.html +++ b/docs/api_docs/client/ios/LocalUDPSocketProvider_h/index.html @@ -275,7 +275,7 @@

    Classes

     


    diff --git a/docs/api_docs/client/ios/LocalUDPSocketProvider_h/toc.html b/docs/api_docs/client/ios/LocalUDPSocketProvider_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/MessageQoSEvent_h/Protocols/MessageQoSEvent/index.html b/docs/api_docs/client/ios/MessageQoSEvent_h/Protocols/MessageQoSEvent/index.html old mode 100755 new mode 100644 index 969340d0..868a5529 --- a/docs/api_docs/client/ios/MessageQoSEvent_h/Protocols/MessageQoSEvent/index.html +++ b/docs/api_docs/client/ios/MessageQoSEvent_h/Protocols/MessageQoSEvent/index.html @@ -337,7 +337,7 @@
    DiscussionmessagesLost:

    -
    - (void) messagesLost:(NSArray*)lostMessages; 
    +
    - (void) messagesLost:(NSMutableArray*)lostMessages; 
    Parameters
    @@ -359,7 +359,7 @@
    Discussion 


    diff --git a/docs/api_docs/client/ios/MessageQoSEvent_h/Protocols/MessageQoSEvent/toc.html b/docs/api_docs/client/ios/MessageQoSEvent_h/Protocols/MessageQoSEvent/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/MessageQoSEvent_h/index.html b/docs/api_docs/client/ios/MessageQoSEvent_h/index.html old mode 100755 new mode 100644 index 4b4d885a..f2dd3a85 --- a/docs/api_docs/client/ios/MessageQoSEvent_h/index.html +++ b/docs/api_docs/client/ios/MessageQoSEvent_h/index.html @@ -276,7 +276,7 @@

    Protocols

     


    diff --git a/docs/api_docs/client/ios/MessageQoSEvent_h/toc.html b/docs/api_docs/client/ios/MessageQoSEvent_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/NSMutableDictionary+Ext_h/Categories/NSMutableDictionary_Ext_/index.html b/docs/api_docs/client/ios/NSMutableDictionary+Ext_h/Categories/NSMutableDictionary_Ext_/index.html old mode 100755 new mode 100644 index ef2a6554..0a828749 --- a/docs/api_docs/client/ios/NSMutableDictionary+Ext_h/Categories/NSMutableDictionary_Ext_/index.html +++ b/docs/api_docs/client/ios/NSMutableDictionary+Ext_h/Categories/NSMutableDictionary_Ext_/index.html @@ -319,7 +319,7 @@
    Discussion 


    diff --git a/docs/api_docs/client/ios/NSMutableDictionary+Ext_h/Categories/NSMutableDictionary_Ext_/toc.html b/docs/api_docs/client/ios/NSMutableDictionary+Ext_h/Categories/NSMutableDictionary_Ext_/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/NSMutableDictionary+Ext_h/index.html b/docs/api_docs/client/ios/NSMutableDictionary+Ext_h/index.html old mode 100755 new mode 100644 index 575947cc..46e1bc4e --- a/docs/api_docs/client/ios/NSMutableDictionary+Ext_h/index.html +++ b/docs/api_docs/client/ios/NSMutableDictionary+Ext_h/index.html @@ -276,7 +276,7 @@

    Categories

     


    diff --git a/docs/api_docs/client/ios/NSMutableDictionary+Ext_h/toc.html b/docs/api_docs/client/ios/NSMutableDictionary+Ext_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/PKeepAliveResponse_h/Classes/PKeepAliveResponse/index.html b/docs/api_docs/client/ios/PKeepAliveResponse_h/Classes/PKeepAliveResponse/index.html old mode 100755 new mode 100644 index 5b672dc6..8de13104 --- a/docs/api_docs/client/ios/PKeepAliveResponse_h/Classes/PKeepAliveResponse/index.html +++ b/docs/api_docs/client/ios/PKeepAliveResponse_h/Classes/PKeepAliveResponse/index.html @@ -284,7 +284,7 @@

    Introduction

     


    diff --git a/docs/api_docs/client/ios/PKeepAliveResponse_h/Classes/PKeepAliveResponse/toc.html b/docs/api_docs/client/ios/PKeepAliveResponse_h/Classes/PKeepAliveResponse/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/PKeepAliveResponse_h/index.html b/docs/api_docs/client/ios/PKeepAliveResponse_h/index.html old mode 100755 new mode 100644 index 983b6ece..88374ce1 --- a/docs/api_docs/client/ios/PKeepAliveResponse_h/index.html +++ b/docs/api_docs/client/ios/PKeepAliveResponse_h/index.html @@ -276,7 +276,7 @@

    Classes

     


    diff --git a/docs/api_docs/client/ios/PKeepAliveResponse_h/toc.html b/docs/api_docs/client/ios/PKeepAliveResponse_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/PKeepAlive_h/Classes/PKeepAlive/index.html b/docs/api_docs/client/ios/PKeepAlive_h/Classes/PKeepAlive/index.html old mode 100755 new mode 100644 index fcdf396b..d1ab7d93 --- a/docs/api_docs/client/ios/PKeepAlive_h/Classes/PKeepAlive/index.html +++ b/docs/api_docs/client/ios/PKeepAlive_h/Classes/PKeepAlive/index.html @@ -284,7 +284,7 @@

    Introduction

     


    diff --git a/docs/api_docs/client/ios/PKeepAlive_h/Classes/PKeepAlive/toc.html b/docs/api_docs/client/ios/PKeepAlive_h/Classes/PKeepAlive/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/PKeepAlive_h/index.html b/docs/api_docs/client/ios/PKeepAlive_h/index.html old mode 100755 new mode 100644 index 73e2bce7..211b59d4 --- a/docs/api_docs/client/ios/PKeepAlive_h/index.html +++ b/docs/api_docs/client/ios/PKeepAlive_h/index.html @@ -276,7 +276,7 @@

    Classes

     


    diff --git a/docs/api_docs/client/ios/PKeepAlive_h/toc.html b/docs/api_docs/client/ios/PKeepAlive_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/PLoginInfoResponse_h/Classes/PLoginInfoResponse/index.html b/docs/api_docs/client/ios/PLoginInfoResponse_h/Classes/PLoginInfoResponse/index.html old mode 100755 new mode 100644 index 922536e1..1e04451a --- a/docs/api_docs/client/ios/PLoginInfoResponse_h/Classes/PLoginInfoResponse/index.html +++ b/docs/api_docs/client/ios/PLoginInfoResponse_h/Classes/PLoginInfoResponse/index.html @@ -292,8 +292,6 @@

    Properties

    code
    -
    user_id
    -

    @@ -306,21 +304,10 @@

    code

    Discussion

    错误码:0表示认证成功,否则是用户自定的错误码(该码应该是>1024的整数)

    -
    - -

    user_id

    -
    -
    -
    @property (nonatomic,
    -    assign) int user_id; 
    -
    -
    Discussion
    -

    用户登陆路成功后分配给客户的唯一id:此值只在code==0时才有意义 -

     


    diff --git a/docs/api_docs/client/ios/PLoginInfoResponse_h/Classes/PLoginInfoResponse/toc.html b/docs/api_docs/client/ios/PLoginInfoResponse_h/Classes/PLoginInfoResponse/toc.html old mode 100755 new mode 100644 index e8d9dc85..2996f570 --- a/docs/api_docs/client/ios/PLoginInfoResponse_h/Classes/PLoginInfoResponse/toc.html +++ b/docs/api_docs/client/ios/PLoginInfoResponse_h/Classes/PLoginInfoResponse/toc.html @@ -47,7 +47,6 @@
    diff --git a/docs/api_docs/client/ios/PLoginInfoResponse_h/index.html b/docs/api_docs/client/ios/PLoginInfoResponse_h/index.html old mode 100755 new mode 100644 index 54bafc6b..9912da38 --- a/docs/api_docs/client/ios/PLoginInfoResponse_h/index.html +++ b/docs/api_docs/client/ios/PLoginInfoResponse_h/index.html @@ -276,7 +276,7 @@

    Classes

     


    diff --git a/docs/api_docs/client/ios/PLoginInfoResponse_h/toc.html b/docs/api_docs/client/ios/PLoginInfoResponse_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/PLoginInfo_h/Classes/PLoginInfo/index.html b/docs/api_docs/client/ios/PLoginInfo_h/Classes/PLoginInfo/index.html old mode 100755 new mode 100644 index 9b96208b..cb105796 --- a/docs/api_docs/client/ios/PLoginInfo_h/Classes/PLoginInfo/index.html +++ b/docs/api_docs/client/ios/PLoginInfo_h/Classes/PLoginInfo/index.html @@ -287,9 +287,9 @@

    Properties

    extra
    -
    loginName
    +
    loginToken
    -
    loginPsw
    +
    loginUserId

    @@ -310,31 +310,31 @@
    Discussion
    - -

    loginName

    + +

    loginToken


    -
    @property (nonatomic,
    -    retain) NSString* loginName; 
    +
    @property (nonatomic,
    +    retain) NSString* loginToken; 
    Discussion
    -

    登陆时提交的用户名:此用户名对框架来说可以随意,具体意义由上层逻辑决即可 +

    登陆时提交到服务端用于身份鉴别和合法性检查的token,它可能是登陆密码,也可能是通过前置单点登陆接口拿到的token等,具体意义由业务层决定


    - -

    loginPsw

    + +

    loginUserId


    -
    @property (nonatomic,
    -    retain) NSString* loginPsw; 
    +
    @property (nonatomic,
    +    retain) NSString* loginUserId; 
    Discussion
    -

    登陆时提交的密码:此密码对框架来说可以随意,具体意义由上层逻辑决即可 +

    登陆时提交的准一id,保证唯一就可以通信,可能是登陆用户名、也可能是任意不重复的id等,具体意义由业务层决定

     


    diff --git a/docs/api_docs/client/ios/PLoginInfo_h/Classes/PLoginInfo/toc.html b/docs/api_docs/client/ios/PLoginInfo_h/Classes/PLoginInfo/toc.html old mode 100755 new mode 100644 index 67ef5911..86e53398 --- a/docs/api_docs/client/ios/PLoginInfo_h/Classes/PLoginInfo/toc.html +++ b/docs/api_docs/client/ios/PLoginInfo_h/Classes/PLoginInfo/toc.html @@ -47,8 +47,8 @@ diff --git a/docs/api_docs/client/ios/PLoginInfo_h/index.html b/docs/api_docs/client/ios/PLoginInfo_h/index.html old mode 100755 new mode 100644 index dcd0a646..c4a309ce --- a/docs/api_docs/client/ios/PLoginInfo_h/index.html +++ b/docs/api_docs/client/ios/PLoginInfo_h/index.html @@ -276,7 +276,7 @@

    Classes

     


    diff --git a/docs/api_docs/client/ios/PLoginInfo_h/toc.html b/docs/api_docs/client/ios/PLoginInfo_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/ProtocalFactory_h/Classes/ProtocalFactory/index.html b/docs/api_docs/client/ios/ProtocalFactory_h/Classes/ProtocalFactory/index.html old mode 100755 new mode 100644 index 3957b0f3..5f8080f2 --- a/docs/api_docs/client/ios/ProtocalFactory_h/Classes/ProtocalFactory/index.html +++ b/docs/api_docs/client/ios/ProtocalFactory_h/Classes/ProtocalFactory/index.html @@ -295,18 +295,20 @@

    Methods

    +createCommonData:fromUserId:toUserId:
    -
    +createCommonData:fromUserId:toUserId:qos:
    +
    +createCommonData:fromUserId:toUserId:qos:fp:withTypeu:
    -
    +createCommonData:fromUserId:toUserId:qos:fp:
    +
    +createCommonData:fromUserId:toUserId:withTypeu:
    +createPKeepAlive:
    -
    +createPLoginInfo:withPsw:andExtra:
    +
    +createPLoginInfo:withToken:andExtra:
    -
    +createPLoginoutInfo:withLoginName:
    +
    +createPLoginoutInfo:
    +createRecivedBack:toUserId:withFingerPrint:
    +
    +createRecivedBack:toUserId:withFingerPrint:andBridge:
    +
    +parse:
    +parse:withClass:
    @@ -323,8 +325,8 @@

    Methods

    createCommonData:fromUserId:toUserId:


    -
    + (Protocal *) createCommonData:(NSString *)dataContent 
    -        fromUserId:(int)from_user_id toUserId:(int)to_user_id; 
    +
    + (Protocal *) createCommonData:(NSString *)dataContent 
    +        fromUserId:(NSString *)from_user_id toUserId:(NSString *)to_user_id; 
    Parameters
    @@ -362,40 +364,47 @@
    Discussion
    - -

    createCommonData:fromUserId:toUserId:qos:

    + +

    createCommonData:fromUserId:toUserId:qos:fp:withTypeu:


    -
    + (Protocal *) createCommonData:(NSString *)dataContent 
    -        fromUserId:(int)from_user_id toUserId:(int)to_user_id qos:(BOOL)QoS; 
    +
    + (Protocal *) createCommonData:(NSString *)dataContent 
    +        fromUserId:(NSString *)from_user_id toUserId:(NSString *)to_user_id 
    +        qos:(bool)QoS fp:(NSString *)fingerPrint withTypeu:(int)typeu; 
    Parameters
    - - + + dataContent

    要发送的数据内容(字符串方式组织)

    - - + + from_user_id

    发送人的user_id

    - - + + to_user_id

    接收人的user_id

    - - + + QoS

    是否需要QoS支持,true表示需要,否则不需要

    +
    + + +fingerPrint +
    +

    消息指纹特征码,为nil则表示由系统自动生成指纹码,否则使用本参数指明的指纹码

    Return Value
    @@ -404,54 +413,42 @@
    Return Value

    Discussion
    -

    通用消息的Protocal对象新建方法。 +

    通用消息的Protocal对象新建方法。

    本方法主要由MobileIMSDK框架内部使用。

    - +
    - -

    createCommonData:fromUserId:toUserId:qos:fp:

    + +

    createCommonData:fromUserId:toUserId:withTypeu:


    -
    + (Protocal *) createCommonData:(NSString *)dataContent 
    -        fromUserId:(int)from_user_id toUserId:(int)to_user_id qos:(BOOL)QoS 
    -        fp:(NSString *)fingerPrint; 
    +
    + (Protocal *) createCommonData:(NSString *)dataContent 
    +        fromUserId:(NSString *)from_user_id toUserId:(NSString *)to_user_id 
    +        withTypeu:(int)typeu; 
    Parameters
    - - + + dataContent

    要发送的数据内容(字符串方式组织)

    - - + + from_user_id

    发送人的user_id

    - - + + to_user_id

    接收人的user_id

    -
    - - -QoS -
    -

    是否需要QoS支持,true表示需要,否则不需要

    -
    - - -fingerPrint -
    -

    消息指纹特征码,为nil则表示由系统自动生成指纹码,否则使用本参数指明的指纹码

    Return Value
    @@ -460,18 +457,18 @@
    Return Value

    Discussion
    -

    通用消息的Protocal对象新建方法。 +

    通用消息的Protocal对象新建方法(默认不需要Qos支持)。

    本方法主要由MobileIMSDK框架内部使用。

    - +

    createPKeepAlive:


    -
    + (Protocal *) createPKeepAlive:(int)from_user_id; 
    +
    + (Protocal *) createPKeepAlive:(NSString *)from_user_id; 
    Parameters
    @@ -492,82 +489,81 @@
    Discussion
    - -

    createPLoginInfo:withPsw:andExtra:

    + +

    createPLoginInfo:withToken:andExtra:


    -
    + (Protocal *) createPLoginInfo:(NSString *)loginName 
    -        withPsw:(NSString *)loginPsw andExtra:(NSString *)extra; 
    +
    + (Protocal *) createPLoginInfo:(NSString *)loginUserId 
    +        withToken:(NSString *)loginToken andExtra:(NSString *)extra; 
    Parameters
    - - -loginName + + +loginUserId
    -

    登陆时提交的用户名:此用户名对框架来说可以随意,具体意义由上层逻辑决即可

    +

    提交到服务端的准一id,保证唯一就可以通信,可能是登陆用户名、也可能是任意不重复的id等,具体意义由业务层决定

    - - -loginPsw + + +loginToken
    -

    登陆时提交的密码:此密码对框架来说可以随意,具体意义由上层逻辑决即可

    +

    提交到服务端用于身份鉴别和合法性检查的token,它可能是登陆密码,也可能是通过前置单点登陆接口拿到的token等,具体意义由业务层决定

    - - + + extra

    额外信息字符串。本字段目前为保留字段,供上层应用自行放置需要的内容

    Discussion
    -

    创建用户登陆消息对象(该对象由客户端发出). +

    创建用户登陆消息对象(该对象由客户端发出).

    本方法主要由MobileIMSDK框架内部使用。

    - +
    - -

    createPLoginoutInfo:withLoginName:

    + +

    createPLoginoutInfo:


    -
    + (Protocal *) createPLoginoutInfo:(int) user_id 
    -        withLoginName:(NSString *)loginName; 
    +
    + (Protocal *) createPLoginoutInfo:(NSString *) user_id; 
    Parameters
    - - + + user_id
    - - + + loginName
    Discussion
    -

    创建用户注消登陆消息对象(该对象由客户端发出). +

    创建用户注消登陆消息对象(该对象由客户端发出).

    本方法主要由MobileIMSDK框架内部使用。

    - +

    createRecivedBack:toUserId:withFingerPrint:


    -
    + (Protocal *) createRecivedBack:(int)from_user_id toUserId:(int)to_user_id 
    -        withFingerPrint:(NSString *)recievedMessageFingerPrint; 
    +
    + (Protocal *) createRecivedBack:(NSString *)from_user_id 
    +        toUserId:(NSString *)to_user_id withFingerPrint:(NSString *)recievedMessageFingerPrint; 
    Parameters
    @@ -593,18 +589,57 @@
    Parameters
    Discussion
    -

    客户端from_user_id向to_user_id发送一个QoS机制中需要的“收到消息应答包”. +

    客户端from_user_id向to_user_id发送一个QoS机制中需要的“收到消息应答包” (bridge标识默认为false).

    本方法主要由MobileIMSDK框架内部使用。


    + +

    createRecivedBack:toUserId:withFingerPrint:andBridge:

    +
    +
    +
    + (Protocal *) createRecivedBack:(NSString *)from_user_id 
    +        toUserId:(NSString *)to_user_id withFingerPrint:(NSString *)recievedMessageFingerPrint 
    +        andBridge:(bool)bridge; 
    +
    +
    Parameters
    +
    +
    +
    + + +from_user_id +
    +

    发起方

    +
    + + +to_user_id +
    +

    接收方

    +
    + + +recievedMessageFingerPrint +
    +

    已收到的消息包指纹码

    +
    +
    +
    Discussion
    +

    客户端from_user_id向to_user_id发送一个QoS机制中需要的“收到消息应答包”. +

    +

    +本方法主要由MobileIMSDK框架内部使用。 +

    + +

    parse:


    -
    + (id) parse:(NSData *)fullProtocalJASOnBytes; 
    +
    + (id) parse:(NSData *)fullProtocalJASOnBytes; 
    Parameters
    @@ -634,7 +669,7 @@
    Discussionparse:withClass:

    -
    + (id) parse:(NSData *)fullProtocalJASOnBytes withClass:(Class)clazz; 
    +
    + (id) parse:(NSData *)fullProtocalJASOnBytes withClass:(Class)clazz; 
    Parameters
    @@ -755,7 +790,7 @@
    Discussion 


    diff --git a/docs/api_docs/client/ios/ProtocalFactory_h/Classes/ProtocalFactory/toc.html b/docs/api_docs/client/ios/ProtocalFactory_h/Classes/ProtocalFactory/toc.html old mode 100755 new mode 100644 index d5ea184f..30b0b9f8 --- a/docs/api_docs/client/ios/ProtocalFactory_h/Classes/ProtocalFactory/toc.html +++ b/docs/api_docs/client/ios/ProtocalFactory_h/Classes/ProtocalFactory/toc.html @@ -47,12 +47,13 @@ Class Methods
    • createCommonData:‍fromUserId:‍toUserId:‍
    • -
    • createCommonData:‍fromUserId:‍toUserId:‍qos:‍
    • -
    • createCommonData:‍fromUserId:‍toUserId:‍qos:‍fp:‍
    • +
    • createCommonData:‍fromUserId:‍toUserId:‍qos:‍fp:‍withTypeu:‍
    • +
    • createCommonData:‍fromUserId:‍toUserId:‍withTypeu:‍
    • createPKeepAlive:
    • -
    • createPLoginInfo:‍withPsw:‍andExtra:‍
    • -
    • createPLoginoutInfo:‍withLoginName:‍
    • +
    • createPLoginInfo:‍withToken:‍andExtra:‍
    • +
    • createPLoginoutInfo:
    • createRecivedBack:‍toUserId:‍withFingerPrint:‍
    • +
    • createRecivedBack:‍toUserId:‍withFingerPrint:‍andBridge:‍
    • parse:
    • parse:withClass:
    • parseObject:withClass:
    • diff --git a/docs/api_docs/client/ios/ProtocalFactory_h/index.html b/docs/api_docs/client/ios/ProtocalFactory_h/index.html old mode 100755 new mode 100644 index 1aee368f..63c8199b --- a/docs/api_docs/client/ios/ProtocalFactory_h/index.html +++ b/docs/api_docs/client/ios/ProtocalFactory_h/index.html @@ -276,7 +276,7 @@

      Classes

       


      diff --git a/docs/api_docs/client/ios/ProtocalFactory_h/toc.html b/docs/api_docs/client/ios/ProtocalFactory_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/ProtocalType_h/index.html b/docs/api_docs/client/ios/ProtocalType_h/index.html old mode 100755 new mode 100644 index 5ae80f4e..c1d5d5a8 --- a/docs/api_docs/client/ios/ProtocalType_h/index.html +++ b/docs/api_docs/client/ios/ProtocalType_h/index.html @@ -431,7 +431,7 @@
      Discussion 


      diff --git a/docs/api_docs/client/ios/ProtocalType_h/toc.html b/docs/api_docs/client/ios/ProtocalType_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/Protocal_h/Classes/Protocal/index.html b/docs/api_docs/client/ios/Protocal_h/Classes/Protocal/index.html old mode 100755 new mode 100644 index b2fff135..0c2fd8d2 --- a/docs/api_docs/client/ios/Protocal_h/Classes/Protocal/index.html +++ b/docs/api_docs/client/ios/Protocal_h/Classes/Protocal/index.html @@ -299,7 +299,11 @@

      Methods

      +initWithType:content:from:to:
      -
      +initWithType:content:from:to:qos:fp:
      +
      +initWithType:content:from:to:qos:fp:bg:tu:
      +
      +
      +initWithType:content:from:to:qos:fp:tu:
      +
      +
      +initWithType:content:from:to:tu:
      -toBytes
      @@ -389,8 +393,8 @@
      DiscussioninitWithType:content:from:to:

      -
      + (Protocal *) initWithType:(int)type content:(NSString *)dataContent 
      -        from:(int)from to:(int)to; 
      +
      + (Protocal *) initWithType:(int)type content:(NSString *)dataContent 
      +        from:(NSString *)from to:(NSString *)to; 
      Parameters
      @@ -427,56 +431,186 @@
      Return Value

      Discussion
      -

      创建Protocal对象的快捷方法(QoS标记默认为false)。 +

      创建Protocal对象的快捷方法(QoS标记默认为true、typeu默认=-1)。


      - -

      initWithType:content:from:to:qos:fp:

      + +

      initWithType:content:from:to:qos:fp:bg:tu:

      +
      +
      +
      + (Protocal *) initWithType:(int)type content:(NSString *)dataContent 
      +        from:(NSString *)from to:(NSString *)to qos:(bool)QoS fp:(NSString *)fingerPrint 
      +        bg:(bool)bridge tu:(int)typeu; 
      +
      +
      Parameters
      +
      +
      +
      + + +type +
      +

      协议类型

      +
      + + +dataContent +
      +

      协议数据内容

      +
      + + +from +
      +

      消息发出方的id(当用户登陆时,此值可不设置)

      +
      + + +to +
      +

      消息接收方的id(当用户退出时,此值可不设置)

      +
      + + +QoS +
      +

      是否需要QoS支持,true表示是,否则不需要

      +
      + + +fingerPrint +
      +

      协议包的指纹特征码,当 QoS字段=true时且本字段为null时方法中将自动生成指纹码否则使用本参数指定的指纹码

      +
      + + +bridge +
      +

      是否来自跨服务器的消息,true表示是、否则不是。本字段是为跨服务器或集群准备的

      +
      + + +typeu +
      +

      应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型,不需要设置时请填-1即可

      +
      +
      +
      Return Value
      +

      +

      新建的Protocal对象 + +

      +
      Discussion
      +

      创建Protocal对象的快捷方法. +

      + +
      + +

      initWithType:content:from:to:qos:fp:tu:


      -
      + (Protocal *) initWithType:(int)type content:(NSString *)dataContent 
      -        from:(int)from to:(int)to qos:(BOOL)QoS fp:(NSString *)fingerPrint; 
      +
      + (Protocal *) initWithType:(int)type content:(NSString *)dataContent 
      +        from:(NSString *)from to:(NSString *)to qos:(bool)QoS fp:(NSString *)fingerPrint 
      +        tu:(int)typeu; 
      Parameters
      - - + + type

      协议类型

      - - + + dataContent

      协议数据内容

      - - + + from

      消息发出方的id(当用户登陆时,此值可不设置)

      - - + + to

      消息接收方的id(当用户退出时,此值可不设置)

      - - + + QoS

      是否需要QoS支持,true表示是,否则不需要

      - - + + fingerPrint

      协议包的指纹特征码,当 QoS字段=true时且本字段为null时方法中将自动生成指纹码否则使用本参数指定的指纹码

      +
      + + +typeu +
      +

      应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型,不需要设置时请填-1即可

      +
      +
      +
      Return Value
      +

      +

      新建的Protocal对象 + +

      +
      Discussion
      +

      创建Protocal对象的快捷方法. +

      + +
      + +

      initWithType:content:from:to:tu:

      +
      +
      +
      + (Protocal *) initWithType:(int)type content:(NSString *)dataContent 
      +        from:(NSString *)from to:(NSString *)to tu:(int)typeu; 
      +
      +
      Parameters
      +
      +
      +
      + + +type +
      +

      协议类型

      +
      + + +dataContent +
      +

      协议数据内容

      +
      + + +from +
      +

      消息发出方的id(当用户登陆时,此值可不设置)

      +
      + + +to +
      +

      消息接收方的id(当用户退出时,此值可不设置)

      +
      + + +typeu +
      +

      应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型,不需要设置时请填-1即可

      Return Value
      @@ -485,9 +619,9 @@
      Return Value

      Discussion
      -

      创建Protocal对象的快捷方法. +

      创建Protocal对象的快捷方法(QoS标记默认为true)。

      - +

      toBytes

      @@ -543,7 +677,9 @@

      dataContent

      retain) NSString *dataContent;
      Discussion
      -

      协议数据内容 +

      意义:协议数据内容。 +说明:本字段用于MobileIMSDK_X框架中时,可能会存放一些指令内容。当本字段用于应用层时,由用户自行 +定义和使用其内容


      @@ -554,7 +690,8 @@

      fp

      retain) NSString *fp;
    Discussion
    -

    用于QoS消息包的质量保证时作为消息的指纹特征码(理论上全局唯一) +

    意义:用于QoS消息包的质量保证时作为消息的指纹特征码(理论上全局唯一)。 +注意:本字段为框架专用字段,请勿用作其它用途。


    @@ -562,10 +699,12 @@

    from


    @property (nonatomic,
    -    assign) int from; 
    + retain) NSString *from;
    Discussion
    -

    消息发出方的id(当用户登陆时,此值可不设置) +

    意义:消息发出方的id(当用户登陆时,此值可不设置) +说明:为“-1”表示未设定、为“0”表示来自Server。 +默认:"-1"


    @@ -576,10 +715,8 @@

    QoS

    assign) bool QoS;
    Discussion
    -

    true表示本包需要进行QoS质量保证,否则不需要. -

    -

    -注:目前只支持客户发给客户端的质量保证,暂不支持服务端主动发起的包哦(比如上下线通知等)。 +

    意义:true表示本包需要进行QoS质量保证,否则不需要. +默认:false

    WARNING:

    当本属性申明为BOOL类型时,在模拟器iPhone 4s、iPhone 5时,利用官方的NSJSONSerialization @@ -593,10 +730,12 @@

    to


    @property (nonatomic,
    -    assign) int to; 
    + retain) NSString *to;
    Discussion
    -

    消息接收方的id(当用户退出时,此值可不设置) +

    意义:消息接收方的id(当用户退出时,此值可不设置) +说明:为“-1”表示未设定、为“0”表示发给Server。 +默认:"-1"


    @@ -607,7 +746,11 @@

    type

    assign) int type;
    Discussion
    -

    协议类型. +

    意义:协议类型。 +注意:本字段为框架专用字段,本字段的使用涉及IM核心层算法的表现,如无必要请避免应用层使用此字段。 +补充:理论上应用层不参与本字段的定义,可将其视为透明,如需定义应用层的消息类型,请使用 typeu 字 +段并配合dataContent一起使用。 +默认:0

    See

    @@ -618,7 +761,7 @@
    Discussion 


    diff --git a/docs/api_docs/client/ios/Protocal_h/Classes/Protocal/toc.html b/docs/api_docs/client/ios/Protocal_h/Classes/Protocal/toc.html old mode 100755 new mode 100644 index 883fae2c..bf1e4b7f --- a/docs/api_docs/client/ios/Protocal_h/Classes/Protocal/toc.html +++ b/docs/api_docs/client/ios/Protocal_h/Classes/Protocal/toc.html @@ -48,7 +48,9 @@  
    Instance Methods diff --git a/docs/api_docs/client/ios/Protocal_h/index.html b/docs/api_docs/client/ios/Protocal_h/index.html old mode 100755 new mode 100644 index 69f1a400..0a227e57 --- a/docs/api_docs/client/ios/Protocal_h/index.html +++ b/docs/api_docs/client/ios/Protocal_h/index.html @@ -276,7 +276,7 @@

    Classes

     


    diff --git a/docs/api_docs/client/ios/Protocal_h/toc.html b/docs/api_docs/client/ios/Protocal_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/QoS4ReciveDaemon_h/Classes/ProtocalQoS4ReciveProvider/index.html b/docs/api_docs/client/ios/QoS4ReciveDaemon_h/Classes/ProtocalQoS4ReciveProvider/index.html old mode 100755 new mode 100644 index 7eee3a77..759e9c53 --- a/docs/api_docs/client/ios/QoS4ReciveDaemon_h/Classes/ProtocalQoS4ReciveProvider/index.html +++ b/docs/api_docs/client/ios/QoS4ReciveDaemon_h/Classes/ProtocalQoS4ReciveProvider/index.html @@ -330,7 +330,7 @@

    Methods

    addRecieved:


    -
    - (void) addRecieved:(Protocal *)p; 
    +
    - (void) addRecieved:(Protocal *)p; 
    Parameters
    @@ -497,7 +497,7 @@
    Discussion 


    diff --git a/docs/api_docs/client/ios/QoS4ReciveDaemon_h/Classes/ProtocalQoS4ReciveProvider/toc.html b/docs/api_docs/client/ios/QoS4ReciveDaemon_h/Classes/ProtocalQoS4ReciveProvider/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/QoS4ReciveDaemon_h/index.html b/docs/api_docs/client/ios/QoS4ReciveDaemon_h/index.html old mode 100755 new mode 100644 index 6191bc00..262e50c4 --- a/docs/api_docs/client/ios/QoS4ReciveDaemon_h/index.html +++ b/docs/api_docs/client/ios/QoS4ReciveDaemon_h/index.html @@ -275,7 +275,7 @@

    Classes

     


    diff --git a/docs/api_docs/client/ios/QoS4ReciveDaemon_h/toc.html b/docs/api_docs/client/ios/QoS4ReciveDaemon_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/QoS4SendDaemon_h/Classes/ProtocalQoS4SendProvider/index.html b/docs/api_docs/client/ios/QoS4SendDaemon_h/Classes/ProtocalQoS4SendProvider/index.html old mode 100755 new mode 100644 index 98e63532..592fbd42 --- a/docs/api_docs/client/ios/QoS4SendDaemon_h/Classes/ProtocalQoS4SendProvider/index.html +++ b/docs/api_docs/client/ios/QoS4SendDaemon_h/Classes/ProtocalQoS4SendProvider/index.html @@ -487,7 +487,7 @@
    Discussion 


    diff --git a/docs/api_docs/client/ios/QoS4SendDaemon_h/Classes/ProtocalQoS4SendProvider/toc.html b/docs/api_docs/client/ios/QoS4SendDaemon_h/Classes/ProtocalQoS4SendProvider/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/QoS4SendDaemon_h/index.html b/docs/api_docs/client/ios/QoS4SendDaemon_h/index.html old mode 100755 new mode 100644 index e4a211f7..4e295e08 --- a/docs/api_docs/client/ios/QoS4SendDaemon_h/index.html +++ b/docs/api_docs/client/ios/QoS4SendDaemon_h/index.html @@ -275,7 +275,7 @@

    Classes

     


    diff --git a/docs/api_docs/client/ios/QoS4SendDaemon_h/toc.html b/docs/api_docs/client/ios/QoS4SendDaemon_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/Reachability_h/index.html b/docs/api_docs/client/ios/Reachability_h/index.html old mode 100755 new mode 100644 index 0c1b9800..5412efd1 --- a/docs/api_docs/client/ios/Reachability_h/index.html +++ b/docs/api_docs/client/ios/Reachability_h/index.html @@ -352,7 +352,7 @@
    Discussion 


    diff --git a/docs/api_docs/client/ios/Reachability_h/toc.html b/docs/api_docs/client/ios/Reachability_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/ToolKits_h/Classes/ToolKits/index.html b/docs/api_docs/client/ios/ToolKits_h/Classes/ToolKits/index.html old mode 100755 new mode 100644 index dfeaaa1c..aff87eb2 --- a/docs/api_docs/client/ios/ToolKits_h/Classes/ToolKits/index.html +++ b/docs/api_docs/client/ios/ToolKits_h/Classes/ToolKits/index.html @@ -475,7 +475,7 @@
    Discussion 


    diff --git a/docs/api_docs/client/ios/ToolKits_h/Classes/ToolKits/toc.html b/docs/api_docs/client/ios/ToolKits_h/Classes/ToolKits/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/ToolKits_h/index.html b/docs/api_docs/client/ios/ToolKits_h/index.html old mode 100755 new mode 100644 index 00d148cb..7767d877 --- a/docs/api_docs/client/ios/ToolKits_h/index.html +++ b/docs/api_docs/client/ios/ToolKits_h/index.html @@ -276,7 +276,7 @@

    Classes

     


    diff --git a/docs/api_docs/client/ios/ToolKits_h/toc.html b/docs/api_docs/client/ios/ToolKits_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/UDPUtils_h/Classes/UDPUtils/index.html b/docs/api_docs/client/ios/UDPUtils_h/Classes/UDPUtils/index.html old mode 100755 new mode 100644 index c0b6ae3a..14786e15 --- a/docs/api_docs/client/ios/UDPUtils_h/Classes/UDPUtils/index.html +++ b/docs/api_docs/client/ios/UDPUtils_h/Classes/UDPUtils/index.html @@ -334,7 +334,7 @@
    Discussion 


    diff --git a/docs/api_docs/client/ios/UDPUtils_h/Classes/UDPUtils/toc.html b/docs/api_docs/client/ios/UDPUtils_h/Classes/UDPUtils/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/UDPUtils_h/index.html b/docs/api_docs/client/ios/UDPUtils_h/index.html old mode 100755 new mode 100644 index 3ba6ec14..932a9ec1 --- a/docs/api_docs/client/ios/UDPUtils_h/index.html +++ b/docs/api_docs/client/ios/UDPUtils_h/index.html @@ -276,7 +276,7 @@

    Classes

     


    diff --git a/docs/api_docs/client/ios/UDPUtils_h/toc.html b/docs/api_docs/client/ios/UDPUtils_h/toc.html old mode 100755 new mode 100644 diff --git a/docs/api_docs/client/ios/index.html b/docs/api_docs/client/ios/index.html old mode 100755 new mode 100644 index 93a15a34..d889f694 --- a/docs/api_docs/client/ios/index.html +++ b/docs/api_docs/client/ios/index.html @@ -168,10 +168,10 @@

    Functions

    +[ AutoReLoginDaemon getAUTO_RE_LOGIN_INTERVAL ]
    @@ -179,7 +179,7 @@

    Functions

    -[ AutoReLoginDaemon isAutoReLoginRunning ]
    @@ -498,7 +498,7 @@

    Functions

    +[ KeepAliveDaemon getNETWORK_CONNECTION_TIME_OUT ]
    + + + + +
    --[ KeepAliveDaemon stop ]
    +-[ LocalUDPDataReciever handleProtocal: ]
    -+[ ProtocalFactory parse: ]
    ++[ ProtocalFactory parse: ]
    --[ LocalUDPDataReciever handleProtocal: ]
    +-[ LocalUDPDataSender sendCommonData: ]
    +[ ProtocalFactory parse:withClass: ]
    @@ -190,7 +190,7 @@

    Functions

    +[ AutoReLoginDaemon setAUTO_RE_LOGIN_INTERVAL: ]
    --[ LocalUDPDataSender sendCommonData: ]
    +-[ LocalUDPDataSender sendCommonDataWithStr:toUserId: ]
    +[ ProtocalFactory parseObject:withClass: ]
    @@ -201,7 +201,7 @@

    Functions

    -[ AutoReLoginDaemon setDebugObserver: ]
    --[ LocalUDPDataSender sendCommonData:toUserId: ]
    +-[ LocalUDPDataSender sendCommonDataWithStr:toUserId:qos:fp:withTypeu: ]
    +[ ProtocalFactory parsePErrorResponse: ]
    @@ -212,7 +212,7 @@

    Functions

    -[ AutoReLoginDaemon start: ]
    --[ LocalUDPDataSender sendCommonData:toUserId:qos:fp: ]
    +-[ LocalUDPDataSender sendCommonDataWithStr:toUserId:withTypeu: ]
    +[ ProtocalFactory parsePLoginInfoResponse: ]
    @@ -223,7 +223,7 @@

    Functions

    -[ AutoReLoginDaemon stop ]
    --[ LocalUDPDataSender sendCommonDataWithStr:toUserId: ]
    +-[ LocalUDPDataSender sendKeepAlive ]
    -[ ProtocalQoS4ReciveProvider addRecieved: ]
    @@ -234,7 +234,7 @@

    Functions

    +[ CharsetHelper getBytesWithString: ]
    --[ LocalUDPDataSender sendCommonDataWithStr:toUserId:qos:fp: ]
    +-[ LocalUDPDataSender sendLogin:withToken: ]
    -[ ProtocalQoS4ReciveProvider addRecievedWithFingerPrint: ]
    @@ -245,7 +245,7 @@

    Functions

    +[ CharsetHelper getJSONBytesWithDictionary: ]
    --[ LocalUDPDataSender sendKeepAlive ]
    +-[ LocalUDPDataSender sendLogin:withToken:andExtra: ]
    -[ ProtocalQoS4ReciveProvider hasRecieved: ]
    @@ -256,7 +256,7 @@

    Functions

    +[ CharsetHelper getString: ]
    --[ LocalUDPDataSender sendLogin:withPassword: ]
    +-[ LocalUDPDataSender sendLoginout ]
    -[ ProtocalQoS4ReciveProvider isRunning ]
    @@ -267,7 +267,7 @@

    Functions

    +[ ChatBaseEvent onLinkCloseMessage: ]
    --[ LocalUDPDataSender sendLogin:withPassword:andExtra: ]
    +-[ LocalUDPSocketProvider closeLocalUDPSocket ]
    -[ ProtocalQoS4ReciveProvider setDebugObserver: ]
    @@ -275,10 +275,10 @@

    Functions

    -+[ ChatBaseEvent onLoginMessage:withErrorCode: ]
    ++[ ChatBaseEvent onLoginMessage: ]
    --[ LocalUDPDataSender sendLoginout ]
    +-[ LocalUDPSocketProvider getLocalUDPSocket ]
    -[ ProtocalQoS4ReciveProvider size ]
    @@ -289,7 +289,7 @@

    Functions

    +[ ChatTransDataEvent onErrorResponse:withErrorMsg: ]
    --[ LocalUDPSocketProvider closeLocalUDPSocket ]
    +-[ LocalUDPSocketProvider isLocalUDPSocketReady ]
    -[ ProtocalQoS4ReciveProvider startup: ]
    @@ -297,10 +297,10 @@

    Functions

    -+[ ChatTransDataEvent onTransBuffer:withUserId:andContent: ]
    ++[ ChatTransDataEvent onTransBuffer:withUserId:andContent:andTypeu: ]
    --[ LocalUDPSocketProvider getLocalUDPSocket ]
    +-[ LocalUDPSocketProvider resetLocalUDPSocket ]
    -[ ProtocalQoS4ReciveProvider stop ]
    @@ -311,7 +311,7 @@

    Functions

    -[ ClientCoreSDK initCore ]
    --[ LocalUDPSocketProvider isLocalUDPSocketReady ]
    +-[ LocalUDPSocketProvider setConnectionObserver: ]
    -[ ProtocalQoS4SendProvider exist: ]
    @@ -322,7 +322,7 @@

    Functions

    +[ ClientCoreSDK isAutoReLogin ]
    --[ LocalUDPSocketProvider resetLocalUDPSocket ]
    +-[ LocalUDPSocketProvider tryConnectToHost:withSocket:completion: ]
    -[ ProtocalQoS4SendProvider isRunning ]
    @@ -333,7 +333,7 @@

    Functions

    +[ ClientCoreSDK isENABLED_DEBUG ]
    --[ LocalUDPSocketProvider setConnectionObserver: ]
    ++[ MessageQoSEvent messagesBeReceived: ]
    -[ ProtocalQoS4SendProvider put: ]
    @@ -344,7 +344,7 @@

    Functions

    -[ ClientCoreSDK isInitialed ]
    --[ LocalUDPSocketProvider tryConnectToHost:withSocket:completion: ]
    ++[ MessageQoSEvent messagesLost: ]
    -[ ProtocalQoS4SendProvider remove: ]
    @@ -355,7 +355,7 @@

    Functions

    -[ ClientCoreSDK releaseCore ]
    -+[ MessageQoSEvent messagesBeReceived: ]
    +-[ NSMutableDictionary(Ext) containsKey: ]
    -[ ProtocalQoS4SendProvider setDebugObserver: ]
    @@ -366,7 +366,7 @@

    Functions

    +[ ClientCoreSDK setAutoReLogin: ]
    -+[ MessageQoSEvent messagesLost: ]
    +-[ Protocal clone ]
    -[ ProtocalQoS4SendProvider size ]
    @@ -377,7 +377,7 @@

    Functions

    +[ ClientCoreSDK setENABLED_DEBUG: ]
    --[ NSMutableDictionary(Ext) containsKey: ]
    ++[ Protocal genFingerPrint ]
    -[ ProtocalQoS4SendProvider startup: ]
    @@ -388,7 +388,7 @@

    Functions

    +[ ClientCoreSDK sharedInstance ]
    --[ Protocal clone ]
    +-[ Protocal getRetryCount ]
    -[ ProtocalQoS4SendProvider stop ]
    @@ -399,7 +399,7 @@

    Functions

    +[ ConfigEntity getServerIp ]
    -+[ Protocal genFingerPrint ]
    +-[ Protocal increaseRetryCount ]
    reachabilityForInternetConnection
    @@ -410,7 +410,7 @@

    Functions

    +[ ConfigEntity getServerPort ]
    --[ Protocal getRetryCount ]
    ++[ Protocal initWithType:content:from:to: ]
    reachabilityForLocalWiFi
    @@ -421,7 +421,7 @@

    Functions

    +[ ConfigEntity registerWithAppKey: ]
    --[ Protocal increaseRetryCount ]
    ++[ Protocal initWithType:content:from:to:qos:fp:bg:tu: ]
    reachabilityWithAddress:
    @@ -432,7 +432,7 @@

    Functions

    +[ ConfigEntity setLocalUdpSendAndListeningPort: ]
    -+[ Protocal initWithType:content:from:to: ]
    ++[ Protocal initWithType:content:from:to:qos:fp:tu: ]
    reachabilityWithHostName:
    @@ -443,7 +443,7 @@

    Functions

    +[ ConfigEntity setSenseMode: ]
    -+[ Protocal initWithType:content:from:to:qos:fp: ]
    ++[ Protocal initWithType:content:from:to:tu: ]
    startNotifier
    @@ -476,7 +476,7 @@

    Functions

    connectionRequired
    -+[ ProtocalFactory createCommonData:fromUserId:toUserId: ]
    ++[ ProtocalFactory createCommonData:fromUserId:toUserId: ]
    +[ ToolKits generateUUID ]
    @@ -487,10 +487,10 @@

    Functions

    +[ KeepAliveDaemon getKEEP_ALIVE_INTERVAL ]
    -+[ ProtocalFactory createCommonData:fromUserId:toUserId:qos: ]
    ++[ ProtocalFactory createCommonData:fromUserId:toUserId:qos:fp:withTypeu: ]
    -+[ ToolKits getTimeStampWithMillisecond ]
    ++[ ToolKits getTimeStampWithMillisecond ]
    -+[ ProtocalFactory createCommonData:fromUserId:toUserId:qos:fp: ]
    ++[ ProtocalFactory createCommonData:fromUserId:toUserId:withTypeu: ]
    +[ ToolKits getTimeStampWithMillisecond_l ]
    @@ -520,7 +520,7 @@

    Functions

    +[ KeepAliveDaemon setKEEP_ALIVE_INTERVAL: ]
    -+[ ProtocalFactory createPLoginInfo:withPsw:andExtra: ]
    ++[ ProtocalFactory createPLoginInfo:withToken:andExtra: ]
    +[ ToolKits toJSONString: ]
    @@ -531,7 +531,7 @@

    Functions

    +[ KeepAliveDaemon setNETWORK_CONNECTION_TIME_OUT: ]
    -+[ ProtocalFactory createPLoginoutInfo:withLoginName: ]
    ++[ ProtocalFactory createPLoginoutInfo: ]
    +[ ToolKits toMutableDictionary: ]
    @@ -548,6 +548,15 @@

    Functions

    +[ UDPUtils send:withData: ]
    +-[ KeepAliveDaemon stop ]
    +
    ++[ ProtocalFactory createRecivedBack:toUserId:withFingerPrint:andBridge: ]
    +
    diff --git a/docs/api_docs/client/java/allclasses-frame.html b/docs/api_docs/client/java/allclasses-frame.html index 4ef1205c..70189eb6 100755 --- a/docs/api_docs/client/java/allclasses-frame.html +++ b/docs/api_docs/client/java/allclasses-frame.html @@ -2,10 +2,10 @@ - - -所有类 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +所有类 (MobileIMSDK 3.0(Java平台) API文档) + diff --git a/docs/api_docs/client/java/allclasses-noframe.html b/docs/api_docs/client/java/allclasses-noframe.html index 80c68cf3..13475646 100755 --- a/docs/api_docs/client/java/allclasses-noframe.html +++ b/docs/api_docs/client/java/allclasses-noframe.html @@ -2,10 +2,10 @@ - - -所有类 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +所有类 (MobileIMSDK 3.0(Java平台) API文档) + diff --git a/docs/api_docs/client/java/constant-values.html b/docs/api_docs/client/java/constant-values.html index 2bf0b663..3a0355e6 100755 --- a/docs/api_docs/client/java/constant-values.html +++ b/docs/api_docs/client/java/constant-values.html @@ -2,16 +2,16 @@ - - -常量字段值 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +常量字段值 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/deprecated-list.html b/docs/api_docs/client/java/deprecated-list.html index 4ce27866..5bf4be79 100755 --- a/docs/api_docs/client/java/deprecated-list.html +++ b/docs/api_docs/client/java/deprecated-list.html @@ -2,16 +2,16 @@ - - -已过时的列表 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +已过时的列表 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/help-doc.html b/docs/api_docs/client/java/help-doc.html index fb51376f..8b33636c 100755 --- a/docs/api_docs/client/java/help-doc.html +++ b/docs/api_docs/client/java/help-doc.html @@ -2,16 +2,16 @@ - - -API 帮助 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +API 帮助 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/index-files/index-1.html b/docs/api_docs/client/java/index-files/index-1.html index cc511494..3cf0ff4e 100755 --- a/docs/api_docs/client/java/index-files/index-1.html +++ b/docs/api_docs/client/java/index-files/index-1.html @@ -2,16 +2,16 @@ - - -A - 索引 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +A - 索引 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/index-files/index-10.html b/docs/api_docs/client/java/index-files/index-10.html index c38ccf79..9cae1985 100755 --- a/docs/api_docs/client/java/index-files/index-10.html +++ b/docs/api_docs/client/java/index-files/index-10.html @@ -2,16 +2,16 @@ - - -L - 索引 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +L - 索引 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    @@ -147,7 +153,7 @@

    L

  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/index-files/index-11.html b/docs/api_docs/client/java/index-files/index-11.html index beebaa48..85241be8 100755 --- a/docs/api_docs/client/java/index-files/index-11.html +++ b/docs/api_docs/client/java/index-files/index-11.html @@ -2,16 +2,16 @@ - - -M - 索引 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +M - 索引 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/index-files/index-12.html b/docs/api_docs/client/java/index-files/index-12.html index 3819ccbc..9ae2e878 100755 --- a/docs/api_docs/client/java/index-files/index-12.html +++ b/docs/api_docs/client/java/index-files/index-12.html @@ -2,16 +2,16 @@ - - -N - 索引 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +N - 索引 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/index-files/index-13.html b/docs/api_docs/client/java/index-files/index-13.html index c04046a9..18e316b6 100755 --- a/docs/api_docs/client/java/index-files/index-13.html +++ b/docs/api_docs/client/java/index-files/index-13.html @@ -2,16 +2,16 @@ - - -O - 索引 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +O - 索引 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/index-files/index-14.html b/docs/api_docs/client/java/index-files/index-14.html index 886fe7e1..de7dd663 100755 --- a/docs/api_docs/client/java/index-files/index-14.html +++ b/docs/api_docs/client/java/index-files/index-14.html @@ -2,16 +2,16 @@ - - -P - 索引 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +P - 索引 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/index-files/index-15.html b/docs/api_docs/client/java/index-files/index-15.html index 77dd107a..c3e8879b 100755 --- a/docs/api_docs/client/java/index-files/index-15.html +++ b/docs/api_docs/client/java/index-files/index-15.html @@ -2,16 +2,16 @@ - - -Q - 索引 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +Q - 索引 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    @@ -101,7 +101,7 @@

    Q

  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/index-files/index-16.html b/docs/api_docs/client/java/index-files/index-16.html index 62e949e0..5b0de275 100755 --- a/docs/api_docs/client/java/index-files/index-16.html +++ b/docs/api_docs/client/java/index-files/index-16.html @@ -2,16 +2,16 @@ - - -R - 索引 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +R - 索引 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/index-files/index-17.html b/docs/api_docs/client/java/index-files/index-17.html index 096f6255..4d9be3f1 100755 --- a/docs/api_docs/client/java/index-files/index-17.html +++ b/docs/api_docs/client/java/index-files/index-17.html @@ -2,16 +2,16 @@ - - -S - 索引 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +S - 索引 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/index-files/index-18.html b/docs/api_docs/client/java/index-files/index-18.html index 6fd4878e..ad7cd4a4 100755 --- a/docs/api_docs/client/java/index-files/index-18.html +++ b/docs/api_docs/client/java/index-files/index-18.html @@ -2,16 +2,16 @@ - - -U - 索引 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +U - 索引 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/index-files/index-19.html b/docs/api_docs/client/java/index-files/index-19.html index b9c55503..6dccf061 100755 --- a/docs/api_docs/client/java/index-files/index-19.html +++ b/docs/api_docs/client/java/index-files/index-19.html @@ -2,16 +2,16 @@ - - -V - 索引 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +V - 索引 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/index-files/index-2.html b/docs/api_docs/client/java/index-files/index-2.html index 78983eaf..d0e3c41d 100755 --- a/docs/api_docs/client/java/index-files/index-2.html +++ b/docs/api_docs/client/java/index-files/index-2.html @@ -2,16 +2,16 @@ - - -C - 索引 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +C - 索引 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/index-files/index-20.html b/docs/api_docs/client/java/index-files/index-20.html index df6a74cb..b15214a7 100755 --- a/docs/api_docs/client/java/index-files/index-20.html +++ b/docs/api_docs/client/java/index-files/index-20.html @@ -2,16 +2,16 @@ - - -W - 索引 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +W - 索引 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/index-files/index-3.html b/docs/api_docs/client/java/index-files/index-3.html index d699991e..38ed06e9 100755 --- a/docs/api_docs/client/java/index-files/index-3.html +++ b/docs/api_docs/client/java/index-files/index-3.html @@ -2,16 +2,16 @@ - - -D - 索引 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +D - 索引 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/index-files/index-4.html b/docs/api_docs/client/java/index-files/index-4.html index edcbd5d1..7b1a68e7 100755 --- a/docs/api_docs/client/java/index-files/index-4.html +++ b/docs/api_docs/client/java/index-files/index-4.html @@ -2,16 +2,16 @@ - - -E - 索引 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +E - 索引 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/index-files/index-5.html b/docs/api_docs/client/java/index-files/index-5.html index efcf549b..347f465a 100755 --- a/docs/api_docs/client/java/index-files/index-5.html +++ b/docs/api_docs/client/java/index-files/index-5.html @@ -2,16 +2,16 @@ - - -F - 索引 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +F - 索引 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/index-files/index-6.html b/docs/api_docs/client/java/index-files/index-6.html index bbde7adc..133ce70d 100755 --- a/docs/api_docs/client/java/index-files/index-6.html +++ b/docs/api_docs/client/java/index-files/index-6.html @@ -2,16 +2,16 @@ - - -G - 索引 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +G - 索引 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/index-files/index-7.html b/docs/api_docs/client/java/index-files/index-7.html index 6a55ba87..09cb540e 100755 --- a/docs/api_docs/client/java/index-files/index-7.html +++ b/docs/api_docs/client/java/index-files/index-7.html @@ -2,16 +2,16 @@ - - -H - 索引 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +H - 索引 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/index-files/index-8.html b/docs/api_docs/client/java/index-files/index-8.html index 8e551dff..45fd8737 100755 --- a/docs/api_docs/client/java/index-files/index-8.html +++ b/docs/api_docs/client/java/index-files/index-8.html @@ -2,16 +2,16 @@ - - -I - 索引 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +I - 索引 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/index-files/index-9.html b/docs/api_docs/client/java/index-files/index-9.html index 2aab918c..68fd73ed 100755 --- a/docs/api_docs/client/java/index-files/index-9.html +++ b/docs/api_docs/client/java/index-files/index-9.html @@ -2,16 +2,16 @@ - - -K - 索引 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +K - 索引 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/index.html b/docs/api_docs/client/java/index.html index b35fae0c..57466665 100755 --- a/docs/api_docs/client/java/index.html +++ b/docs/api_docs/client/java/index.html @@ -2,9 +2,9 @@ - - -MobileIMSDK 2.1.6(Java平台) API文档 + + +MobileIMSDK 3.0(Java平台) API文档 @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/class-use/ClientCoreSDK.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/class-use/ClientCoreSDK.html index c1231263..791618a6 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/class-use/ClientCoreSDK.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/class-use/ClientCoreSDK.html @@ -2,16 +2,16 @@ - - -类 net.openmob.mobileimsdk.java.ClientCoreSDK的使用 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +类 net.openmob.mobileimsdk.java.ClientCoreSDK的使用 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/conf/ConfigEntity.SenseMode.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/conf/ConfigEntity.SenseMode.html index 49385269..491a3e4c 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/conf/ConfigEntity.SenseMode.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/conf/ConfigEntity.SenseMode.html @@ -2,16 +2,16 @@ - - -ConfigEntity.SenseMode (MobileIMSDK 2.1.6(Java平台) API文档) - + + +ConfigEntity.SenseMode (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -
    返回:
    按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
    +
    返回:
    按照声明该枚举类型的常量的顺序, 返回 +包含这些常量的数组
    @@ -333,8 +334,9 @@

    valueOf

    参数:
    name - 要返回的枚举常量的名称。
    返回:
    返回带有指定名称的枚举常量
    抛出:
    -
    java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量
    -
    java.lang.NullPointerException - 如果参数为空值
    +
    java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量, +则抛出 IllegalArgumentException
    +
    java.lang.NullPointerException - 如果参数为空值, 则抛出 NullPointerException
    @@ -360,7 +362,7 @@

    valueOf

  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/conf/ConfigEntity.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/conf/ConfigEntity.html index 9df508d6..7a0a139c 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/conf/ConfigEntity.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/conf/ConfigEntity.html @@ -2,16 +2,16 @@ - - -ConfigEntity (MobileIMSDK 2.1.6(Java平台) API文档) - + + +ConfigEntity (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/conf/class-use/ConfigEntity.SenseMode.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/conf/class-use/ConfigEntity.SenseMode.html index 2fe9a9b0..7a84ef53 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/conf/class-use/ConfigEntity.SenseMode.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/conf/class-use/ConfigEntity.SenseMode.html @@ -2,16 +2,16 @@ - - -类 net.openmob.mobileimsdk.java.conf.ConfigEntity.SenseMode的使用 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +类 net.openmob.mobileimsdk.java.conf.ConfigEntity.SenseMode的使用 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/conf/package-tree.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/conf/package-tree.html index f0ee0f6a..b793c81e 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/conf/package-tree.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/conf/package-tree.html @@ -2,16 +2,16 @@ - - -net.openmob.mobileimsdk.java.conf 类分层结构 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +net.openmob.mobileimsdk.java.conf 类分层结构 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/conf/package-use.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/conf/package-use.html index c7fcfa91..dacb2824 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/conf/package-use.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/conf/package-use.html @@ -2,16 +2,16 @@ - - -程序包 net.openmob.mobileimsdk.java.conf的使用 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +程序包 net.openmob.mobileimsdk.java.conf的使用 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/AutoReLoginDaemon.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/AutoReLoginDaemon.html index 0ed4ffc3..e9aaaaf6 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/AutoReLoginDaemon.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/AutoReLoginDaemon.html @@ -2,16 +2,16 @@ - - -AutoReLoginDaemon (MobileIMSDK 2.1.6(Java平台) API文档) - + + +AutoReLoginDaemon (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/KeepAliveDaemon.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/KeepAliveDaemon.html index f8451593..5c7220ea 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/KeepAliveDaemon.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/KeepAliveDaemon.html @@ -2,16 +2,16 @@ - - -KeepAliveDaemon (MobileIMSDK 2.1.6(Java平台) API文档) - + + +KeepAliveDaemon (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/LocalUDPDataReciever.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/LocalUDPDataReciever.html index 2508d4f2..58fad5ea 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/LocalUDPDataReciever.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/LocalUDPDataReciever.html @@ -2,16 +2,16 @@ - - -LocalUDPDataReciever (MobileIMSDK 2.1.6(Java平台) API文档) - + + +LocalUDPDataReciever (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/LocalUDPDataSender.SendCommonDataAsync.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/LocalUDPDataSender.SendCommonDataAsync.html index 2cef7e11..33c1f310 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/LocalUDPDataSender.SendCommonDataAsync.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/LocalUDPDataSender.SendCommonDataAsync.html @@ -2,16 +2,16 @@ - - -LocalUDPDataSender.SendCommonDataAsync (MobileIMSDK 2.1.6(Java平台) API文档) - + + +LocalUDPDataSender.SendCommonDataAsync (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    作者:
    Jack Jiang
    -
    另请参阅:
    ProtocalFactory.createCommonData(String, int, int, boolean, String), -ProtocalFactory.createCommonData(String, int, int), +
    另请参阅:
    ProtocalFactory.createCommonData(String, String, String, boolean, String, int), LocalUDPDataSender.sendCommonData(Protocal)
    @@ -176,27 +175,30 @@

    构造器概要

    构造器和说明 -LocalUDPDataSender.SendCommonDataAsync(byte[] dataContent, - int dataLen, - int to_user_id)  +LocalUDPDataSender.SendCommonDataAsync(net.openmob.mobileimsdk.server.protocal.Protocal p) +
    构造方法。
    + -LocalUDPDataSender.SendCommonDataAsync(net.openmob.mobileimsdk.server.protocal.Protocal p)  +LocalUDPDataSender.SendCommonDataAsync(java.lang.String dataContentWidthStr, + java.lang.String to_user_id) +
    (默认QoS=true、typeu值=-1)
    + -LocalUDPDataSender.SendCommonDataAsync(java.lang.String dataContentWidthStr, - int to_user_id)  +LocalUDPDataSender.SendCommonDataAsync(java.lang.String dataContentWidthStr, + java.lang.String to_user_id, + int typeu) +
    (默认QoS=true)
    + -LocalUDPDataSender.SendCommonDataAsync(java.lang.String dataContentWidthStr, - int to_user_id, - boolean QoS)  - - -LocalUDPDataSender.SendCommonDataAsync(java.lang.String dataContentWidthStr, - int to_user_id, - boolean QoS, - java.lang.String fingerPrint)  +LocalUDPDataSender.SendCommonDataAsync(java.lang.String dataContentWidthStr, + java.lang.String to_user_id, + java.lang.String fingerPrint, + int typeu) +
    (默认QoS=true)
    + @@ -271,48 +273,43 @@

    p

    构造器详细资料

    - - - -
      -
    • -

      LocalUDPDataSender.SendCommonDataAsync

      -
      public LocalUDPDataSender.SendCommonDataAsync(byte[] dataContent,
      -                                      int dataLen,
      -                                      int to_user_id)
      -
    • -
    - +
    • LocalUDPDataSender.SendCommonDataAsync

      public LocalUDPDataSender.SendCommonDataAsync(java.lang.String dataContentWidthStr,
      -                                      int to_user_id,
      -                                      boolean QoS)
      + java.lang.String to_user_id) +
      (默认QoS=true、typeu值=-1)
      +
      参数:
      context -
      dataContentWidthStr -
      to_user_id -
    - +
    • LocalUDPDataSender.SendCommonDataAsync

      public LocalUDPDataSender.SendCommonDataAsync(java.lang.String dataContentWidthStr,
      -                                      int to_user_id,
      -                                      boolean QoS,
      -                                      java.lang.String fingerPrint)
      + java.lang.String to_user_id, + int typeu) +
      (默认QoS=true)
      +
      参数:
      context -
      dataContentWidthStr -
      to_user_id -
      typeu -
    - +
    • LocalUDPDataSender.SendCommonDataAsync

      public LocalUDPDataSender.SendCommonDataAsync(java.lang.String dataContentWidthStr,
      -                                      int to_user_id)
      + java.lang.String to_user_id, + java.lang.String fingerPrint, + int typeu) +
      (默认QoS=true)
      +
      参数:
      context -
      dataContentWidthStr -
      to_user_id -
      fingerPrint -
      typeu -
    @@ -322,6 +319,8 @@

    LocalUDPDataSender.SendCommonDataAsync

  • LocalUDPDataSender.SendCommonDataAsync

    public LocalUDPDataSender.SendCommonDataAsync(net.openmob.mobileimsdk.server.protocal.Protocal p)
    +
    构造方法。
    +
    参数:
    p -
  • @@ -390,7 +389,7 @@

    onPostExecute

  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/LocalUDPDataSender.SendLoginDataAsync.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/LocalUDPDataSender.SendLoginDataAsync.html index aa2c0880..83d688a9 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/LocalUDPDataSender.SendLoginDataAsync.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/LocalUDPDataSender.SendLoginDataAsync.html @@ -2,16 +2,16 @@ - - -LocalUDPDataSender.SendLoginDataAsync (MobileIMSDK 2.1.6(Java平台) API文档) - + + +LocalUDPDataSender.SendLoginDataAsync (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/LocalUDPDataSender.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/LocalUDPDataSender.html index a113b877..3a182ef5 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/LocalUDPDataSender.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/LocalUDPDataSender.html @@ -2,16 +2,16 @@ - - -LocalUDPDataSender (MobileIMSDK 2.1.6(Java平台) API文档) - + + +LocalUDPDataSender (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -
    返回:
    0表示数据发出成功,否则返回的是错误码
    另请参阅:
    send(byte[], int)
    +
    返回:
    0表示数据发出成功,否则返回的是错误码
    另请参阅:
    send(byte[], int)
    - +
    • sendCommonData

      -
      public int sendCommonData(byte[] dataContent,
      -                 int dataLen,
      -                 int to_user_id)
      -
      通用数据发送方法(默认不需要Qos支持)。
      -
      参数:
      dataContent - byte数组组织的数据内容
      dataLen - byte数组长度
      to_user_id - 要发送到的目标用户id
      -
      返回:
      0表示数据发出成功,否则返回的是错误码
      另请参阅:
      sendCommonData(String, int, boolean, String)
      +
      public int sendCommonData(java.lang.String dataContentWidthStr,
      +                 java.lang.String to_user_id)
      +
      通用数据发送方法(默认Qos=true、typeu字段=-1)。
      +
      参数:
      dataContentWidthStr - 要发送的数据内容(字符串方式组织)
      to_user_id - 要发送到的目标用户id
      +
      返回:
      0表示数据发出成功,否则返回的是错误码
      另请参阅:
      sendCommonData(String, String, int)
    - +
    • sendCommonData

      -
      public int sendCommonData(byte[] dataContent,
      -                 int dataLen,
      -                 int to_user_id,
      -                 boolean QoS,
      -                 java.lang.String fingerPrint)
      -
      通用数据发送方法。
      -
      参数:
      dataContent - byte数组组织的数据内容
      dataLen - byte数组长度
      to_user_id - 要发送到的目标用户id
      QoS - true表示需QoS机制支持,不则不需要
      fingerPrint - QoS机制中要用到的指纹码(即消息包唯一id),可设为null,生成方法见 Protocal.genFingerPrint()
      -
      返回:
      0表示数据发出成功,否则返回的是错误码
      另请参阅:
      sendCommonData(String, int, boolean, String)
      +
      public int sendCommonData(java.lang.String dataContentWidthStr,
      +                 java.lang.String to_user_id,
      +                 int typeu)
      +
      通用数据发送方法(默认Qos=true)。
      +
      参数:
      dataContentWidthStr - 要发送的数据内容(字符串方式组织)
      to_user_id - 要发送到的目标用户id
      typeu - 应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型。注意:此值为-1时表示未定义。 + MobileIMSDK_X框架中,本字段为保留字段,不参与框架的核心算法,专留作应用层自行定义和使用。
      +
      返回:
      0表示数据发出成功,否则返回的是错误码
      另请参阅:
      sendCommonData(String, String, String, int)
    - +
    • sendCommonData

      public int sendCommonData(java.lang.String dataContentWidthStr,
      -                 int to_user_id)
      -
      通用数据发送方法(默认不需要Qos支持)。
      -
      参数:
      dataContentWidthStr - 要发送的数据内容(字符串方式组织)
      to_user_id - 要发送到的目标用户id
      -
      返回:
      0表示数据发出成功,否则返回的是错误码
      另请参阅:
      sendCommonData(Protocal), -DataFactoryC#createCommonData(String, int, int)
      + java.lang.String to_user_id, + java.lang.String fingerPrint, + int typeu) +
      通用数据发送方法(默认QoS=true,即需要QoS机制支持)。
      +
      参数:
      dataContentWidthStr - 要发送的数据内容(字符串方式组织)
      to_user_id - 要发送到的目标用户id
      fingerPrint - QoS机制中要用到的指纹码(即消息包唯一id),可设为null,生成方法见 Protocal.genFingerPrint()
      typeu - 应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型。注意:此值为-1时表示未定义。 + MobileIMSDK_X框架中,本字段为保留字段,不参与框架的核心算法,专留作应用层自行定义和使用。
      +
      返回:
      0表示数据发出成功,否则返回的是错误码
      另请参阅:
      sendCommonData(String, String, boolean, String, int)
    - +
    • sendCommonData

      public int sendCommonData(java.lang.String dataContentWidthStr,
      -                 int to_user_id,
      +                 java.lang.String to_user_id,
                        boolean QoS,
      -                 java.lang.String fingerPrint)
      + java.lang.String fingerPrint, + int typeu)
      通用数据发送方法。
      -
      参数:
      dataContentWidthStr - 要发送的数据内容(字符串方式组织)
      to_user_id - 要发送到的目标用户id
      QoS - true表示需QoS机制支持,不则不需要
      fingerPrint - QoS机制中要用到的指纹码(即消息包唯一id),可设为null,生成方法见 Protocal.genFingerPrint()
      +
      参数:
      dataContentWidthStr - 要发送的数据内容(字符串方式组织)
      to_user_id - 要发送到的目标用户id
      QoS - true表示需QoS机制支持,不则不需要
      fingerPrint - QoS机制中要用到的指纹码(即消息包唯一id),可设为null,生成方法见 Protocal.genFingerPrint()
      typeu - 应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型。注意:此值为-1时表示未定义。 + MobileIMSDK_X框架中,本字段为保留字段,不参与框架的核心算法,专留作应用层自行定义和使用。
      返回:
      0表示数据发出成功,否则返回的是错误码
      另请参阅:
      sendCommonData(Protocal), -DataFactoryC#createCommonData(String, int, int, boolean, String)
      +DataFactoryC#createCommonData(String, String, String, boolean, String, int)
    @@ -320,7 +322,7 @@

    sendCommonData

    public int sendCommonData(net.openmob.mobileimsdk.server.protocal.Protocal p)
    通用数据发送的根方法。
    参数:
    p - 要发送的内容(MobileIMSDK框架的“协议”DTO对象组织形式)
    -
    返回:
    0表示数据发出成功,否则返回的是错误码
    另请参阅:
    send(byte[], int)
    +
    返回:
    0表示数据发出成功,否则返回的是错误码
    另请参阅:
    send(byte[], int)
    @@ -346,7 +348,7 @@

    sendCommonData

  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/LocalUDPSocketProvider.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/LocalUDPSocketProvider.html index ba699975..f6a1c0ff 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/LocalUDPSocketProvider.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/LocalUDPSocketProvider.html @@ -2,16 +2,16 @@ - - -LocalUDPSocketProvider (MobileIMSDK 2.1.6(Java平台) API文档) - + + +LocalUDPSocketProvider (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/QoS4ReciveDaemon.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/QoS4ReciveDaemon.html index 7679bf23..dec2b14c 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/QoS4ReciveDaemon.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/QoS4ReciveDaemon.html @@ -2,16 +2,16 @@ - - -QoS4ReciveDaemon (MobileIMSDK 2.1.6(Java平台) API文档) - + + +QoS4ReciveDaemon (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/QoS4SendDaemon.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/QoS4SendDaemon.html index 9e234811..64fd8c29 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/QoS4SendDaemon.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/QoS4SendDaemon.html @@ -2,16 +2,16 @@ - - -QoS4SendDaemon (MobileIMSDK 2.1.6(Java平台) API文档) - + + +QoS4SendDaemon (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/class-use/AutoReLoginDaemon.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/class-use/AutoReLoginDaemon.html index 3b6fd345..2f679f5a 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/class-use/AutoReLoginDaemon.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/class-use/AutoReLoginDaemon.html @@ -2,16 +2,16 @@ - - -类 net.openmob.mobileimsdk.java.core.AutoReLoginDaemon的使用 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +类 net.openmob.mobileimsdk.java.core.AutoReLoginDaemon的使用 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/package-tree.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/package-tree.html index 7c5a673c..28e8c9a6 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/package-tree.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/package-tree.html @@ -2,16 +2,16 @@ - - -net.openmob.mobileimsdk.java.core 类分层结构 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +net.openmob.mobileimsdk.java.core 类分层结构 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/package-use.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/package-use.html index dab46681..3ada23e2 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/package-use.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/core/package-use.html @@ -2,16 +2,16 @@ - - -程序包 net.openmob.mobileimsdk.java.core的使用 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +程序包 net.openmob.mobileimsdk.java.core的使用 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/event/ChatBaseEvent.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/event/ChatBaseEvent.html index f3ad0ec3..102143e5 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/event/ChatBaseEvent.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/event/ChatBaseEvent.html @@ -2,16 +2,16 @@ - - -ChatBaseEvent (MobileIMSDK 2.1.6(Java平台) API文档) - + + +ChatBaseEvent (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/event/ChatTransDataEvent.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/event/ChatTransDataEvent.html index b631f56b..485f12a0 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/event/ChatTransDataEvent.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/event/ChatTransDataEvent.html @@ -2,16 +2,16 @@ - - -ChatTransDataEvent (MobileIMSDK 2.1.6(Java平台) API文档) - + + +ChatTransDataEvent (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/event/MessageQoSEvent.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/event/MessageQoSEvent.html index 6a041fe1..448864d0 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/event/MessageQoSEvent.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/event/MessageQoSEvent.html @@ -2,16 +2,16 @@ - - -MessageQoSEvent (MobileIMSDK 2.1.6(Java平台) API文档) - + + +MessageQoSEvent (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/event/class-use/ChatBaseEvent.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/event/class-use/ChatBaseEvent.html index b560f27b..a8239350 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/event/class-use/ChatBaseEvent.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/event/class-use/ChatBaseEvent.html @@ -2,16 +2,16 @@ - - -接口 net.openmob.mobileimsdk.java.event.ChatBaseEvent的使用 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +接口 net.openmob.mobileimsdk.java.event.ChatBaseEvent的使用 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/event/package-tree.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/event/package-tree.html index b807c5fc..5b5e2259 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/event/package-tree.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/event/package-tree.html @@ -2,16 +2,16 @@ - - -net.openmob.mobileimsdk.java.event 类分层结构 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +net.openmob.mobileimsdk.java.event 类分层结构 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/event/package-use.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/event/package-use.html index 09fa6074..b6375c75 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/event/package-use.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/event/package-use.html @@ -2,16 +2,16 @@ - - -程序包 net.openmob.mobileimsdk.java.event的使用 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +程序包 net.openmob.mobileimsdk.java.event的使用 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/package-frame.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/package-frame.html index 8f6700c0..d29e02e7 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/package-frame.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/package-frame.html @@ -2,10 +2,10 @@ - - -net.openmob.mobileimsdk.java (MobileIMSDK 2.1.6(Java平台) API文档) - + + +net.openmob.mobileimsdk.java (MobileIMSDK 3.0(Java平台) API文档) + diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/package-summary.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/package-summary.html index d1e6726b..f5007f0f 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/package-summary.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/package-summary.html @@ -2,16 +2,16 @@ - - -net.openmob.mobileimsdk.java (MobileIMSDK 2.1.6(Java平台) API文档) - + + +net.openmob.mobileimsdk.java (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/package-tree.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/package-tree.html index c51c8f4b..873df89a 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/package-tree.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/package-tree.html @@ -2,16 +2,16 @@ - - -net.openmob.mobileimsdk.java 类分层结构 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +net.openmob.mobileimsdk.java 类分层结构 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/package-use.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/package-use.html index 6c157a02..a5814729 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/package-use.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/package-use.html @@ -2,16 +2,16 @@ - - -程序包 net.openmob.mobileimsdk.java的使用 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +程序包 net.openmob.mobileimsdk.java的使用 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/utils/Log.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/utils/Log.html index a8131499..06fb9363 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/utils/Log.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/utils/Log.html @@ -2,16 +2,16 @@ - - -Log (MobileIMSDK 2.1.6(Java平台) API文档) - + + +Log (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/utils/UDPUtils.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/utils/UDPUtils.html index f4173f5c..5654d7ac 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/utils/UDPUtils.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/utils/UDPUtils.html @@ -2,16 +2,16 @@ - - -UDPUtils (MobileIMSDK 2.1.6(Java平台) API文档) - + + +UDPUtils (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    参数:
    skt - DatagramSocket对象引用
    d - 要发送的比特数组
    dataLen - 比特数组长长矛
    -
    返回:
    true表示成功发出,否则表示发送失败
    另请参阅:
    send(DatagramSocket, DatagramPacket)
    +
    返回:
    true表示成功发出,否则表示发送失败
    另请参阅:
    send(DatagramSocket, DatagramPacket)
    @@ -250,7 +250,7 @@

    send

  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/utils/class-use/Log.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/utils/class-use/Log.html index 89fad3ca..90c6c30e 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/utils/class-use/Log.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/utils/class-use/Log.html @@ -2,16 +2,16 @@ - - -类 net.openmob.mobileimsdk.java.utils.Log的使用 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +类 net.openmob.mobileimsdk.java.utils.Log的使用 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/utils/package-tree.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/utils/package-tree.html index 98102d09..c0773fe9 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/utils/package-tree.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/utils/package-tree.html @@ -2,16 +2,16 @@ - - -net.openmob.mobileimsdk.java.utils 类分层结构 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +net.openmob.mobileimsdk.java.utils 类分层结构 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/utils/package-use.html b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/utils/package-use.html index f1dbe103..1e470df8 100755 --- a/docs/api_docs/client/java/net/openmob/mobileimsdk/java/utils/package-use.html +++ b/docs/api_docs/client/java/net/openmob/mobileimsdk/java/utils/package-use.html @@ -2,16 +2,16 @@ - - -程序包 net.openmob.mobileimsdk.java.utils的使用 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +程序包 net.openmob.mobileimsdk.java.utils的使用 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/overview-frame.html b/docs/api_docs/client/java/overview-frame.html index 2aee329d..296b584c 100755 --- a/docs/api_docs/client/java/overview-frame.html +++ b/docs/api_docs/client/java/overview-frame.html @@ -2,14 +2,14 @@ - - -概览列表 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +概览列表 (MobileIMSDK 3.0(Java平台) API文档) + -

    MobileIMSDK4j 2.1(build 2016/02/20)

    +

    MobileIMSDK4j 3.0(build 2017/06/26)

    程序包

    diff --git a/docs/api_docs/client/java/overview-summary.html b/docs/api_docs/client/java/overview-summary.html index 7a3cc6df..ab5dd629 100755 --- a/docs/api_docs/client/java/overview-summary.html +++ b/docs/api_docs/client/java/overview-summary.html @@ -2,16 +2,16 @@ - - -概览 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +概览 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    欢迎使用,MobileIMSDK 2.1.6(Java平台) API文档!

    +

    欢迎使用,MobileIMSDK 3.0(Java平台) API文档!

    @@ -124,7 +124,7 @@

    欢迎使用,MobileIMSDK 2.1.6(Java平台) API文档!

  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/client/java/overview-tree.html b/docs/api_docs/client/java/overview-tree.html index ef03d9de..0b2ca7ed 100755 --- a/docs/api_docs/client/java/overview-tree.html +++ b/docs/api_docs/client/java/overview-tree.html @@ -2,16 +2,16 @@ - - -类分层结构 (MobileIMSDK 2.1.6(Java平台) API文档) - + + +类分层结构 (MobileIMSDK 3.0(Java平台) API文档) + @@ -34,7 +34,7 @@
  • 索引
  • 帮助
  • -
    MobileIMSDK4j 2.1(build 2016/02/20)
    +
    MobileIMSDK4j 3.0(build 2017/06/26)
    -

    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    +

    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.

    diff --git a/docs/api_docs/server/allclasses-frame.html b/docs/api_docs/server/allclasses-frame.html index 7e1da10c..909fd471 100755 --- a/docs/api_docs/server/allclasses-frame.html +++ b/docs/api_docs/server/allclasses-frame.html @@ -2,13 +2,13 @@ - + -所有类 (MobileIMSDK 2.1.6(Server端) API文档) +所有类 (MobileIMSDK 3.0(Server端) API文档) - + @@ -22,7 +22,9 @@
    - diff --git a/docs/api_docs/server/allclasses-noframe.html b/docs/api_docs/server/allclasses-noframe.html index aa066f54..afa380f5 100755 --- a/docs/api_docs/server/allclasses-noframe.html +++ b/docs/api_docs/server/allclasses-noframe.html @@ -2,13 +2,13 @@ - + -所有类 (MobileIMSDK 2.1.6(Server端) API文档) +所有类 (MobileIMSDK 3.0(Server端) API文档) - + @@ -22,7 +22,9 @@
    CharsetHelper +BridgeProcessor +
    +CharsetHelper
    ErrorCode
    @@ -30,8 +32,18 @@
    ErrorCode.ForS
    +GlobalSendHelper +
    +LocalSendHelper +
    +LogicProcessor +
    MessageQoSEventListenerS2C
    +MQProvider +
    +OnlineProcessor +
    PErrorResponse
    PKeepAlive @@ -52,8 +64,16 @@
    ProtocalType.S
    +QoS4ReciveDaemonC2B +
    QoS4ReciveDaemonC2S
    +QoS4ReciveDaemonRoot +
    +QoS4SendDaemonB2C +
    +QoS4SendDaemonRoot +
    QoS4SendDaemonS2C
    ServerCoreHandler @@ -62,9 +82,9 @@
    ServerLauncher
    -ServerLauncher.SenseMode +ServerToolKits
    -UserProcessor +ServerToolKits.SenseMode
    - diff --git a/docs/api_docs/server/constant-values.html b/docs/api_docs/server/constant-values.html index 6d36c80e..754a97d5 100755 --- a/docs/api_docs/server/constant-values.html +++ b/docs/api_docs/server/constant-values.html @@ -2,13 +2,13 @@ - + -常量字段值 (MobileIMSDK 2.1.6(Server端) API文档) +常量字段值 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="常量字段值 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="常量字段值 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@
    CharsetHelper +BridgeProcessor +
    +CharsetHelper
    ErrorCode
    @@ -30,8 +32,18 @@
    ErrorCode.ForS
    +GlobalSendHelper +
    +LocalSendHelper +
    +LogicProcessor +
    MessageQoSEventListenerS2C
    +MQProvider +
    +OnlineProcessor +
    PErrorResponse
    PKeepAlive @@ -52,8 +64,16 @@
    ProtocalType.S
    +QoS4ReciveDaemonC2B +
    QoS4ReciveDaemonC2S
    +QoS4ReciveDaemonRoot +
    +QoS4SendDaemonB2C +
    +QoS4SendDaemonRoot +
    QoS4SendDaemonS2C
    ServerCoreHandler @@ -62,9 +82,9 @@
    ServerLauncher
    -ServerLauncher.SenseMode +ServerToolKits
    -UserProcessor +ServerToolKits.SenseMode
    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -86,9 +86,43 @@


    目录 + + + + + +
    +net.nettime.*
    + +

    + + + + + + + + + + + + + + + + + +
    net.nettime.mobileimsdk.server.bridge.MQProvider
    +public static final java.lang.StringDEFAULT_DECODE_CHARSET"UTF-8"
    +public static final java.lang.StringDEFAULT_ENCODE_CHARSET"UTF-8"
    + +

    + +

    @@ -101,18 +135,30 @@

    - + - - - + + + + + +
    net.openmob.mobileimsdk.server.processor.UserProcessornet.openmob.mobileimsdk.server.processor.BridgeProcessor
    + public static final java.lang.StringLOGIN_NAME_IN_SESSION_ATTRIBUTE"__login_name__"IMMQ_DECODE_CHARSET"UTF-8"
    + +

    + +

    + + + + - - + @@ -331,60 +377,6 @@

    -

    - -

    net.openmob.mobileimsdk.server.processor.OnlineProcessor
    + public static final java.lang.StringUSER_ID_IN_SESSION_ATTRIBUTEUSER_ID_IN_SESSION_ATTRIBUTE "__user_id__"
    - - - - - - - - - - - - - - - -
    net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonC2S
    -public static final intCHECH_INTERVAL300000
    -public static final intMESSAGES_VALID_TIME600000
    - -

    - -

    - - - - - - - - - - - - - - - - - - - - - - -
    net.openmob.mobileimsdk.server.qos.QoS4SendDaemonS2C
    -public static final intCHECH_INTERVAL5000
    -public static final intMESSAGES_JUST$NOW_TIME2000
    -public static final intQOS_TRY_COUNT1
    - -

    -


    @@ -410,7 +402,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -440,6 +432,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/deprecated-list.html b/docs/api_docs/server/deprecated-list.html index 3b24d4d8..2e407789 100755 --- a/docs/api_docs/server/deprecated-list.html +++ b/docs/api_docs/server/deprecated-list.html @@ -2,13 +2,13 @@ - + -已过时项目列表 (MobileIMSDK 2.1.6(Server端) API文档) +已过时项目列表 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="已过时项目列表 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="已过时项目列表 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -86,28 +86,8 @@


    目录 - - - - - - - - - - - -
    -已过时的方法
    net.openmob.mobileimsdk.server.processor.UserProcessor.getId(IoSession) -
    -          因存在可能的性能风险,本方法已由 UserProcessor.getUserIdFromSession(IoSession) 替代。 
    net.openmob.mobileimsdk.server.processor.UserProcessor.removeUser(IoSession) -
    -          因存在可能的性能风险,本方法已由 UserProcessor.removeUser(int) 替代。 
    -  -


    @@ -132,7 +112,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -162,6 +142,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/help-doc.html b/docs/api_docs/server/help-doc.html index 5f13d376..a52ff687 100755 --- a/docs/api_docs/server/help-doc.html +++ b/docs/api_docs/server/help-doc.html @@ -2,13 +2,13 @@ - + -API 帮助 (MobileIMSDK 2.1.6(Server端) API文档) +API 帮助 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="API 帮助 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="API 帮助 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -189,7 +189,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -219,6 +219,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/index-files/index-1.html b/docs/api_docs/server/index-files/index-1.html index b5cdfb68..751367c2 100755 --- a/docs/api_docs/server/index-files/index-1.html +++ b/docs/api_docs/server/index-files/index-1.html @@ -2,13 +2,13 @@ - + -A - 索引 (MobileIMSDK 2.1.6(Server端) API文档) +A - 索引 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="A - 索引 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="A - 索引 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -79,18 +79,15 @@ -A B C D E F G H I L M N O P Q R S T U V _
    +A B C D E F G H I L M N O P Q R S T U V W _

    A

    -
    actionPerformed(ActionEvent) - -类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonC2S 中的方法 -
      -
    addRecieved(Protocal) - -类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonC2S 中的方法 +
    addRecieved(Protocal) - +类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonRoot 中的方法
    向列表中加入一个包的特征指纹。 -
    addRecieved(String) - -类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonC2S 中的方法 +
    addRecieved(String) - +类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonRoot 中的方法
    向列表中加入一个包的特征指纹。
    appKey - 类 net.openmob.mobileimsdk.server.ServerLauncher 中的静态变量 @@ -120,7 +117,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -149,7 +146,7 @@ -A B C D E F G H I L M N O P Q R S T U V _
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +A B C D E F G H I L M N O P Q R S T U V W _
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/index-files/index-10.html b/docs/api_docs/server/index-files/index-10.html index af777ea9..9ed3a2f5 100755 --- a/docs/api_docs/server/index-files/index-10.html +++ b/docs/api_docs/server/index-files/index-10.html @@ -2,13 +2,13 @@ - + -L - 索引 (MobileIMSDK 2.1.6(Server端) API文档) +L - 索引 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="L - 索引 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="L - 索引 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -79,16 +79,25 @@ -A B C D E F G H I L M N O P Q R S T U V _
    +A B C D E F G H I L M N O P Q R S T U V W _

    L

    +
    lazyStartupBridgeProcessor() - +类 net.openmob.mobileimsdk.server.ServerCoreHandler 中的方法 +
    单独的方法启动跨服务器通信桥接处理器,防止出现交叉引用而发生不可预知的错误。
    LOCAL_NETWORK_NOT_WORKING - 接口 net.openmob.mobileimsdk.server.protocal.ErrorCode.ForC 中的静态变量
    本地网络不可用(未打开) -
    LOGIN_NAME_IN_SESSION_ATTRIBUTE - -类 net.openmob.mobileimsdk.server.processor.UserProcessor 中的静态变量 -
    用于用户session中存放loginName的属性key +
    LocalSendHelper - net.openmob.mobileimsdk.server.utils 中的 类
    本类提供的是公开的数据发送方法(数据接收者仅限于本机在线用户)。
    LocalSendHelper() - +类 net.openmob.mobileimsdk.server.utils.LocalSendHelper 的构造方法 +
      +
    LogicProcessor - net.openmob.mobileimsdk.server.processor 中的 类
    MobileIMSDK框架的IM消息逻辑处理器。
    LogicProcessor(ServerCoreHandler) - +类 net.openmob.mobileimsdk.server.processor.LogicProcessor 的构造方法 +
      +
    logicProcessor - +类 net.openmob.mobileimsdk.server.ServerCoreHandler 中的变量 +
    IM消息逻辑处理器(真正的算法实现都在此类中处理).

    @@ -114,7 +123,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -143,7 +152,7 @@ -A B C D E F G H I L M N O P Q R S T U V _
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +A B C D E F G H I L M N O P Q R S T U V W _
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/index-files/index-11.html b/docs/api_docs/server/index-files/index-11.html index 943690fa..35591830 100755 --- a/docs/api_docs/server/index-files/index-11.html +++ b/docs/api_docs/server/index-files/index-11.html @@ -2,13 +2,13 @@ - + -M - 索引 (MobileIMSDK 2.1.6(Server端) API文档) +M - 索引 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="M - 索引 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="M - 索引 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -79,25 +79,28 @@ -A B C D E F G H I L M N O P Q R S T U V _
    +A B C D E F G H I L M N O P Q R S T U V W _

    M

    MessageQoSEventListenerS2C - net.openmob.mobileimsdk.server.event 中的 接口
    MobileIMSDK的QoS机制的Server主动消息发送之质量保证事件监听器.
    messageReceived(IoSession, Object) - 类 net.openmob.mobileimsdk.server.ServerCoreHandler 中的方法
    MINA框架中收到客户端消息的回调方法。 -
    MESSAGES_JUST$NOW_TIME - -类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonS2C 中的静态变量 -
    “刚刚”发出的消息阀值定义(单位:毫秒),默认2000毫秒。 -
    MESSAGES_VALID_TIME - -类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonC2S 中的静态变量 -
    一个消息放到在列表中(用于判定重复时使用)的生存时长(单位:毫秒),默认10分钟
    messagesBeReceived(String) - 接口 net.openmob.mobileimsdk.server.event.MessageQoSEventListenerS2C 中的方法
    消息已被对方收到的回调事件通知.
    messagesLost(ArrayList<Protocal>) - 接口 net.openmob.mobileimsdk.server.event.MessageQoSEventListenerS2C 中的方法
    消息未送达的回调事件通知. +
    MQProvider - net.nettime.mobileimsdk.server.bridge 中的 类
    一个可重用的RabbitMQ服务提供者类,可供处理一个生产者队列和一个消费者队列。
    MQProvider(String, String, String, String, boolean) - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 的构造方法 +
    新建一个MQProvider对象(使用默认字符编码)。 +
    MQProvider(String, String, String, String, String, String, boolean) - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 的构造方法 +
    新建一个MQProvider对象。 +
    mqURI - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的变量 +
    消息队列服务器连接URI,形如:“amqp://admin:123456789@192.168.1.190”

    @@ -123,7 +126,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -152,7 +155,7 @@ -A B C D E F G H I L M N O P Q R S T U V _
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +A B C D E F G H I L M N O P Q R S T U V W _
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/index-files/index-12.html b/docs/api_docs/server/index-files/index-12.html index cd1d8b44..6af4da46 100755 --- a/docs/api_docs/server/index-files/index-12.html +++ b/docs/api_docs/server/index-files/index-12.html @@ -2,13 +2,13 @@ - + -N - 索引 (MobileIMSDK 2.1.6(Server端) API文档) +N - 索引 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="N - 索引 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="N - 索引 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -79,15 +79,12 @@ -A B C D E F G H I L M N O P Q R S T U V _
    +A B C D E F G H I L M N O P Q R S T U V W _

    N

    -
    net.openmob.mobileimsdk.server - 软件包 net.openmob.mobileimsdk.server
    服务端入口主类。
    net.openmob.mobileimsdk.server.event - 软件包 net.openmob.mobileimsdk.server.event
    服务端事件通知和回调接口。
    net.openmob.mobileimsdk.server.processor - 软件包 net.openmob.mobileimsdk.server.processor
    各种业务处理类。
    net.openmob.mobileimsdk.server.protocal - 软件包 net.openmob.mobileimsdk.server.protocal
    Java、Android和Server端共用的协议定义类。
    net.openmob.mobileimsdk.server.protocal.c - 软件包 net.openmob.mobileimsdk.server.protocal.c
    Java、Android客户端主动发起的协议内容JavaBean。
    net.openmob.mobileimsdk.server.protocal.s - 软件包 net.openmob.mobileimsdk.server.protocal.s
    Server端主动发起的协议内容JavaBean。
    net.openmob.mobileimsdk.server.qos - 软件包 net.openmob.mobileimsdk.server.qos
    Server端的QoS机制实现类。
    nextUserId(PLoginInfo) - -类 net.openmob.mobileimsdk.server.processor.UserProcessor 中的静态方法 -
    获得一个新用户user_id。 -
    notifyMessageLost(ArrayList<Protocal>) - -类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonS2C 中的方法 +
    net.nettime.mobileimsdk.server.bridge - 软件包 net.nettime.mobileimsdk.server.bridge
    实现跨IM实例进行消息互通的类, since 3.0。
    net.openmob.mobileimsdk.server - 软件包 net.openmob.mobileimsdk.server
    服务端核心类。
    net.openmob.mobileimsdk.server.event - 软件包 net.openmob.mobileimsdk.server.event
    服务端事件通知和回调接口。
    net.openmob.mobileimsdk.server.processor - 软件包 net.openmob.mobileimsdk.server.processor
    各种具体业务逻辑实现类, since 3.0。
    net.openmob.mobileimsdk.server.protocal - 软件包 net.openmob.mobileimsdk.server.protocal
    Java、Android和Server端共用的协议定义类。
    net.openmob.mobileimsdk.server.protocal.c - 软件包 net.openmob.mobileimsdk.server.protocal.c
    Java、Android客户端主动发起的协议内容JavaBean。
    net.openmob.mobileimsdk.server.protocal.s - 软件包 net.openmob.mobileimsdk.server.protocal.s
    Server端主动发起的协议内容JavaBean。
    net.openmob.mobileimsdk.server.qos - 软件包 net.openmob.mobileimsdk.server.qos
    Server端的QoS机制实现类。
    net.openmob.mobileimsdk.server.utils - 软件包 net.openmob.mobileimsdk.server.utils
    服务端代码的辅助工具类, since 3.0。
    notifyMessageLost(ArrayList<Protocal>) - +类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonRoot 中的方法
    将未送达信息反馈给消息监听者。

    @@ -114,7 +111,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -143,7 +140,7 @@ -A B C D E F G H I L M N O P Q R S T U V _
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +A B C D E F G H I L M N O P Q R S T U V W _
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/index-files/index-13.html b/docs/api_docs/server/index-files/index-13.html index f90061d1..d07efa2f 100755 --- a/docs/api_docs/server/index-files/index-13.html +++ b/docs/api_docs/server/index-files/index-13.html @@ -2,13 +2,13 @@ - + -O - 索引 (MobileIMSDK 2.1.6(Server端) API文档) +O - 索引 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="O - 索引 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="O - 索引 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -79,26 +79,29 @@ -A B C D E F G H I L M N O P Q R S T U V _
    +A B C D E F G H I L M N O P Q R S T U V W _

    O

    -
    onTransBuffer_C2C_CallBack(int, int, String) - +
    offlineC2CProcessCallback(Protocal) - +类 net.openmob.mobileimsdk.server.processor.BridgeProcessor 中的方法 +
    无法在线实时发送成功的消息将通过本回调方法进行处理。 +
    OnlineProcessor - net.openmob.mobileimsdk.server.processor 中的 类
    MibileIMSDK的服务端用户列表管理类。
    onTransBuffer_C2C_CallBack(String, String, String, String, int) - 接口 net.openmob.mobileimsdk.server.event.ServerEventListener 中的方法 -
    通道数据回调函数定义(客户端发给客户端的(即接收user_id>0)). -
    onTransBuffer_C2C_RealTimeSendFaild_CallBack(int, int, String, String) - +
    通道数据回调函数定义(客户端发给客户端的(即接收方user_id不为“0”的情况)). +
    onTransBuffer_C2C_RealTimeSendFaild_CallBack(String, String, String, String, int) - 接口 net.openmob.mobileimsdk.server.event.ServerEventListener 中的方法 -
    通用数据实时发送失败后的回调函数定义(客户端发给客户端的(即接收user_id>0)). -
    onTransBuffer_CallBack(int, int, String, String) - +
    通用数据实时发送失败后的回调函数定义(客户端发给客户端的(即接收方user_id不为“0”的情况)). +
    onTransBuffer_CallBack(String, String, String, String, int, IoSession) - 接口 net.openmob.mobileimsdk.server.event.ServerEventListener 中的方法 -
    通用数据回调方法定义(客户端发给服务端的(即接收user_id=0)). -
    onUserLoginAction_CallBack(int, String, IoSession) - +
    通用数据回调方法定义(客户端发给服务端的(即接收user_id="0")). +
    onUserLoginAction_CallBack(String, String, IoSession) - 接口 net.openmob.mobileimsdk.server.event.ServerEventListener 中的方法 -
    用户登录验证成功后的回调方法定义. -
    onUserLogoutAction_CallBack(int, Object) - +
    用户登录验证成功后的回调方法定义(可理解为上线通知回调). +
    onUserLogoutAction_CallBack(String, Object, IoSession) - 接口 net.openmob.mobileimsdk.server.event.ServerEventListener 中的方法 -
    用户退出登录回调方法定义。 -
    onVerifyUserCallBack(String, String, String) - +
    用户退出登录回调方法定义(可理解为下线通知回调)。 +
    onVerifyUserCallBack(String, String, String, IoSession) - 接口 net.openmob.mobileimsdk.server.event.ServerEventListener 中的方法
    用户身份验证回调方法定义.
    @@ -126,7 +129,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -155,7 +158,7 @@ -A B C D E F G H I L M N O P Q R S T U V _
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +A B C D E F G H I L M N O P Q R S T U V W _
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/index-files/index-14.html b/docs/api_docs/server/index-files/index-14.html index 7c41ffb9..6e27dbf6 100755 --- a/docs/api_docs/server/index-files/index-14.html +++ b/docs/api_docs/server/index-files/index-14.html @@ -2,13 +2,13 @@ - + -P - 索引 (MobileIMSDK 2.1.6(Server端) API文档) +P - 索引 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="P - 索引 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="P - 索引 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -79,7 +79,7 @@ -A B C D E F G H I L M N O P Q R S T U V _
    +A B C D E F G H I L M N O P Q R S T U V W _

    P

    @@ -122,26 +122,67 @@
    PLoginInfo(String, String, String) - 类 net.openmob.mobileimsdk.server.protocal.c.PLoginInfo 的构造方法
    构造方法。 -
    PLoginInfoResponse - net.openmob.mobileimsdk.server.protocal.s 中的 类
    登陆结果响应信息DTO类。
    PLoginInfoResponse(int, int) - +
    PLoginInfoResponse - net.openmob.mobileimsdk.server.protocal.s 中的 类
    登陆结果响应信息DTO类。
    PLoginInfoResponse(int) - 类 net.openmob.mobileimsdk.server.protocal.s.PLoginInfoResponse 的构造方法
     
    PORT - 类 net.openmob.mobileimsdk.server.ServerLauncher 中的静态变量
    服务端UDP监听端口,默认7901。 -
    Protocal - net.openmob.mobileimsdk.server.protocal 中的 类
    协议报文对象.
    Protocal(int, String, int, int) - +
    processACK(Protocal, String) - +类 net.openmob.mobileimsdk.server.processor.LogicProcessor 中的方法 +
    处理来自客户端的各类ACK消息应答包。 +
    processC2CMessage(BridgeProcessor, IoSession, Protocal, String) - +类 net.openmob.mobileimsdk.server.processor.LogicProcessor 中的方法 +
    处理C2C(client to client)类消息(即客户端发给客户端的普通聊天消息)。 +
    processC2SMessage(IoSession, Protocal, String) - +类 net.openmob.mobileimsdk.server.processor.LogicProcessor 中的方法 +
    处理C2S(client to server)类消息(即客户端发给服务端的指点令类消息)。 +
    processKeepAlive(IoSession, Protocal, String) - +类 net.openmob.mobileimsdk.server.processor.LogicProcessor 中的方法 +
    处理来自客户端的心跳包。 +
    processLogin(IoSession, Protocal, String) - +类 net.openmob.mobileimsdk.server.processor.LogicProcessor 中的方法 +
    处理来自客户端的登陆请求。 +
    Protocal - net.openmob.mobileimsdk.server.protocal 中的 类
    协议报文对象.
    Protocal(int, String, String, String) - +类 net.openmob.mobileimsdk.server.protocal.Protocal 的构造方法 +
    构造方法(QoS标记默认为false、typeu字段默认为-1)。 +
    Protocal(int, String, String, String, int) - 类 net.openmob.mobileimsdk.server.protocal.Protocal 的构造方法
    构造方法(QoS标记默认为false)。 -
    Protocal(int, String, int, int, boolean, String) - +
    Protocal(int, String, String, String, boolean, String) - +类 net.openmob.mobileimsdk.server.protocal.Protocal 的构造方法 +
    构造方法(typeu字段默认为-1)。 +
    Protocal(int, String, String, String, boolean, String, int) - 类 net.openmob.mobileimsdk.server.protocal.Protocal 的构造方法
    构造方法。
    ProtocalFactory - net.openmob.mobileimsdk.server.protocal 中的 类
    MibileIMSDK框架的协议工厂类。
    ProtocalFactory() - 类 net.openmob.mobileimsdk.server.protocal.ProtocalFactory 的构造方法
      -
    ProtocalType - net.openmob.mobileimsdk.server.protocal 中的 接口
    协议类型.
    ProtocalType.C - net.openmob.mobileimsdk.server.protocal 中的 接口
     
    ProtocalType.S - net.openmob.mobileimsdk.server.protocal 中的 接口
     
    put(Protocal) - -类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonS2C 中的方法 +
    ProtocalType - net.openmob.mobileimsdk.server.protocal 中的 接口
    MobileIMSDK_X核心框架级的协议类型.
    ProtocalType.C - net.openmob.mobileimsdk.server.protocal 中的 接口
     
    ProtocalType.S - net.openmob.mobileimsdk.server.protocal 中的 接口
     
    publish(String) - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的方法 +
    Method to publish a message, will queue messages internally + if the connection is down and resend later. +
    publish(String, String, String) - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的方法 +
    Method to publish a message, will queue messages internally + if the connection is down and resend later. +
    publishToQueue - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的变量 +
    生产者消息中转队列名:本类是此队列的生产者,会将消息发送至此 +
    publishTrayAgainCache - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的变量 +
    本地生产者用的暂存消息队列:因为当发送消息时,可能连接等原因导致此次消息没有成功发出, + 那么暂存至此列表中,以备下次连接恢复时,再次由本类自动完成发送,从而确保消息不丢并确保送达。 +
    publishTrayAgainEnable - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的变量 +
    是否支持再次发送:true表示本地生产者发送失败时(比如连接MQ服务器不成功等情况)暂时缓存到本地内 + 存 publishTrayAgainCache 中,等到与MQ中间件的连接成功时,自动再次尝试发送此缓存队列,从而保 + 证生产者本来要发生送的消息在异常发生的情况下能再次发送直到成功。 +
    put(Protocal) - +类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonRoot 中的方法
    推入一个消息包的指纹特征码. -
    putUser(int, IoSession, String) - -类 net.openmob.mobileimsdk.server.processor.UserProcessor 中的方法 +
    putUser(String, IoSession) - +类 net.openmob.mobileimsdk.server.processor.OnlineProcessor 中的方法
    将用户放入在线列表。

    @@ -168,7 +209,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -197,7 +238,7 @@ -A B C D E F G H I L M N O P Q R S T U V _
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +A B C D E F G H I L M N O P Q R S T U V W _
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/index-files/index-15.html b/docs/api_docs/server/index-files/index-15.html index 783bf015..fff4cf95 100755 --- a/docs/api_docs/server/index-files/index-15.html +++ b/docs/api_docs/server/index-files/index-15.html @@ -2,13 +2,13 @@ - + -Q - 索引 (MobileIMSDK 2.1.6(Server端) API文档) +Q - 索引 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="Q - 索引 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="Q - 索引 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -79,18 +79,26 @@ -A B C D E F G H I L M N O P Q R S T U V _
    +A B C D E F G H I L M N O P Q R S T U V W _

    Q

    +
    QoS4ReciveDaemonC2B - net.nettime.mobileimsdk.server.bridge 中的 类
    异构服务器消息转发模式下QoS机制之对已收到包进行有限生命周期存储并提供 + 重复性判断的守护线程实现类。
    QoS4ReciveDaemonC2B() - +类 net.nettime.mobileimsdk.server.bridge.QoS4ReciveDaemonC2B 的构造方法 +
     
    QoS4ReciveDaemonC2S - net.openmob.mobileimsdk.server.qos 中的 类
    用于服务端的S2C模式下的QoS机制中提供对已收到包进行有限生命周期存储并提供 重复性判断的守护线程。
    QoS4ReciveDaemonC2S() - 类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonC2S 的构造方法
      -
    QoS4SendDaemonS2C - net.openmob.mobileimsdk.server.qos 中的 类
    S2C模式中QoS数据包质量包证机制之发送队列保证实现类.
    QOS_TRY_COUNT - -类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonS2C 中的静态变量 -
    一个包允许的最大重发次数,默认1次。 -
    +
    QoS4ReciveDaemonRoot - net.openmob.mobileimsdk.server.qos 中的 类
    用于服务端的S2C模式下的QoS机制中提供对已收到包进行有限生命周期存储并提供 + 重复性判断的守护线程。
    QoS4ReciveDaemonRoot(int, int, boolean, String) - +类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonRoot 的构造方法 +
      +
    QoS4SendDaemonB2C - net.nettime.mobileimsdk.server.bridge 中的 类
    异构服务器消息转发模式下QoS机制之消息发送质量保证队列的守护线程实现类。
    QoS4SendDaemonRoot - net.openmob.mobileimsdk.server.qos 中的 类
     
    QoS4SendDaemonRoot(int, int, int, boolean, String) - +类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonRoot 的构造方法 +
      +
    QoS4SendDaemonS2C - net.openmob.mobileimsdk.server.qos 中的 类
    S2C模式中QoS数据包质量包证机制之发送队列保证实现类.

    @@ -115,7 +123,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -144,7 +152,7 @@ -A B C D E F G H I L M N O P Q R S T U V _
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +A B C D E F G H I L M N O P Q R S T U V W _
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/index-files/index-16.html b/docs/api_docs/server/index-files/index-16.html index 24582f3f..fceccc2f 100755 --- a/docs/api_docs/server/index-files/index-16.html +++ b/docs/api_docs/server/index-files/index-16.html @@ -2,13 +2,13 @@ - + -R - 索引 (MobileIMSDK 2.1.6(Server端) API文档) +R - 索引 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="R - 索引 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="R - 索引 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -79,32 +79,32 @@ -A B C D E F G H I L M N O P Q R S T U V _
    +A B C D E F G H I L M N O P Q R S T U V W _

    R

    -
    remove(String) - -类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonS2C 中的方法 +
    realtimeC2CSuccessCallback(Protocal) - +类 net.openmob.mobileimsdk.server.processor.BridgeProcessor 中的方法 +
    在线实时将消息桥接转发成功后被调用的回调方法。 +
    remove(String) - +类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonRoot 中的方法
    移除一个消息包. -
    removeUser(int) - -类 net.openmob.mobileimsdk.server.processor.UserProcessor 中的方法 +
    removeUser(String) - +类 net.openmob.mobileimsdk.server.processor.OnlineProcessor 中的方法
    将用户从在线列表中移除. -
    removeUser(IoSession) - -类 net.openmob.mobileimsdk.server.processor.UserProcessor 中的方法 -
    已过时。 因存在可能的性能风险,本方法已由 UserProcessor.removeUser(int) 替代。 -
    replyDataForUnlogined(IoSession, Protocal) - -类 net.openmob.mobileimsdk.server.ServerCoreHandler 中的方法 +
    replyDataForUnlogined(IoSession, Protocal) - +类 net.openmob.mobileimsdk.server.utils.LocalSendHelper 中的静态方法
    当服务端检测到用户尚未登陆(或登陆会话已失效时)由服务端回复给 客户端的消息。 -
    replyDelegateRecievedBack(IoSession, Protocal) - -类 net.openmob.mobileimsdk.server.ServerCoreHandler 中的方法 +
    replyDelegateRecievedBack(IoSession, Protocal) - +类 net.openmob.mobileimsdk.server.utils.LocalSendHelper 中的静态方法
    服务端回复伪应答包(给客户端发送方)。
    RESPONSE_FOR_UNLOGIN - 接口 net.openmob.mobileimsdk.server.protocal.ErrorCode.ForS 中的静态变量
    客户端尚未登陆,请重新登陆 -
    run() - -类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonS2C 中的方法 -
      +
    retryWorkerRunning - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的变量 +
    此标识仅用于防止worker失败重试时因TimeTask的异步执行而发生重复执行的可能,仅此而已

    @@ -130,7 +130,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -159,7 +159,7 @@ -A B C D E F G H I L M N O P Q R S T U V _
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +A B C D E F G H I L M N O P Q R S T U V W _
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/index-files/index-17.html b/docs/api_docs/server/index-files/index-17.html index 6f6f2107..3c5862a4 100755 --- a/docs/api_docs/server/index-files/index-17.html +++ b/docs/api_docs/server/index-files/index-17.html @@ -2,13 +2,13 @@ - + -S - 索引 (MobileIMSDK 2.1.6(Server端) API文档) +S - 索引 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="S - 索引 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="S - 索引 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -79,35 +79,58 @@ -A B C D E F G H I L M N O P Q R S T U V _
    +A B C D E F G H I L M N O P Q R S T U V W _

    S

    -
    sendData(int, int, String) - -类 net.openmob.mobileimsdk.server.ServerLauncher 中的静态方法 -
    向目标发送一条数据(默认QoS=false)。 -
    sendData(int, int, String, boolean) - -类 net.openmob.mobileimsdk.server.ServerLauncher 中的静态方法 +
    sendData(String, String, String) - +类 net.openmob.mobileimsdk.server.utils.LocalSendHelper 中的静态方法 +
    向目标发送一条数据(默认QoS=true,typeu=-1)。 +
    sendData(String, String, String, int) - +类 net.openmob.mobileimsdk.server.utils.LocalSendHelper 中的静态方法 +
    向目标发送一条数据(默认QoS=true)。 +
    sendData(String, String, String, boolean, int) - +类 net.openmob.mobileimsdk.server.utils.LocalSendHelper 中的静态方法
    向目标发送一条数据。 -
    sendData(int, int, String, boolean, String) - -类 net.openmob.mobileimsdk.server.ServerLauncher 中的静态方法 +
    sendData(String, String, String, boolean, String) - +类 net.openmob.mobileimsdk.server.utils.LocalSendHelper 中的静态方法 +
    向目标发送一条数据(typeu=-1)。 +
    sendData(String, String, String, boolean, String, int) - +类 net.openmob.mobileimsdk.server.utils.LocalSendHelper 中的静态方法
    向目标发送一条数据。 -
    sendData(Protocal) - -类 net.openmob.mobileimsdk.server.ServerLauncher 中的静态方法 +
    sendData(Protocal) - +类 net.openmob.mobileimsdk.server.utils.LocalSendHelper 中的静态方法
    向目标发送一条数据。 -
    sendData(IoSession, Protocal) - -类 net.openmob.mobileimsdk.server.ServerLauncher 中的静态方法 +
    sendData(IoSession, Protocal) - +类 net.openmob.mobileimsdk.server.utils.LocalSendHelper 中的静态方法
    向目标发送一条数据。 +
    sendDataC2C(BridgeProcessor, IoSession, Protocal, String, ServerCoreHandler) - +类 net.openmob.mobileimsdk.server.utils.GlobalSendHelper 中的静态方法 +
    用方法用于服务端作为中转发送C2C类型的数据之用,此方法封装了服务端中转发送 + C2C消息的所有逻辑(包括当接收者不在本机在线列表时的桥接处理等)。 +
    sendDataS2C(BridgeProcessor, Protocal) - +类 net.openmob.mobileimsdk.server.utils.GlobalSendHelper 中的静态方法 +
    用方法用于服务端向客户端主动发起的数据之用,此方法封装了服务端发送 + S2C消息的所有逻辑(包括当接收者不在本机在线列表时的桥接处理等)。
    ServerCoreHandler - net.openmob.mobileimsdk.server 中的 类
    MobileIMSDK的MINA IoHandler实现类。
    ServerCoreHandler() - 类 net.openmob.mobileimsdk.server.ServerCoreHandler 的构造方法 -
      +
    构造方法。
    serverCoreHandler - 类 net.openmob.mobileimsdk.server.ServerLauncher 中的变量
      -
    ServerEventListener - net.openmob.mobileimsdk.server.event 中的 接口
    服务端通用事件回调监听器。
    ServerLauncher - net.openmob.mobileimsdk.server 中的 类
    MobileIMSDK的服务端入口主类。
    ServerLauncher() - +
    ServerEventListener - net.openmob.mobileimsdk.server.event 中的 接口
    服务端通用事件回调监听器。
    serverEventListener - +类 net.openmob.mobileimsdk.server.ServerCoreHandler 中的变量 +
    服务端事件回调实现 +
    ServerLauncher - net.openmob.mobileimsdk.server 中的 类
    MobileIMSDK的服务端入口主类。
    ServerLauncher() - 类 net.openmob.mobileimsdk.server.ServerLauncher 的构造方法
      -
    ServerLauncher.SenseMode - net.openmob.mobileimsdk.server 中的 枚举
    MobileIMSDK即时通讯核心框架预设的敏感度模式.
    SESION_RECYCLER_EXPIRE - +
    serverMessageQoSEventListener - +类 net.openmob.mobileimsdk.server.ServerCoreHandler 中的变量 +
    QoS机制下的S2C模式中,由服务端主动发起消息的QoS事件回调实现 +
    ServerToolKits - net.openmob.mobileimsdk.server.utils 中的 类
    服务端实用方法工具箱。
    ServerToolKits() - +类 net.openmob.mobileimsdk.server.utils.ServerToolKits 的构造方法 +
      +
    ServerToolKits.SenseMode - net.openmob.mobileimsdk.server.utils 中的 枚举
    MobileIMSDK即时通讯核心框架预设的敏感度模式.
    SESION_RECYCLER_EXPIRE - 类 net.openmob.mobileimsdk.server.ServerLauncher 中的静态变量
    UDP Session的空闲超时时长(单位:秒),默认10秒。
    sessionClosed(IoSession) - @@ -122,12 +145,21 @@
    sessionOpened(IoSession) - 类 net.openmob.mobileimsdk.server.ServerCoreHandler 中的方法
    当与客户的会话被打开时本方法回调用。 +
    setBridge(boolean) - +类 net.openmob.mobileimsdk.server.protocal.Protocal 中的方法 +
     
    setCode(int) - 类 net.openmob.mobileimsdk.server.protocal.s.PLoginInfoResponse 中的方法
     
    setDataContent(String) - 类 net.openmob.mobileimsdk.server.protocal.Protocal 中的方法
    设置协议数据内容。 +
    setDebugable(boolean) - +类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonRoot 中的方法 +
      +
    setDebugable(boolean) - +类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonRoot 中的方法 +
     
    setErrorCode(int) - 类 net.openmob.mobileimsdk.server.protocal.s.PErrorResponse 中的方法
      @@ -137,59 +169,76 @@
    setExtra(String) - 类 net.openmob.mobileimsdk.server.protocal.c.PLoginInfo 中的方法
    设置额外信息字符串。 -
    setFrom(int) - +
    setFrom(String) - 类 net.openmob.mobileimsdk.server.protocal.Protocal 中的方法
    设置消息发出方的id(当用户登陆时,此值可不设置)。 -
    setLoginName(String) - +
    setLoginToken(String) - 类 net.openmob.mobileimsdk.server.protocal.c.PLoginInfo 中的方法 -
    设置登陆时提交的用户名:此用户名对框架来说可以随意,具体意义由上层逻辑决即可 -
    setLoginPsw(String) - +
    设置登陆时提交的用于身份鉴别和合法性检查的token,它可能是登陆密码,也可能是 + 通过前置单点登陆接口拿到的token等,具体意义由业务层决定。 +
    setLoginUserId(String) - 类 net.openmob.mobileimsdk.server.protocal.c.PLoginInfo 中的方法 -
    设置登陆时提交的密码:此密码对框架来说可以随意,具体意义由上层逻辑决即可 -
    setSenseMode(ServerLauncher.SenseMode) - -类 net.openmob.mobileimsdk.server.ServerLauncher 中的静态方法 +
    设置登陆时提交的准一id,保证唯一就可以通信,可能是登陆用户名、也可 + 能是任意不重复的id等,具体意义由业务层决定。 +
    setQoS(boolean) - +类 net.openmob.mobileimsdk.server.protocal.Protocal 中的方法 +
      +
    setSenseMode(ServerToolKits.SenseMode) - +类 net.openmob.mobileimsdk.server.utils.ServerToolKits 中的静态方法
    设置MobileIMSDK即时通讯核心框架预设的敏感度模式。
    setServerEventListener(ServerEventListener) - 类 net.openmob.mobileimsdk.server.ServerLauncher 中的方法
    设置服务端通用事件回调监听器。 -
    setServerLauncher(ServerLauncher) - -类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonS2C 中的方法 +
    setServerLauncher(ServerLauncher) - +类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonRoot 中的方法
    设置用于QoS事件中没有实时重传成功的消息的回调通知事件宿主。
    setServerMessageQoSEventListener(MessageQoSEventListenerS2C) - 类 net.openmob.mobileimsdk.server.ServerLauncher 中的方法
    设置QoS机制的Server主动消息发送之质量保证事件监听器。 -
    setTo(int) - +
    setTo(String) - 类 net.openmob.mobileimsdk.server.protocal.Protocal 中的方法
    消息接收方的id(当用户退出时,此值可不设置)。
    setType(int) - 类 net.openmob.mobileimsdk.server.protocal.Protocal 中的方法
    设置协议类型. -
    setUser_id(int) - -类 net.openmob.mobileimsdk.server.protocal.s.PLoginInfoResponse 中的方法 -
      +
    setTypeu(int) - +类 net.openmob.mobileimsdk.server.protocal.Protocal 中的方法 +
    设置应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型。
    shutdown() - 类 net.openmob.mobileimsdk.server.ServerLauncher 中的方法
    关闭服务端。 -
    size() - -类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonC2S 中的方法 +
    size() - +类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonRoot 中的方法
    当前“已收到消息”队列列表的大小. -
    size() - -类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonS2C 中的方法 +
    size() - +类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonRoot 中的方法
    队列大小. -
    startup() - -类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonC2S 中的方法 +
    start() - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的方法 +
    调用者必须显示调用本方法才能启动本provider的整个执行策略。 +
    startPublisher(Connection) - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的方法 +
      +
    startRunning - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的变量 +
    此标识仅用于防止首次连接失败重试时因TimeTask的异步执行而发生重复执行的可能,仅此而已 +
    startup() - +类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonRoot 中的方法
    启动线程。 -
    startup(boolean) - -类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonS2C 中的方法 +
    startup(boolean) - +类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonRoot 中的方法
    启动线程。
    startup() - 类 net.openmob.mobileimsdk.server.ServerLauncher 中的方法
    开启服务端。 -
    stop() - -类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonC2S 中的方法 +
    startWorker(Connection) - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的方法 +
      +
    stop() - +类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonRoot 中的方法
    无条件中断本线程的运行。 -
    stop() - -类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonS2C 中的方法 +
    stop() - +类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonRoot 中的方法
    无条件中断本线程的运行。

    @@ -216,7 +265,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -245,7 +294,7 @@ -A B C D E F G H I L M N O P Q R S T U V _
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +A B C D E F G H I L M N O P Q R S T U V W _
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/index-files/index-18.html b/docs/api_docs/server/index-files/index-18.html index d2137c70..f73c3aa9 100755 --- a/docs/api_docs/server/index-files/index-18.html +++ b/docs/api_docs/server/index-files/index-18.html @@ -2,13 +2,13 @@ - + -T - 索引 (MobileIMSDK 2.1.6(Server端) API文档) +T - 索引 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="T - 索引 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="T - 索引 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -79,10 +79,22 @@ -A B C D E F G H I L M N O P Q R S T U V _
    +A B C D E F G H I L M N O P Q R S T U V W _

    T

    +
    TAG - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的变量 +
    TAG for log +
    timerForRetryWorker - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的变量 +
    本定时的作用是当worker启动或运行过程中出错时,可以自动进行恢复,而不至于丧失功能 +
    timerForStartAgain - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的变量 +
    【说明】:RabittMQ的Java客户端的automaticRecovery只在连接成功后才会启动,像 + 这种首次连接时服务器根本就没开或者本地网络故障等,首次无法成功建立Connection的 + ,connction返回直接是null,当然就不存在automaticRecovery能力了,所以需要自已 + 来尝试重新start,一定要注意思路哦,别理解乱了。
    TO_SERVER_NET_INFO_NOT_SETUP - 接口 net.openmob.mobileimsdk.server.protocal.ErrorCode.ForC 中的静态变量
    要连接的服务端网络参数未设置 @@ -92,6 +104,9 @@
    toGsonString() - 类 net.openmob.mobileimsdk.server.protocal.Protocal 中的方法
    将本对象转换成JSON字符串. +
    tryGetConnection() - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的方法 +
    返回Connection实例,如果connection不存在则新建一个。

    @@ -117,7 +132,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -146,7 +161,7 @@ -A B C D E F G H I L M N O P Q R S T U V _
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +A B C D E F G H I L M N O P Q R S T U V W _
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/index-files/index-19.html b/docs/api_docs/server/index-files/index-19.html index 1e568162..b452e4b1 100755 --- a/docs/api_docs/server/index-files/index-19.html +++ b/docs/api_docs/server/index-files/index-19.html @@ -2,13 +2,13 @@ - + -U - 索引 (MobileIMSDK 2.1.6(Server端) API文档) +U - 索引 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="U - 索引 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="U - 索引 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -79,14 +79,14 @@ -A B C D E F G H I L M N O P Q R S T U V _
    +A B C D E F G H I L M N O P Q R S T U V W _

    U

    -
    USER_ID_IN_SESSION_ATTRIBUTE - -类 net.openmob.mobileimsdk.server.processor.UserProcessor 中的静态变量 +
    USER_ID_IN_SESSION_ATTRIBUTE - +类 net.openmob.mobileimsdk.server.processor.OnlineProcessor 中的静态变量
    用于用户session中存放user_id的属性key -
    UserProcessor - net.openmob.mobileimsdk.server.processor 中的 类
    MibileIMSDK的服务端用户列表管理类。
    +
    @@ -111,7 +111,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -140,7 +140,7 @@ -A B C D E F G H I L M N O P Q R S T U V _
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +A B C D E F G H I L M N O P Q R S T U V W _
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/index-files/index-2.html b/docs/api_docs/server/index-files/index-2.html index 357b5133..6ddc9095 100755 --- a/docs/api_docs/server/index-files/index-2.html +++ b/docs/api_docs/server/index-files/index-2.html @@ -2,13 +2,13 @@ - + -B - 索引 (MobileIMSDK 2.1.6(Server端) API文档) +B - 索引 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="B - 索引 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="B - 索引 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -79,7 +79,7 @@ -A B C D E F G H I L M N O P Q R S T U V _
    +A B C D E F G H I L M N O P Q R S T U V W _

    B

    @@ -89,6 +89,15 @@
    BREOKEN_CONNECT_TO_SERVER - 接口 net.openmob.mobileimsdk.server.protocal.ErrorCode.ForC 中的静态变量
    与服务端的连接已断开 +
    bridgeEnabled - +类 net.openmob.mobileimsdk.server.ServerLauncher 中的静态变量 +
    是否允许与MobileIMSDK Web版进行互通。 +
    BridgeProcessor - net.openmob.mobileimsdk.server.processor 中的 类
    用作异构平台IM消息交互的桥接服务提供者。
    BridgeProcessor() - +类 net.openmob.mobileimsdk.server.processor.BridgeProcessor 的构造方法 +
      +
    bridgeProcessor - +类 net.openmob.mobileimsdk.server.ServerCoreHandler 中的变量 +
    跨机器通信中间件服务提供者.

    @@ -114,7 +123,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -143,7 +152,7 @@ -A B C D E F G H I L M N O P Q R S T U V _
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +A B C D E F G H I L M N O P Q R S T U V W _
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/index-files/index-20.html b/docs/api_docs/server/index-files/index-20.html index 1c7274ce..18cc3186 100755 --- a/docs/api_docs/server/index-files/index-20.html +++ b/docs/api_docs/server/index-files/index-20.html @@ -2,13 +2,13 @@ - + -V - 索引 (MobileIMSDK 2.1.6(Server端) API文档) +V - 索引 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="V - 索引 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="V - 索引 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -79,15 +79,15 @@ -A B C D E F G H I L M N O P Q R S T U V _
    +A B C D E F G H I L M N O P Q R S T U V W _

    V

    -
    valueOf(String) - -枚举 net.openmob.mobileimsdk.server.ServerLauncher.SenseMode 中的静态方法 +
    valueOf(String) - +枚举 net.openmob.mobileimsdk.server.utils.ServerToolKits.SenseMode 中的静态方法
    返回带有指定名称的该类型的枚举常量。 -
    values() - -枚举 net.openmob.mobileimsdk.server.ServerLauncher.SenseMode 中的静态方法 +
    values() - +枚举 net.openmob.mobileimsdk.server.utils.ServerToolKits.SenseMode 中的静态方法
    按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。
    @@ -115,7 +115,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -144,7 +144,7 @@ -A B C D E F G H I L M N O P Q R S T U V _
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +A B C D E F G H I L M N O P Q R S T U V W _
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/index-files/index-21.html b/docs/api_docs/server/index-files/index-21.html index d9cc4413..ffaa4b98 100755 --- a/docs/api_docs/server/index-files/index-21.html +++ b/docs/api_docs/server/index-files/index-21.html @@ -2,13 +2,13 @@ - + -_ - 索引 (MobileIMSDK 2.1.6(Server端) API文档) +W - 索引 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="_ - 索引 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="W - 索引 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,14 +50,14 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27)  上一个字母  - 下一个字母下一个字母 框架    无框架   @@ -79,13 +79,19 @@ -A B C D E F G H I L M N O P Q R S T U V _
    -

    -_

    +A B C D E F G H I L M N O P Q R S T U V W _
    +

    +W

    -
    __printOnline() - -类 net.openmob.mobileimsdk.server.processor.UserProcessor 中的方法 -
    打印在线用户列。 +
    whenConnected(Connection) - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的方法 +
      +
    work(byte[]) - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的方法 +
    处理接收到的消息。 +
    work(byte[]) - +类 net.openmob.mobileimsdk.server.processor.BridgeProcessor 中的方法 +
    处理通过MQ中间件收到的桥接消息。

    @@ -111,14 +117,14 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27)  上一个字母  - 下一个字母下一个字母
    框架    无框架   @@ -140,7 +146,7 @@ -A B C D E F G H I L M N O P Q R S T U V _
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +A B C D E F G H I L M N O P Q R S T U V W _
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/index-files/index-22.html b/docs/api_docs/server/index-files/index-22.html new file mode 100755 index 00000000..5dd3ae63 --- /dev/null +++ b/docs/api_docs/server/index-files/index-22.html @@ -0,0 +1,155 @@ + + + + + + + +_ - 索引 (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +A B C D E F G H I L M N O P Q R S T U V W _
    +

    +_

    +
    +
    __printOnline() - +类 net.openmob.mobileimsdk.server.processor.OnlineProcessor 中的方法 +
    打印在线用户列。 +
    _connection - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的变量 +
      +
    _factory - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的变量 +
      +
    _pubChannel - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的变量 +
      +
    +
    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +A B C D E F G H I L M N O P Q R S T U V W _
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/index-files/index-3.html b/docs/api_docs/server/index-files/index-3.html index a9bed3fa..4115113e 100755 --- a/docs/api_docs/server/index-files/index-3.html +++ b/docs/api_docs/server/index-files/index-3.html @@ -2,13 +2,13 @@ - + -C - 索引 (MobileIMSDK 2.1.6(Server端) API文档) +C - 索引 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="C - 索引 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="C - 索引 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -79,24 +79,18 @@ -A B C D E F G H I L M N O P Q R S T U V _
    +A B C D E F G H I L M N O P Q R S T U V W _

    C

    CharsetHelper - net.openmob.mobileimsdk.server.protocal 中的 类
    数据交互的编解码实现类。
    CharsetHelper() - 类 net.openmob.mobileimsdk.server.protocal.CharsetHelper 的构造方法
      -
    CHECH_INTERVAL - -类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonC2S 中的静态变量 -
    检查线程执行间隔(单位:毫秒),默认5分钟 -
    CHECH_INTERVAL - -类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonS2C 中的静态变量 -
    QoS质量保证线程心跳间隔(单位:毫秒),默认5000ms.
    CLIENT_SDK_NO_INITIALED - 接口 net.openmob.mobileimsdk.server.protocal.ErrorCode.ForC 中的静态变量
    客户端SDK尚未初始化 -
    clientInfoToString(IoSession) - -类 net.openmob.mobileimsdk.server.ServerCoreHandler 中的静态方法 +
    clientInfoToString(IoSession) - +类 net.openmob.mobileimsdk.server.utils.ServerToolKits 中的静态方法
    获取对应Session的信息(如session中存放的user_id、登陆名、ip地址和端口等)。
    clone() - 类 net.openmob.mobileimsdk.server.protocal.Protocal 中的方法 @@ -116,31 +110,46 @@
    COMMON_UNKNOW_ERROR - 接口 net.openmob.mobileimsdk.server.protocal.ErrorCode 中的静态变量
    未知错误 -
    createCommonData(String, int, int, boolean, String) - +
    consumerObserver - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的变量 +
    本类中消费者收到的消息通过此观察者进行回调通知 +
    consumFromQueue - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的变量 +
    消费者消息中转队列名:本类是此队列的消费者,将从其中读取消息 +
    createBridgeProcessor() - +类 net.openmob.mobileimsdk.server.ServerCoreHandler 中的方法 +
    新建跨机器通信消息中间件服务提供者。 +
    createCommonData(String, String, String, boolean, String) - 类 net.openmob.mobileimsdk.server.protocal.ProtocalFactory 中的静态方法 -
    通用消息的Protocal对象新建方法。 -
    createCommonData(String, int, int) - +
    通用消息的Protocal对象新建方法(typeu字段默认-1)。 +
    createCommonData(String, String, String, boolean, String, int) - 类 net.openmob.mobileimsdk.server.protocal.ProtocalFactory 中的静态方法 -
    通用消息的Protocal对象新建方法(默认QoS=false)。 -
    createPErrorResponse(int, String, int) - +
    通用消息的Protocal对象新建方法。 +
    createLogicProcessor() - +类 net.openmob.mobileimsdk.server.ServerCoreHandler 中的方法 +
    创建MobileIMSDK框架核心层的数据交互处理逻辑封装对象。 +
    createPErrorResponse(int, String, String) - 类 net.openmob.mobileimsdk.server.protocal.ProtocalFactory 中的静态方法
    创建错误响应消息对象(该对象由服务端发出). -
    createPKeepAlive(int) - +
    createPKeepAlive(String) - 类 net.openmob.mobileimsdk.server.protocal.ProtocalFactory 中的静态方法
    创建用户心跳包对象(该对象由客户端发出). -
    createPKeepAliveResponse(int) - +
    createPKeepAliveResponse(String) - 类 net.openmob.mobileimsdk.server.protocal.ProtocalFactory 中的静态方法
    创建响应客户端的心跳消息对象(该对象由服务端发出).
    createPLoginInfo(String, String, String) - 类 net.openmob.mobileimsdk.server.protocal.ProtocalFactory 中的静态方法
    创建用户登陆消息对象(该对象由客户端发出). -
    createPLoginInfoResponse(int, int) - +
    createPLoginInfoResponse(int, String) - 类 net.openmob.mobileimsdk.server.protocal.ProtocalFactory 中的静态方法
    创建用户登陆响应消息对象(该对象由服务端发出). -
    createPLoginoutInfo(int, String) - +
    createPLoginoutInfo(String) - 类 net.openmob.mobileimsdk.server.protocal.ProtocalFactory 中的静态方法
    创建用户注消登陆消息对象(该对象由客户端发出). -
    createRecivedBack(int, int, String) - +
    createRecivedBack(String, String, String) - +类 net.openmob.mobileimsdk.server.protocal.ProtocalFactory 中的静态方法 +
    客户端from_user_id向to_user_id发送一个QoS机制中需要的“收到消息应答包”(默认bridge标认为false). +
    createRecivedBack(String, String, String, boolean) - 类 net.openmob.mobileimsdk.server.protocal.ProtocalFactory 中的静态方法
    客户端from_user_id向to_user_id发送一个QoS机制中需要的“收到消息应答包”.
    @@ -168,7 +177,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -197,7 +206,7 @@ -A B C D E F G H I L M N O P Q R S T U V _
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +A B C D E F G H I L M N O P Q R S T U V W _
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/index-files/index-4.html b/docs/api_docs/server/index-files/index-4.html index 6d7ac872..aaaf9e9f 100755 --- a/docs/api_docs/server/index-files/index-4.html +++ b/docs/api_docs/server/index-files/index-4.html @@ -2,13 +2,13 @@ - + -D - 索引 (MobileIMSDK 2.1.6(Server端) API文档) +D - 索引 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="D - 索引 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="D - 索引 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -79,25 +79,31 @@ -A B C D E F G H I L M N O P Q R S T U V _
    +A B C D E F G H I L M N O P Q R S T U V W _

    D

    -
    DEBUG - -类 net.openmob.mobileimsdk.server.processor.UserProcessor 中的静态变量 -
      -
    DEBUG - -类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonC2S 中的静态变量 -
      -
    DEBUG - -类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonS2C 中的静态变量 +
    DEBUG - +类 net.openmob.mobileimsdk.server.processor.OnlineProcessor 中的静态变量
      +
    debug - +类 net.openmob.mobileimsdk.server.ServerLauncher 中的静态变量 +
    全局设置:服务端Debug日志输出总开关(建议压力测试和生产环境下设为false)。
    DECODE_CHARSET - 类 net.openmob.mobileimsdk.server.protocal.CharsetHelper 中的静态变量
    字符解码格式。 +
    decodeCharset - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的变量 +
    收到消息的字符解码格式
    decoder - 类 net.openmob.mobileimsdk.server.protocal.CharsetHelper 中的静态变量
      +
    DEFAULT_DECODE_CHARSET - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的静态变量 +
    收到消息的字符解码格式。 +
    DEFAULT_ENCODE_CHARSET - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的静态变量 +
    发出消息的字符编码格式。

    @@ -123,7 +129,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -152,7 +158,7 @@ -A B C D E F G H I L M N O P Q R S T U V _
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +A B C D E F G H I L M N O P Q R S T U V W _
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/index-files/index-5.html b/docs/api_docs/server/index-files/index-5.html index a43f0a3b..a5429282 100755 --- a/docs/api_docs/server/index-files/index-5.html +++ b/docs/api_docs/server/index-files/index-5.html @@ -2,13 +2,13 @@ - + -E - 索引 (MobileIMSDK 2.1.6(Server端) API文档) +E - 索引 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="E - 索引 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="E - 索引 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -79,18 +79,21 @@ -A B C D E F G H I L M N O P Q R S T U V _
    +A B C D E F G H I L M N O P Q R S T U V W _

    E

    ENCODE_CHARSET - 类 net.openmob.mobileimsdk.server.protocal.CharsetHelper 中的静态变量
    字符编码格式。 +
    encodeCharset - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的变量 +
    发出消息的字符编码格式
    ErrorCode - net.openmob.mobileimsdk.server.protocal 中的 接口
    错误码常量表.
    ErrorCode.ForC - net.openmob.mobileimsdk.server.protocal 中的 接口
    由客户端产生的错误码
    ErrorCode.ForS - net.openmob.mobileimsdk.server.protocal 中的 接口
    由服务端产生的错误码
    exceptionCaught(IoSession, Throwable) - 类 net.openmob.mobileimsdk.server.ServerCoreHandler 中的方法
    MINA的异常回调方法。 -
    exist(String) - -类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonS2C 中的方法 +
    exist(String) - +类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonRoot 中的方法
    该包是否已存在于队列中。

    @@ -117,7 +120,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -146,7 +149,7 @@ -A B C D E F G H I L M N O P Q R S T U V _
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +A B C D E F G H I L M N O P Q R S T U V W _
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/index-files/index-6.html b/docs/api_docs/server/index-files/index-6.html index 00dce045..02942039 100755 --- a/docs/api_docs/server/index-files/index-6.html +++ b/docs/api_docs/server/index-files/index-6.html @@ -2,13 +2,13 @@ - + -F - 索引 (MobileIMSDK 2.1.6(Server端) API文档) +F - 索引 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="F - 索引 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="F - 索引 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -79,7 +79,7 @@ -A B C D E F G H I L M N O P Q R S T U V _
    +A B C D E F G H I L M N O P Q R S T U V W _

    F

    @@ -113,11 +113,11 @@
    FROM_SERVER_TYPE_OF_RESPONSE$LOGIN - 接口 net.openmob.mobileimsdk.server.protocal.ProtocalType.S 中的静态变量
    由服务端发出 - 协议类型:响应客户端的登陆 -
    fromIOBuffer(IoBuffer) - -类 net.openmob.mobileimsdk.server.ServerCoreHandler 中的静态方法 +
    fromIOBuffer(IoBuffer) - +类 net.openmob.mobileimsdk.server.utils.ServerToolKits 中的静态方法
    从MINA的原始数据对象中解析出MobileIMSDK的完整协议内容(Protocal对象)。 -
    fromIOBuffer_JSON(IoBuffer) - -类 net.openmob.mobileimsdk.server.ServerCoreHandler 中的静态方法 +
    fromIOBuffer_JSON(IoBuffer) - +类 net.openmob.mobileimsdk.server.utils.ServerToolKits 中的静态方法
    从MINA的原始数据对象中解析出MobileIMSDK的完整协议内容(Protocal对象的JSON表示形式)。

    @@ -144,7 +144,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -173,7 +173,7 @@ -A B C D E F G H I L M N O P Q R S T U V _
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +A B C D E F G H I L M N O P Q R S T U V W _
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/index-files/index-7.html b/docs/api_docs/server/index-files/index-7.html index 70b7117e..0cadcd47 100755 --- a/docs/api_docs/server/index-files/index-7.html +++ b/docs/api_docs/server/index-files/index-7.html @@ -2,13 +2,13 @@ - + -G - 索引 (MobileIMSDK 2.1.6(Server端) API文档) +G - 索引 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="G - 索引 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="G - 索引 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -79,13 +79,16 @@ -A B C D E F G H I L M N O P Q R S T U V _
    +A B C D E F G H I L M N O P Q R S T U V W _

    G

    genFingerPrint() - 类 net.openmob.mobileimsdk.server.protocal.Protocal 中的静态方法
    返回QoS需要的消息包的指纹特征码. +
    getBridgeProcessor() - +类 net.openmob.mobileimsdk.server.ServerCoreHandler 中的方法 +
    获得本类对应的BridgeProcessor对象引用。
    getBytes(String) - 类 net.openmob.mobileimsdk.server.protocal.CharsetHelper 中的静态方法
    将字符串按设置的方式编码成byte数组。 @@ -110,46 +113,53 @@
    getFrom() - 类 net.openmob.mobileimsdk.server.protocal.Protocal 中的方法
    返回消息发出方的id。 -
    getId(IoSession) - -类 net.openmob.mobileimsdk.server.processor.UserProcessor 中的方法 -
    已过时。 因存在可能的性能风险,本方法已由 UserProcessor.getUserIdFromSession(IoSession) 替代。 -
    getInstance() - -类 net.openmob.mobileimsdk.server.processor.UserProcessor 中的静态方法 -
    为了单化API调用,本方法将以单例的形式存活。 +
    getInstance() - +类 net.nettime.mobileimsdk.server.bridge.QoS4ReciveDaemonC2B 中的静态方法 +
      +
    getInstance() - +类 net.nettime.mobileimsdk.server.bridge.QoS4SendDaemonB2C 中的静态方法 +
      +
    getInstance() - +类 net.openmob.mobileimsdk.server.processor.OnlineProcessor 中的静态方法 +
    为了简化API调用,本方法将以单例的形式存活。
    getInstance() - 类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonC2S 中的静态方法
     
    getInstance() - 类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonS2C 中的静态方法
      -
    getLoginName(int) - -类 net.openmob.mobileimsdk.server.processor.UserProcessor 中的方法 -
    根据user_id获得该在线用户对应的登陆账号。 -
    getLoginName() - +
    getLoginToken() - 类 net.openmob.mobileimsdk.server.protocal.c.PLoginInfo 中的方法 -
    返回登陆时提交的用户名:此用户名对框架来说可以随意,具体意义由上层逻辑决即可 -
    getLoginNameFromSession(IoSession) - -类 net.openmob.mobileimsdk.server.processor.UserProcessor 中的静态方法 -
    尝试取出存放于用户会话中的loginName.通常只有已成功登陆验证后的用户 - 会话中才会存放它对应的登陆账号. -
    getLoginPsw() - +
    返回登陆时提交的用于身份鉴别和合法性检查的token,它可能是登陆密码,也可能是 + 通过前置单点登陆接口拿到的token等,具体意义由业务层决定。 +
    getLoginUserId() - 类 net.openmob.mobileimsdk.server.protocal.c.PLoginInfo 中的方法 -
    返回登陆时提交的密码:此密码对框架来说可以随意,具体意义由上层逻辑决即可 -
    getNextUserId(PLoginInfo) - -类 net.openmob.mobileimsdk.server.ServerCoreHandler 中的方法 -
    获取新用户的userId。 +
    返回登陆时提交的准一id,保证唯一就可以通信,可能是登陆用户名、也可 + 能是任意不重复的id等,具体意义由业务层决定。 +
    getOnlineSession(String) - +类 net.openmob.mobileimsdk.server.processor.OnlineProcessor 中的方法 +
    根据user_id获得该在线用户对应的MINA会话实例句柄。 +
    getOnlineSessions() - +类 net.openmob.mobileimsdk.server.processor.OnlineProcessor 中的方法 +
    返回用户在线列表:key=user_id、value=会话实例引用。
    getRetryCount() - 类 net.openmob.mobileimsdk.server.protocal.Protocal 中的方法
    本字段仅用于QoS时:表示丢包重试次数。 +
    getServerCoreHandler() - +类 net.openmob.mobileimsdk.server.ServerLauncher 中的方法 +
    获取 ServerCoreHandler 对象引用。 +
    getServerEventListener() - +类 net.openmob.mobileimsdk.server.ServerCoreHandler 中的方法 +
     
    getServerEventListener() - 类 net.openmob.mobileimsdk.server.ServerLauncher 中的方法
    返回服务端通用事件回调监听器对象引用。 +
    getServerMessageQoSEventListener() - +类 net.openmob.mobileimsdk.server.ServerCoreHandler 中的方法 +
     
    getServerMessageQoSEventListener() - 类 net.openmob.mobileimsdk.server.ServerLauncher 中的方法
    返回QoS机制的Server主动消息发送之质量保证事件监听器对象。 -
    getSession(int) - -类 net.openmob.mobileimsdk.server.processor.UserProcessor 中的方法 -
    根据user_id获得该在线用户对应的MINA会话实例句柄。
    getString(byte[], int) - 类 net.openmob.mobileimsdk.server.protocal.CharsetHelper 中的静态方法
    将byte数据使用服务端设定的解码方式组织成字符串。 @@ -162,19 +172,16 @@
    getType() - 类 net.openmob.mobileimsdk.server.protocal.Protocal 中的方法
    返回协议类型. -
    getUser_id() - -类 net.openmob.mobileimsdk.server.protocal.s.PLoginInfoResponse 中的方法 -
      -
    getUserIdFromSession(IoSession) - -类 net.openmob.mobileimsdk.server.processor.UserProcessor 中的静态方法 +
    getTypeu() - +类 net.openmob.mobileimsdk.server.protocal.Protocal 中的方法 +
    返回应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型。 +
    getUserIdFromSession(IoSession) - +类 net.openmob.mobileimsdk.server.processor.OnlineProcessor 中的静态方法
    尝试取出存放于用户会话中的user_id.通常只有已成功登陆验证后的用户 会话中才会存放它对应的user_id. -
    getUserNames() - -类 net.openmob.mobileimsdk.server.processor.UserProcessor 中的方法 -
    返回用户在线列表:key=user_id、value=用户登陆账号。 -
    getUserSessions() - -类 net.openmob.mobileimsdk.server.processor.UserProcessor 中的方法 -
    返回用户在线列表:key=user_id、value=会话实例引用。 +
    GlobalSendHelper - net.openmob.mobileimsdk.server.utils 中的 类
    本类提供的是公开的数据发送方法(已封装跨机器通信的桥接处理逻辑)。
    GlobalSendHelper() - +类 net.openmob.mobileimsdk.server.utils.GlobalSendHelper 的构造方法 +
     

    @@ -200,7 +207,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -229,7 +236,7 @@ -A B C D E F G H I L M N O P Q R S T U V _
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +A B C D E F G H I L M N O P Q R S T U V W _
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/index-files/index-8.html b/docs/api_docs/server/index-files/index-8.html index 28fefae1..3e4cc866 100755 --- a/docs/api_docs/server/index-files/index-8.html +++ b/docs/api_docs/server/index-files/index-8.html @@ -2,13 +2,13 @@ - + -H - 索引 (MobileIMSDK 2.1.6(Server端) API文档) +H - 索引 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="H - 索引 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="H - 索引 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -79,12 +79,12 @@ -A B C D E F G H I L M N O P Q R S T U V _
    +A B C D E F G H I L M N O P Q R S T U V W _

    H

    -
    hasRecieved(String) - -类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonC2S 中的方法 +
    hasRecieved(String) - +类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonRoot 中的方法
    指定指纹码的Protocal是否已经收到过.

    @@ -111,7 +111,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -140,7 +140,7 @@ -A B C D E F G H I L M N O P Q R S T U V _
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +A B C D E F G H I L M N O P Q R S T U V W _
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/index-files/index-9.html b/docs/api_docs/server/index-files/index-9.html index 423db045..f48a6232 100755 --- a/docs/api_docs/server/index-files/index-9.html +++ b/docs/api_docs/server/index-files/index-9.html @@ -2,13 +2,13 @@ - + -I - 索引 (MobileIMSDK 2.1.6(Server端) API文档) +I - 索引 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="I - 索引 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="I - 索引 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -79,13 +79,28 @@ -A B C D E F G H I L M N O P Q R S T U V _
    +A B C D E F G H I L M N O P Q R S T U V W _

    I

    +
    IMMQ_DECODE_CHARSET - +类 net.openmob.mobileimsdk.server.processor.BridgeProcessor 中的静态变量 +
    收到消息的字符解码格式。 +
    IMMQ_QUEUE_APP2WEB - +类 net.openmob.mobileimsdk.server.processor.BridgeProcessor 中的静态变量 +
    消息中转队列:APP端IM转发至Web端的消息,本类是此队列的生产者,表示将消息发送至Web端 +
    IMMQ_QUEUE_WEB2APP - +类 net.openmob.mobileimsdk.server.processor.BridgeProcessor 中的静态变量 +
    消息中转队列:Web端IM转发至APP端的消息,本类是此队列的消费者,表示从Web端读取消息 +
    IMMQ_URI - +类 net.openmob.mobileimsdk.server.processor.BridgeProcessor 中的静态变量 +
    消息队列服务器连接URI,形如:“amqp://admin:123456789@192.168.1.190”
    increaseRetryCount() - 类 net.openmob.mobileimsdk.server.protocal.Protocal 中的方法
    本方法仅用于QoS时:选出包重试次数+1。 +
    init() - +类 net.nettime.mobileimsdk.server.bridge.MQProvider 中的方法 +
     
    initAcceptor() - 类 net.openmob.mobileimsdk.server.ServerLauncher 中的方法
    初始化服务端的数据监听Socket. @@ -101,17 +116,29 @@
    initSessionConfig(NioDatagramAcceptor) - 类 net.openmob.mobileimsdk.server.ServerLauncher 中的方法
    初始化MINA的UDP会话配置. -
    isLogined(IoSession) - -类 net.openmob.mobileimsdk.server.processor.UserProcessor 中的静态方法 +
    isBridge() - +类 net.openmob.mobileimsdk.server.protocal.Protocal 中的方法 +
    是否来自跨服务器的消息,true表示是、否则不是。 +
    isDebugable() - +类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonRoot 中的方法 +
      +
    isDebugable() - +类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonRoot 中的方法 +
      +
    isLogined(IoSession) - +类 net.openmob.mobileimsdk.server.processor.OnlineProcessor 中的静态方法
    该用户会话是否是合法的(已登陆认证)。 +
    isOnline(String) - +类 net.openmob.mobileimsdk.server.processor.OnlineProcessor 中的静态方法 +
    指定用户ID的用户是否在线。
    isQoS() - 类 net.openmob.mobileimsdk.server.protocal.Protocal 中的方法
    是否需QoS支持。 -
    isRunning() - -类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonC2S 中的方法 +
    isRunning() - +类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonRoot 中的方法
    线程是否正在运行中。 -
    isRunning() - -类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonS2C 中的方法 +
    isRunning() - +类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonRoot 中的方法
    线程是否正在运行中。
    isRunning() - 类 net.openmob.mobileimsdk.server.ServerLauncher 中的方法 @@ -141,7 +168,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -170,7 +197,7 @@ -A B C D E F G H I L M N O P Q R S T U V _
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +A B C D E F G H I L M N O P Q R S T U V W _
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/index.html b/docs/api_docs/server/index.html index d4c85fff..830688e6 100755 --- a/docs/api_docs/server/index.html +++ b/docs/api_docs/server/index.html @@ -2,10 +2,10 @@ - + -MobileIMSDK 2.1.6(Server端) API文档 +MobileIMSDK 3.0(Server端) API文档 + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    + +

    + +net.nettime.mobileimsdk.server.bridge +
    +类 MQProvider

    +
    +java.lang.Object
    +  继承者 net.nettime.mobileimsdk.server.bridge.MQProvider
    +
    +
    +
    直接已知子类:
    BridgeProcessor
    +
    +
    +
    +
    public class MQProvider
    extends java.lang.Object
    + + +

    +一个可重用的RabbitMQ服务提供者类,可供处理一个生产者队列和一个消费者队列。 +

    + 本类的代码经过高度提炼和内聚,不限于MobileIMSDK使用,可用于任意合适场景。 +

    + 【本类中实现的功能有】:
    +

      +
    • 1)一个消息生产者(子类可决定是否使用);
    • +
    • 2)一个消息消费者(子类可决定是否使用);
    • +
    • 3)与MQ服务器的断线重连和恢复能力;
    • +
    • 4)发送出错暂存到缓存数组(内存中),并在下次重连正常时自动重发;
    • +
    • 5)遵照官方的最佳实践:复用同的是一个连接(connection)、各自两个channel(一个用于生产者、一个用于消费者);
    • +
    • 6)消费者手动ACK能力:业务层处理不成功可重新放回队列。
    • +
    +

    + +

    +

    +
    从以下版本开始:
    +
    3.0
    +
    作者:
    +
    Jack Jiang, 2016-09-14
    +
    +
    + +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +字段摘要
    +protected  com.rabbitmq.client.Connection_connection + +
    +           
    +protected  com.rabbitmq.client.ConnectionFactory_factory + +
    +           
    +protected  com.rabbitmq.client.Channel_pubChannel + +
    +           
    +protected  java.util.ObserverconsumerObserver + +
    +          本类中消费者收到的消息通过此观察者进行回调通知
    +protected  java.lang.StringconsumFromQueue + +
    +          消费者消息中转队列名:本类是此队列的消费者,将从其中读取消息
    +protected  java.lang.StringdecodeCharset + +
    +          收到消息的字符解码格式
    +static java.lang.StringDEFAULT_DECODE_CHARSET + +
    +          收到消息的字符解码格式。
    +static java.lang.StringDEFAULT_ENCODE_CHARSET + +
    +          发出消息的字符编码格式。
    +protected  java.lang.StringencodeCharset + +
    +          发出消息的字符编码格式
    +protected  java.lang.StringmqURI + +
    +          消息队列服务器连接URI,形如:“amqp://admin:123456789@192.168.1.190”
    +protected  java.lang.StringpublishToQueue + +
    +          生产者消息中转队列名:本类是此队列的生产者,会将消息发送至此
    +protected  java.util.concurrent.ConcurrentLinkedQueue<java.lang.String[]>publishTrayAgainCache + +
    +          本地生产者用的暂存消息队列:因为当发送消息时,可能连接等原因导致此次消息没有成功发出, + 那么暂存至此列表中,以备下次连接恢复时,再次由本类自动完成发送,从而确保消息不丢并确保送达。
    +protected  booleanpublishTrayAgainEnable + +
    +          是否支持再次发送:true表示本地生产者发送失败时(比如连接MQ服务器不成功等情况)暂时缓存到本地内 + 存 publishTrayAgainCache 中,等到与MQ中间件的连接成功时,自动再次尝试发送此缓存队列,从而保 + 证生产者本来要发生送的消息在异常发生的情况下能再次发送直到成功。
    +protected  booleanretryWorkerRunning + +
    +          此标识仅用于防止worker失败重试时因TimeTask的异步执行而发生重复执行的可能,仅此而已
    +protected  booleanstartRunning + +
    +          此标识仅用于防止首次连接失败重试时因TimeTask的异步执行而发生重复执行的可能,仅此而已
    +protected  java.lang.StringTAG + +
    +          TAG for log
    +protected  java.util.TimertimerForRetryWorker + +
    +          本定时的作用是当worker启动或运行过程中出错时,可以自动进行恢复,而不至于丧失功能
    +protected  java.util.TimertimerForStartAgain + +
    +          【说明】:RabittMQ的Java客户端的automaticRecovery只在连接成功后才会启动,像 + 这种首次连接时服务器根本就没开或者本地网络故障等,首次无法成功建立Connection的 + ,connction返回直接是null,当然就不存在automaticRecovery能力了,所以需要自已 + 来尝试重新start,一定要注意思路哦,别理解乱了。
    +  + + + + + + + + + + + + + +
    +构造方法摘要
    MQProvider(java.lang.String mqURI, + java.lang.String publishToQueue, + java.lang.String consumFromQueue, + java.lang.String TAG, + boolean publishTrayAgainEnable) + +
    +          新建一个MQProvider对象(使用默认字符编码)。
    MQProvider(java.lang.String mqURI, + java.lang.String publishToQueue, + java.lang.String consumFromQueue, + java.lang.String encodeCharset, + java.lang.String decodeCharset, + java.lang.String TAG, + boolean publishTrayAgainEnable) + +
    +          新建一个MQProvider对象。
    +  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +方法摘要
    +protected  booleaninit() + +
    +           
    + booleanpublish(java.lang.String message) + +
    +          Method to publish a message, will queue messages internally + if the connection is down and resend later.
    +protected  booleanpublish(java.lang.String exchangeName, + java.lang.String routingKey, + java.lang.String message) + +
    +          Method to publish a message, will queue messages internally + if the connection is down and resend later.
    + voidstart() + +
    +          调用者必须显示调用本方法才能启动本provider的整个执行策略。
    +protected  voidstartPublisher(com.rabbitmq.client.Connection conn) + +
    +           
    +protected  voidstartWorker(com.rabbitmq.client.Connection conn) + +
    +           
    +protected  com.rabbitmq.client.ConnectiontryGetConnection() + +
    +          返回Connection实例,如果connection不存在则新建一个。
    +protected  voidwhenConnected(com.rabbitmq.client.Connection conn) + +
    +           
    +protected  booleanwork(byte[] contentBody) + +
    +          处理接收到的消息。
    + + + + + + + +
    从类 java.lang.Object 继承的方法
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +  +

    + + + + + + + + +
    +字段详细信息
    + +

    +DEFAULT_ENCODE_CHARSET

    +
    +public static final java.lang.String DEFAULT_ENCODE_CHARSET
    +
    +
    发出消息的字符编码格式。默认utf-8。 +

    +

    +
    另请参见:
    常量字段值
    +
    +
    + +

    +DEFAULT_DECODE_CHARSET

    +
    +public static final java.lang.String DEFAULT_DECODE_CHARSET
    +
    +
    收到消息的字符解码格式。默认utf-8。 +

    +

    +
    另请参见:
    常量字段值
    +
    +
    + +

    +_factory

    +
    +protected com.rabbitmq.client.ConnectionFactory _factory
    +
    +
    +
    +
    +
    + +

    +_connection

    +
    +protected com.rabbitmq.client.Connection _connection
    +
    +
    +
    +
    +
    + +

    +_pubChannel

    +
    +protected com.rabbitmq.client.Channel _pubChannel
    +
    +
    +
    +
    +
    + +

    +timerForStartAgain

    +
    +protected final java.util.Timer timerForStartAgain
    +
    +
    【说明】:RabittMQ的Java客户端的automaticRecovery只在连接成功后才会启动,像 + 这种首次连接时服务器根本就没开或者本地网络故障等,首次无法成功建立Connection的 + ,connction返回直接是null,当然就不存在automaticRecovery能力了,所以需要自已 + 来尝试重新start,一定要注意思路哦,别理解乱了。 +

    +

    +
    +
    +
    + +

    +startRunning

    +
    +protected boolean startRunning
    +
    +
    此标识仅用于防止首次连接失败重试时因TimeTask的异步执行而发生重复执行的可能,仅此而已 +

    +

    +
    +
    +
    + +

    +timerForRetryWorker

    +
    +protected final java.util.Timer timerForRetryWorker
    +
    +
    本定时的作用是当worker启动或运行过程中出错时,可以自动进行恢复,而不至于丧失功能 +

    +

    +
    +
    +
    + +

    +retryWorkerRunning

    +
    +protected boolean retryWorkerRunning
    +
    +
    此标识仅用于防止worker失败重试时因TimeTask的异步执行而发生重复执行的可能,仅此而已 +

    +

    +
    +
    +
    + +

    +publishTrayAgainCache

    +
    +protected java.util.concurrent.ConcurrentLinkedQueue<java.lang.String[]> publishTrayAgainCache
    +
    +
    本地生产者用的暂存消息队列:因为当发送消息时,可能连接等原因导致此次消息没有成功发出, + 那么暂存至此列表中,以备下次连接恢复时,再次由本类自动完成发送,从而确保消息不丢并确保送达。 +

    +

    +
    +
    +
    + +

    +publishTrayAgainEnable

    +
    +protected boolean publishTrayAgainEnable
    +
    +
    是否支持再次发送:true表示本地生产者发送失败时(比如连接MQ服务器不成功等情况)暂时缓存到本地内 + 存 publishTrayAgainCache 中,等到与MQ中间件的连接成功时,自动再次尝试发送此缓存队列,从而保 + 证生产者本来要发生送的消息在异常发生的情况下能再次发送直到成功。默认false。 + +

    + 【注意】:不是所有情况下都需要在发送失败的情况下保存在缓存中以备再次尝试,比如MobileIMSDKX的跨服桥接消息的发送: + ##### 为了让publish调用时能准确地反应出是否发送成功(而不需要在没发送成功时自动再次发送) + ##### ,暂时关闭了此离线再发功能,也许以后的其它逻辑中用的上,但还是暂时取消了相关代码!! + ##### 【JS认为】桥接转发如不成功就应该立即由调用者知道,不然有此离线功能的话就会导致为何消息 + ##### 报已发出,但就是没有收到的问题,这对调试和用户体验都不利! +

    +

    +
    +
    +
    + +

    +consumerObserver

    +
    +protected java.util.Observer consumerObserver
    +
    +
    本类中消费者收到的消息通过此观察者进行回调通知 +

    +

    +
    +
    +
    + +

    +encodeCharset

    +
    +protected java.lang.String encodeCharset
    +
    +
    发出消息的字符编码格式 +

    +

    +
    +
    +
    + +

    +decodeCharset

    +
    +protected java.lang.String decodeCharset
    +
    +
    收到消息的字符解码格式 +

    +

    +
    +
    +
    + +

    +mqURI

    +
    +protected java.lang.String mqURI
    +
    +
    消息队列服务器连接URI,形如:“amqp://admin:123456789@192.168.1.190” +

    +

    +
    +
    +
    + +

    +publishToQueue

    +
    +protected java.lang.String publishToQueue
    +
    +
    生产者消息中转队列名:本类是此队列的生产者,会将消息发送至此 +

    +

    +
    +
    +
    + +

    +consumFromQueue

    +
    +protected java.lang.String consumFromQueue
    +
    +
    消费者消息中转队列名:本类是此队列的消费者,将从其中读取消息 +

    +

    +
    +
    +
    + +

    +TAG

    +
    +protected java.lang.String TAG
    +
    +
    TAG for log +

    +

    +
    +
    + + + + + + + + +
    +构造方法详细信息
    + +

    +MQProvider

    +
    +public MQProvider(java.lang.String mqURI,
    +                  java.lang.String publishToQueue,
    +                  java.lang.String consumFromQueue,
    +                  java.lang.String TAG,
    +                  boolean publishTrayAgainEnable)
    +
    +
    新建一个MQProvider对象(使用默认字符编码)。 +

    +

    +
    参数:
    mqURI - 消息队列服务器连接URI,形如:“amqp://admin:123456789@192.168.1.190”
    publishToQueue - 生产者消息中转队列名:本类是此队列的生产者,会将消息发送至此
    consumFromQueue - 消费者消息中转队列名:本类是此队列的消费者,将从其中读取消息
    publishTrayAgainEnable - 是否支持再次发送:true表示本地生产者发送失败时(比如连接MQ服务器不成功等情况)暂时缓存到本地内 + 存 publishTrayAgainCache 中,等到与MQ中间件的连接成功时,自动再次尝试发送此缓存队列。默认false。
    另请参见:
    MQProvider(String, String, String, String, String, String, boolean)
    +
    +
    + +

    +MQProvider

    +
    +public MQProvider(java.lang.String mqURI,
    +                  java.lang.String publishToQueue,
    +                  java.lang.String consumFromQueue,
    +                  java.lang.String encodeCharset,
    +                  java.lang.String decodeCharset,
    +                  java.lang.String TAG,
    +                  boolean publishTrayAgainEnable)
    +
    +
    新建一个MQProvider对象。 +

    +

    +
    参数:
    mqURI - 消息队列服务器连接URI,形如:“amqp://admin:123456789@192.168.1.190”
    publishToQueue - 生产者消息中转队列名:本类是此队列的生产者,会将消息发送至此
    consumFromQueue - 消费者消息中转队列名:本类是此队列的消费者,将从其中读取消息
    encodeCharset - 发出消息的字符编码格式
    decodeCharset - 收到消息的字符解码格式
    TAG - 用于log显示时的前缀,仅此而已
    publishTrayAgainEnable - 是否支持再次发送:true表示本地生产者发送失败时(比如连接MQ服务器不成功等情况)暂时缓存到本地内 + 存 publishTrayAgainCache 中,等到与MQ中间件的连接成功时,自动再次尝试发送此缓存队列。默认false。
    +
    + + + + + + + + +
    +方法详细信息
    + +

    +init

    +
    +protected boolean init()
    +
    +
    +
    +
    +
    +
    + +

    +tryGetConnection

    +
    +protected com.rabbitmq.client.Connection tryGetConnection()
    +
    +
    返回Connection实例,如果connection不存在则新建一个。 +

    +

    + +
    返回:
    Connection被成功创建则返回它的实例引用,否则返回null
    +
    +
    +
    + +

    +start

    +
    +public void start()
    +
    +
    调用者必须显示调用本方法才能启动本provider的整个执行策略。 +

    +

    +
    +
    +
    +
    + +

    +whenConnected

    +
    +protected void whenConnected(com.rabbitmq.client.Connection conn)
    +
    +
    +
    +
    +
    +
    + +

    +startPublisher

    +
    +protected void startPublisher(com.rabbitmq.client.Connection conn)
    +
    +
    +
    +
    +
    +
    + +

    +publish

    +
    +public boolean publish(java.lang.String message)
    +
    +
    Method to publish a message, will queue messages internally + if the connection is down and resend later. +

    + 向默认的exchange和队列进行发送。 +

    +

    +
    参数:
    message - +
    返回:
    true表示发送成功,否则表示未发送失败
    另请参见:
    #IMMQ_QUEUE_APP2WEB
    +
    +
    +
    + +

    +publish

    +
    +protected boolean publish(java.lang.String exchangeName,
    +                          java.lang.String routingKey,
    +                          java.lang.String message)
    +
    +
    Method to publish a message, will queue messages internally + if the connection is down and resend later. +

    +

    +
    参数:
    exchangeName -
    routingKey -
    message - +
    返回:
    true表示发送成功,否则表示未发送失败
    +
    +
    +
    + +

    +startWorker

    +
    +protected void startWorker(com.rabbitmq.client.Connection conn)
    +
    +
    +
    +
    +
    +
    + +

    +work

    +
    +protected boolean work(byte[] contentBody)
    +
    +
    处理接收到的消息。子类需要重写本方法以便实现自已的处理逻辑,本方法默认只作为log输出使用! +

    + 特别注意:本方法一旦返回false则消息将被MQ服务器重新放入队列, + 请一定注意false是你需要的,不然消息会重复哦。 +

    +

    +
    参数:
    contentBody - 从MQ服务器取到的消息内容byte数组 +
    返回:
    true表示此消息处理成功(本类将回复ACK给MQ服务端,服务端队列中会交此消息正常删除), + 否则不成功(本类将通知MQ服务器将该条消息重新放回队列,以备下次再次获取)。
    +
    +
    + +
    + + + + + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/QoS4ReciveDaemonC2B.html b/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/QoS4ReciveDaemonC2B.html new file mode 100755 index 00000000..988420e2 --- /dev/null +++ b/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/QoS4ReciveDaemonC2B.html @@ -0,0 +1,278 @@ + + + + + + + +QoS4ReciveDaemonC2B (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    + +

    + +net.nettime.mobileimsdk.server.bridge +
    +类 QoS4ReciveDaemonC2B

    +
    +java.lang.Object
    +  继承者 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonRoot
    +      继承者 net.nettime.mobileimsdk.server.bridge.QoS4ReciveDaemonC2B
    +
    +
    +
    +
    public class QoS4ReciveDaemonC2B
    extends QoS4ReciveDaemonRoot
    + + +

    +异构服务器消息转发模式下QoS机制之对已收到包进行有限生命周期存储并提供 + 重复性判断的守护线程实现类。 +

    + "C2B" means "client to bridge". +

    + +

    +

    +
    从以下版本开始:
    +
    3.0
    +
    版本:
    +
    1.0
    +
    作者:
    +
    Jack Jiang, 2016-09-18
    +
    +
    + +

    + + + + + + + + + + + +
    +构造方法摘要
    QoS4ReciveDaemonC2B() + +
    +           
    +  + + + + + + + + + + + +
    +方法摘要
    +static QoS4ReciveDaemonC2BgetInstance() + +
    +           
    + + + + + + + +
    从类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonRoot 继承的方法
    addRecieved, addRecieved, hasRecieved, isDebugable, isRunning, setDebugable, size, startup, stop
    + + + + + + + +
    从类 java.lang.Object 继承的方法
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +  +

    + + + + + + + + +
    +构造方法详细信息
    + +

    +QoS4ReciveDaemonC2B

    +
    +public QoS4ReciveDaemonC2B()
    +
    +
    + + + + + + + + +
    +方法详细信息
    + +

    +getInstance

    +
    +public static QoS4ReciveDaemonC2B getInstance()
    +
    +
    +
    +
    +
    + +
    + + + + + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/QoS4SendDaemonB2C.html b/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/QoS4SendDaemonB2C.html new file mode 100755 index 00000000..6f0bb3c8 --- /dev/null +++ b/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/QoS4SendDaemonB2C.html @@ -0,0 +1,244 @@ + + + + + + + +QoS4SendDaemonB2C (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    + +

    + +net.nettime.mobileimsdk.server.bridge +
    +类 QoS4SendDaemonB2C

    +
    +java.lang.Object
    +  继承者 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonRoot
    +      继承者 net.nettime.mobileimsdk.server.bridge.QoS4SendDaemonB2C
    +
    +
    +
    +
    public class QoS4SendDaemonB2C
    extends QoS4SendDaemonRoot
    + + +

    +异构服务器消息转发模式下QoS机制之消息发送质量保证队列的守护线程实现类。 +

    + "B2C" means "bridge to client". +

    + +

    +

    +
    从以下版本开始:
    +
    3.0
    +
    版本:
    +
    1.0
    +
    作者:
    +
    Jack Jiang, 2016-09-18
    +
    +
    + +

    + + + + + + + + + + + + +
    +方法摘要
    +static QoS4SendDaemonB2CgetInstance() + +
    +           
    + + + + + + + +
    从类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonRoot 继承的方法
    exist, isDebugable, isRunning, notifyMessageLost, put, remove, setDebugable, setServerLauncher, size, startup, stop
    + + + + + + + +
    从类 java.lang.Object 继承的方法
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +  +

    + + + + + + + + +
    +方法详细信息
    + +

    +getInstance

    +
    +public static QoS4SendDaemonB2C getInstance()
    +
    +
    +
    +
    +
    + +
    + + + + + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/class-use/MQProvider.html b/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/class-use/MQProvider.html new file mode 100755 index 00000000..1afc67c8 --- /dev/null +++ b/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/class-use/MQProvider.html @@ -0,0 +1,181 @@ + + + + + + + +类 net.nettime.mobileimsdk.server.bridge.MQProvider 的使用 (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    +

    +类 net.nettime.mobileimsdk.server.bridge.MQProvider
    的使用

    +
    + + + + + + + + + +
    +使用 MQProvider 的软件包
    net.openmob.mobileimsdk.server.processor各种具体业务逻辑实现类, since 3.0。 
    +  +

    + + + + + +
    +net.openmob.mobileimsdk.server.processorMQProvider 的使用
    +  +

    + + + + + + + + + +
    net.openmob.mobileimsdk.server.processorMQProvider 的子类
    + classBridgeProcessor + +
    +          用作异构平台IM消息交互的桥接服务提供者。
    +  +

    +


    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/class-use/QoS4ReciveDaemonC2B.html b/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/class-use/QoS4ReciveDaemonC2B.html new file mode 100755 index 00000000..0f8b07c4 --- /dev/null +++ b/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/class-use/QoS4ReciveDaemonC2B.html @@ -0,0 +1,181 @@ + + + + + + + +类 net.nettime.mobileimsdk.server.bridge.QoS4ReciveDaemonC2B 的使用 (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    +

    +类 net.nettime.mobileimsdk.server.bridge.QoS4ReciveDaemonC2B
    的使用

    +
    + + + + + + + + + +
    +使用 QoS4ReciveDaemonC2B 的软件包
    net.nettime.mobileimsdk.server.bridge实现跨IM实例进行消息互通的类, since 3.0。 
    +  +

    + + + + + +
    +net.nettime.mobileimsdk.server.bridgeQoS4ReciveDaemonC2B 的使用
    +  +

    + + + + + + + + + +
    返回 QoS4ReciveDaemonC2Bnet.nettime.mobileimsdk.server.bridge 中的方法
    +static QoS4ReciveDaemonC2BQoS4ReciveDaemonC2B.getInstance() + +
    +           
    +  +

    +


    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/class-use/QoS4SendDaemonB2C.html b/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/class-use/QoS4SendDaemonB2C.html new file mode 100755 index 00000000..5112ca00 --- /dev/null +++ b/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/class-use/QoS4SendDaemonB2C.html @@ -0,0 +1,181 @@ + + + + + + + +类 net.nettime.mobileimsdk.server.bridge.QoS4SendDaemonB2C 的使用 (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    +

    +类 net.nettime.mobileimsdk.server.bridge.QoS4SendDaemonB2C
    的使用

    +
    + + + + + + + + + +
    +使用 QoS4SendDaemonB2C 的软件包
    net.nettime.mobileimsdk.server.bridge实现跨IM实例进行消息互通的类, since 3.0。 
    +  +

    + + + + + +
    +net.nettime.mobileimsdk.server.bridgeQoS4SendDaemonB2C 的使用
    +  +

    + + + + + + + + + +
    返回 QoS4SendDaemonB2Cnet.nettime.mobileimsdk.server.bridge 中的方法
    +static QoS4SendDaemonB2CQoS4SendDaemonB2C.getInstance() + +
    +           
    +  +

    +


    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/package-frame.html b/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/package-frame.html new file mode 100755 index 00000000..3c24e0be --- /dev/null +++ b/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/package-frame.html @@ -0,0 +1,37 @@ + + + + + + + +net.nettime.mobileimsdk.server.bridge (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + +net.nettime.mobileimsdk.server.bridge + + + + +
    +类  + +
    +MQProvider +
    +QoS4ReciveDaemonC2B +
    +QoS4SendDaemonB2C
    + + + + diff --git a/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/package-summary.html b/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/package-summary.html new file mode 100755 index 00000000..f1ebd4d2 --- /dev/null +++ b/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/package-summary.html @@ -0,0 +1,182 @@ + + + + + + + +net.nettime.mobileimsdk.server.bridge (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +

    +软件包 net.nettime.mobileimsdk.server.bridge +

    +实现跨IM实例进行消息互通的类, since 3.0。 +

    +请参见: +
    +          描述 +

    + + + + + + + + + + + + + + + + + +
    +类摘要
    MQProvider一个可重用的RabbitMQ服务提供者类,可供处理一个生产者队列和一个消费者队列。
    QoS4ReciveDaemonC2B异构服务器消息转发模式下QoS机制之对已收到包进行有限生命周期存储并提供 + 重复性判断的守护线程实现类。
    QoS4SendDaemonB2C异构服务器消息转发模式下QoS机制之消息发送质量保证队列的守护线程实现类。
    +  + +

    +

    +软件包 net.nettime.mobileimsdk.server.bridge 的描述 +

    + +

    +实现跨IM实例进行消息互通的类, since 3.0。 +

    + +

    +

    +
    +
    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/package-tree.html b/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/package-tree.html new file mode 100755 index 00000000..117a4949 --- /dev/null +++ b/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/package-tree.html @@ -0,0 +1,158 @@ + + + + + + + +net.nettime.mobileimsdk.server.bridge 类分层结构 (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    +

    +软件包 net.nettime.mobileimsdk.server.bridge 的分层结构 +

    +
    +
    +
    软件包分层结构:
    所有软件包
    +
    +

    +类分层结构 +

    + +
    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/package-use.html b/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/package-use.html new file mode 100755 index 00000000..ee88dea2 --- /dev/null +++ b/docs/api_docs/server/net/nettime/mobileimsdk/server/bridge/package-use.html @@ -0,0 +1,197 @@ + + + + + + + +软件包 net.nettime.mobileimsdk.server.bridge 的使用 (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    +

    +软件包 net.nettime.mobileimsdk.server.bridge
    的使用

    +
    + + + + + + + + + + + + + +
    +使用 net.nettime.mobileimsdk.server.bridge 的软件包
    net.nettime.mobileimsdk.server.bridge实现跨IM实例进行消息互通的类, since 3.0。 
    net.openmob.mobileimsdk.server.processor各种具体业务逻辑实现类, since 3.0。 
    +  +

    + + + + + + + + + + + +
    +net.nettime.mobileimsdk.server.bridge 使用的 net.nettime.mobileimsdk.server.bridge 中的类
    QoS4ReciveDaemonC2B + +
    +          异构服务器消息转发模式下QoS机制之对已收到包进行有限生命周期存储并提供 + 重复性判断的守护线程实现类。
    QoS4SendDaemonB2C + +
    +          异构服务器消息转发模式下QoS机制之消息发送质量保证队列的守护线程实现类。
    +  +

    + + + + + + + + +
    +net.openmob.mobileimsdk.server.processor 使用的 net.nettime.mobileimsdk.server.bridge 中的类
    MQProvider + +
    +          一个可重用的RabbitMQ服务提供者类,可供处理一个生产者队列和一个消费者队列。
    +  +

    +


    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/ServerCoreHandler.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/ServerCoreHandler.html index dc1e86c4..6a12576c 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/ServerCoreHandler.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/ServerCoreHandler.html @@ -2,13 +2,13 @@ - + -ServerCoreHandler (MobileIMSDK 2.1.6(Server端) API文档) +ServerCoreHandler (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="ServerCoreHandler (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="ServerCoreHandler (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -77,9 +77,9 @@ - 摘要: 嵌套 | 字段 | 构造方法 | 方法 + 摘要: 嵌套 | 字段 | 构造方法 | 方法
    -详细信息: 字段 | 构造方法 | 方法 +详细信息: 字段 | 构造方法 | 方法 @@ -118,11 +118,54 @@

    1.0
    作者:
    Jack Jiang, 2013-10-03
    -

    +
    另请参见:
    LogicProcessor, +BridgeProcessor, +OnlineProcessor

    + + + + + + + + + + + + + + + + + + + + + + + +
    +字段摘要
    +protected  BridgeProcessorbridgeProcessor + +
    +          跨机器通信中间件服务提供者.
    +protected  LogicProcessorlogicProcessor + +
    +          IM消息逻辑处理器(真正的算法实现都在此类中处理).
    +protected  ServerEventListenerserverEventListener + +
    +          服务端事件回调实现
    +protected  MessageQoSEventListenerS2CserverMessageQoSEventListener +
    +          QoS机制下的S2C模式中,由服务端主动发起消息的QoS事件回调实现
    @@ -135,7 +178,7 @@

    ServerCoreHandler()
    -            +          构造方法。   @@ -149,72 +192,69 @@

    -static java.lang.String -clientInfoToString(org.apache.mina.core.session.IoSession session) +protected  BridgeProcessor +createBridgeProcessor()
    -          获取对应Session的信息(如session中存放的user_id、登陆名、ip地址和端口等)。 +          新建跨机器通信消息中间件服务提供者。 - void -exceptionCaught(org.apache.mina.core.session.IoSession session, - java.lang.Throwable cause) +protected  LogicProcessor +createLogicProcessor()
    -          MINA的异常回调方法。 +          创建MobileIMSDK框架核心层的数据交互处理逻辑封装对象。 -static java.lang.String -fromIOBuffer_JSON(org.apache.mina.core.buffer.IoBuffer buffer) + void +exceptionCaught(org.apache.mina.core.session.IoSession session, + java.lang.Throwable cause)
    -          从MINA的原始数据对象中解析出MobileIMSDK的完整协议内容(Protocal对象的JSON表示形式)。 +          MINA的异常回调方法。 -static Protocal -fromIOBuffer(org.apache.mina.core.buffer.IoBuffer buffer) + BridgeProcessor +getBridgeProcessor()
    -          从MINA的原始数据对象中解析出MobileIMSDK的完整协议内容(Protocal对象)。 +          获得本类对应的BridgeProcessor对象引用。 -protected  int -getNextUserId(PLoginInfo loginInfo) + ServerEventListener +getServerEventListener()
    -          获取新用户的userId。 +            - void -messageReceived(org.apache.mina.core.session.IoSession session, - java.lang.Object message) + MessageQoSEventListenerS2C +getServerMessageQoSEventListener()
    -          MINA框架中收到客户端消息的回调方法。 +            -protected  boolean -replyDataForUnlogined(org.apache.mina.core.session.IoSession session, - Protocal p) + void +lazyStartupBridgeProcessor()
    -          当服务端检测到用户尚未登陆(或登陆会话已失效时)由服务端回复给 - 客户端的消息。 +          单独的方法启动跨服务器通信桥接处理器,防止出现交叉引用而发生不可预知的错误。 -protected  boolean -replyDelegateRecievedBack(org.apache.mina.core.session.IoSession session, - Protocal pFromClient) + void +messageReceived(org.apache.mina.core.session.IoSession session, + java.lang.Object message)
    -          服务端回复伪应答包(给客户端发送方)。 +          MINA框架中收到客户端消息的回调方法。 @@ -256,7 +296,7 @@

    从类 org.apache.mina.core.service.IoHandlerAdapter 继承的方法 -messageSent +inputClosed, messageSent   @@ -271,6 +311,67 @@

     

    + + + + + + + +
    +字段详细信息
    + +

    +serverEventListener

    +
    +protected ServerEventListener serverEventListener
    +
    +
    服务端事件回调实现 +

    +

    +
    +
    +
    + +

    +serverMessageQoSEventListener

    +
    +protected MessageQoSEventListenerS2C serverMessageQoSEventListener
    +
    +
    QoS机制下的S2C模式中,由服务端主动发起消息的QoS事件回调实现 +

    +

    +
    +
    +
    + +

    +logicProcessor

    +
    +protected LogicProcessor logicProcessor
    +
    +
    IM消息逻辑处理器(真正的算法实现都在此类中处理). +

    +

    +
    从以下版本开始:
    +
    3.0
    +
    +
    +
    + +

    +bridgeProcessor

    +
    +protected BridgeProcessor bridgeProcessor
    +
    +
    跨机器通信中间件服务提供者. +

    +

    +
    从以下版本开始:
    +
    3.0
    +
    +
    + @@ -286,6 +387,12 @@

     public ServerCoreHandler()
    +
    构造方法。 +

    +

    +
    另请参见:
    createLogicProcessor(), +ServerLauncher.bridgeEnabled, +createBridgeProcessor()
    @@ -298,115 +405,101 @@

    -

    -exceptionCaught

    +

    +createLogicProcessor

    -public void exceptionCaught(org.apache.mina.core.session.IoSession session,
    -                            java.lang.Throwable cause)
    -                     throws java.lang.Exception
    +protected LogicProcessor createLogicProcessor()
    -
    MINA的异常回调方法。 +
    创建MobileIMSDK框架核心层的数据交互处理逻辑封装对象。

    - 本类中将在异常发生时,立即close当前会话。 + 子类可继承本方法实现自已的逻辑,但在您没有完全掌握MobileIMSDK算法前不建议这样做。

    -
    指定者:
    接口 org.apache.mina.core.service.IoHandler 中的 exceptionCaught
    覆盖:
    org.apache.mina.core.service.IoHandlerAdapter 中的 exceptionCaught
    -
    -
    -
    参数:
    session - 发生异常的会话
    cause - 异常内容 -
    抛出: -
    java.lang.Exception
    另请参见:
    IoSession.close(boolean)
    + +
    返回:
    返回新的LogicProcessor对象
    从以下版本开始:
    +
    3.0
    +
    另请参见:
    LogicProcessor


    -

    -messageReceived

    +

    +createBridgeProcessor

    -public void messageReceived(org.apache.mina.core.session.IoSession session,
    -                            java.lang.Object message)
    -                     throws java.lang.Exception
    +protected BridgeProcessor createBridgeProcessor()
    -
    MINA框架中收到客户端消息的回调方法。 +
    新建跨机器通信消息中间件服务提供者。

    - 本类将在此方法中实现完整的即时通讯数据交互和处理策略。 -

    - 为了提升并发性能,本方法将运行在独立于MINA的IoProcessor之外的线程池中, - 详见 ServerLauncher.initAcceptor()中的MINA设置代码 。 + 子类可继承本方法实现自已的逻辑,但在您没有完全掌握MobileIMSDK算法前不建议这样做。

    -
    指定者:
    接口 org.apache.mina.core.service.IoHandler 中的 messageReceived
    覆盖:
    org.apache.mina.core.service.IoHandlerAdapter 中的 messageReceived
    -
    -
    -
    参数:
    session - 收到消息对应的会话引用
    message - 收到的MINA的原始消息封装对象,本类中是 IoBuffer对象 -
    抛出: -
    java.lang.Exception - 当有错误发生时将抛出异常
    + +
    返回:
    返回新的BridgeProcessor对象
    从以下版本开始:
    +
    3.0
    +
    另请参见:
    BridgeProcessor

    -

    -getNextUserId

    +

    +lazyStartupBridgeProcessor

    -protected int getNextUserId(PLoginInfo loginInfo)
    +public void lazyStartupBridgeProcessor()
    -
    获取新用户的userId。 +
    单独的方法启动跨服务器通信桥接处理器,防止出现交叉引用而发生不可预知的错误。

    - 目前的新用户userId生成算法默认使用的是有序整数,对安全性不利,开 - 发者可自行实现userId生成算法,生成的userId只要保证不重复即可! + 本方法只在 ServerLauncher.bridgeEnabled == true时才会真实启动桥接处理器。

    -
    参数:
    loginInfo - 用户提交的登陆信息(包含登陆名、密码等),本参数在实现自定义的userId生成时 - 可能会有用,请自行决定(框架中的默认实现只是传过来,但并未使用之) -
    返回:
    新生成的userId
    从以下版本开始:
    -
    2.1.3
    -
    另请参见:
    UserProcessor.nextUserId(PLoginInfo)
    +
    另请参见:
    ServerLauncher.bridgeEnabled, +MQProvider.start()

    -

    -replyDataForUnlogined

    +

    +exceptionCaught

    -protected boolean replyDataForUnlogined(org.apache.mina.core.session.IoSession session,
    -                                        Protocal p)
    -                                 throws java.lang.Exception
    +public void exceptionCaught(org.apache.mina.core.session.IoSession session, + java.lang.Throwable cause) + throws java.lang.Exception
    -
    当服务端检测到用户尚未登陆(或登陆会话已失效时)由服务端回复给 - 客户端的消息。 +
    MINA的异常回调方法。 +

    + 本类中将在异常发生时,立即close当前会话。

    -
    参数:
    session - 被回复的会话
    p - 回复的数据包 -
    返回:
    true表示包已发出,否则发送失败 +
    指定者:
    接口 org.apache.mina.core.service.IoHandler 中的 exceptionCaught
    覆盖:
    org.apache.mina.core.service.IoHandlerAdapter 中的 exceptionCaught
    +
    +
    +
    参数:
    session - 发生异常的会话
    cause - 异常内容
    抛出: -
    java.lang.Exception - 发生时出错将抛出本异常
    另请参见:
    sendData(IoSession, Protocal)
    +
    java.lang.Exception
    另请参见:
    IoSession.close(boolean)

    -

    -replyDelegateRecievedBack

    +

    +messageReceived

    -protected boolean replyDelegateRecievedBack(org.apache.mina.core.session.IoSession session,
    -                                            Protocal pFromClient)
    -                                     throws java.lang.Exception
    +public void messageReceived(org.apache.mina.core.session.IoSession session, + java.lang.Object message) + throws java.lang.Exception
    -
    服务端回复伪应答包(给客户端发送方)。前提是客户发送的消息包中的字段QoS=true - ,否则本方法什么也不做。 +
    MINA框架中收到客户端消息的回调方法。 +

    + 本类将在此方法中实现完整的即时通讯数据交互和处理策略。

    - 何为伪应答包?
    - 当客户端A发给接收方(目标接收方可能是服务器也可能是客户端B)的消息在意外情况下 - (B不在线,或者其它情况下没有发送成功:此时服务端会通知上层启动离线存储机制等 - ,总之当上层成功处理了这个消息,也算是意味着该消息成功送达(虽成了离线消息但总 - 归是没有丢)),且该消息有QoS保证机制,则服务端将代(如果接收方恰好就是服务器, - 当然就不是"代"了)为发送一个应答包,以便告之发送方消息已经收到了(离线消息当然 - 也算是,只是非及时收到而已^_^). + 为了提升并发性能,本方法将运行在独立于MINA的IoProcessor之外的线程池中, + 详见 ServerLauncher.initAcceptor()中的MINA设置代码 。

    -
    参数:
    session - 被回复的会话
    pFromClient - 客户端发过来的数据包,本方法将据此包中的from、to、fp属性进行回复 -
    返回:
    true表示发送成功,否则表示发送不成功 +
    指定者:
    接口 org.apache.mina.core.service.IoHandler 中的 messageReceived
    覆盖:
    org.apache.mina.core.service.IoHandlerAdapter 中的 messageReceived
    +
    +
    +
    参数:
    session - 收到消息对应的会话引用
    message - 收到的MINA的原始消息封装对象,本类中是 IoBuffer对象
    抛出: -
    java.lang.Exception - 当发送数据出错时将抛出本异常
    另请参见:
    sendData(IoSession, Protocal)
    +
    java.lang.Exception - 当有错误发生时将抛出异常
    另请参见:
    LogicProcessor

    @@ -435,8 +528,8 @@

    参数:
    session - 被关闭的会话引用
    抛出: -
    java.lang.Exception - 任何错误发生时将抛出本异常
    另请参见:
    UserProcessor.removeUser(int), -ServerEventListener.onUserLogoutAction_CallBack(int, Object)
    +
    java.lang.Exception - 任何错误发生时将抛出本异常
    另请参见:
    OnlineProcessor#removeUser(int), +ServerEventListener#onUserLogoutAction_CallBack(int, Object)

    @@ -462,19 +555,18 @@


    -

    -sessionIdle

    +

    +sessionOpened

    -public void sessionIdle(org.apache.mina.core.session.IoSession session,
    -                        org.apache.mina.core.session.IdleStatus status)
    -                 throws java.lang.Exception
    +public void sessionOpened(org.apache.mina.core.session.IoSession session) + throws java.lang.Exception
    -
    当与客户的会话空闲时本方法回调用。 +
    当与客户的会话被打开时本方法回调用。

    默认情况下,本方法什么也没做。

    -
    指定者:
    接口 org.apache.mina.core.service.IoHandler 中的 sessionIdle
    覆盖:
    org.apache.mina.core.service.IoHandlerAdapter 中的 sessionIdle
    +
    指定者:
    接口 org.apache.mina.core.service.IoHandler 中的 sessionOpened
    覆盖:
    org.apache.mina.core.service.IoHandlerAdapter 中的 sessionOpened
    参数:
    session - 建立的会话对象引用 @@ -484,18 +576,19 @@


    -

    -sessionOpened

    +

    +sessionIdle

    -public void sessionOpened(org.apache.mina.core.session.IoSession session)
    -                   throws java.lang.Exception
    +public void sessionIdle(org.apache.mina.core.session.IoSession session, + org.apache.mina.core.session.IdleStatus status) + throws java.lang.Exception
    -
    当与客户的会话被打开时本方法回调用。 +
    当与客户的会话空闲时本方法回调用。

    默认情况下,本方法什么也没做。

    -
    指定者:
    接口 org.apache.mina.core.service.IoHandler 中的 sessionOpened
    覆盖:
    org.apache.mina.core.service.IoHandlerAdapter 中的 sessionOpened
    +
    指定者:
    接口 org.apache.mina.core.service.IoHandler 中的 sessionIdle
    覆盖:
    org.apache.mina.core.service.IoHandlerAdapter 中的 sessionIdle
    参数:
    session - 建立的会话对象引用 @@ -505,52 +598,40 @@


    -

    -clientInfoToString

    +

    +getServerEventListener

    -public static java.lang.String clientInfoToString(org.apache.mina.core.session.IoSession session)
    +public ServerEventListener getServerEventListener()
    -
    获取对应Session的信息(如session中存放的user_id、登陆名、ip地址和端口等)。 -

    - 本方法目前仅用于Debug时。 -

    -
    参数:
    session - 目标会话对象引用 -
    返回:
    session信息内容的文本
    +

    -

    -fromIOBuffer_JSON

    +

    +getServerMessageQoSEventListener

    -public static java.lang.String fromIOBuffer_JSON(org.apache.mina.core.buffer.IoBuffer buffer)
    -                                          throws java.lang.Exception
    +public MessageQoSEventListenerS2C getServerMessageQoSEventListener()
    -
    从MINA的原始数据对象中解析出MobileIMSDK的完整协议内容(Protocal对象的JSON表示形式)。 -

    -
    参数:
    buffer - MINA的原始数据封装对象 -
    返回:
    解析后的MobileIMSDK的完整协议内容(Protocal对象的JSON表示形式) -
    抛出: -
    java.lang.Exception - 解析出错则抛出本异常
    另请参见:
    IoBuffer#getString(java.nio.charset.CharsetDecoder)}
    +

    -

    -fromIOBuffer

    +

    +getBridgeProcessor

    -public static Protocal fromIOBuffer(org.apache.mina.core.buffer.IoBuffer buffer)
    -                             throws java.lang.Exception
    +public BridgeProcessor getBridgeProcessor()
    -
    从MINA的原始数据对象中解析出MobileIMSDK的完整协议内容(Protocal对象)。 +
    获得本类对应的BridgeProcessor对象引用。

    -
    参数:
    buffer - MINA的原始数据封装对象 -
    返回:
    解析后的MobileIMSDK的完整协议内容(Protocal对象) -
    抛出: -
    java.lang.Exception - 解析出错则抛出本异常
    另请参见:
    fromIOBuffer_JSON(IoBuffer)
    + +
    返回:
    BridgeProcessor对象引用
    从以下版本开始:
    +
    3.0
    +
    另请参见:
    BridgeProcessor
    @@ -578,7 +659,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -605,15 +686,15 @@

    - 摘要: 嵌套 | 字段 | 构造方法 | 方法 + 摘要: 嵌套 | 字段 | 构造方法 | 方法 -详细信息: 字段 | 构造方法 | 方法 +详细信息: 字段 | 构造方法 | 方法
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/ServerLauncher.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/ServerLauncher.html index 42f1f1ed..e5171d96 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/ServerLauncher.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/ServerLauncher.html @@ -2,13 +2,13 @@ - + -ServerLauncher (MobileIMSDK 2.1.6(Server端) API文档) +ServerLauncher (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="ServerLauncher (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="ServerLauncher (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,14 +50,14 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27)  上一个类  - 下一个类 + 下一个类 框架    无框架   @@ -77,7 +77,7 @@ - 摘要: 嵌套 | 字段 | 构造方法 | 方法 + 摘要: 嵌套 | 字段 | 构造方法 | 方法 详细信息: 字段 | 构造方法 | 方法 @@ -118,8 +118,12 @@

    逻辑。

    提示2: - 如果设置整个MobileIMSDK的算法敏感度类型,请调用 setSenseMode(SenseMode), - MobileIMSDK默认敏感度是 ServerLauncher.SenseMode.MODE_3S。 + 如果设置整个MobileIMSDK的算法敏感度类型,请调用 ServerToolKits.setSenseMode(SenseMode), + MobileIMSDK默认敏感度是 ServerToolKits.SenseMode#MODE_3S。 +

    + 提示3: + 如要开启与MobileIMSDK-Web版的消息互通,请设置 bridgeEnabled == true + ,默认为false.

    @@ -128,42 +132,41 @@

    1.0
    作者:
    Jack Jiang, 2013-10-03
    - +
    另请参见:
    ServerCoreHandler

    - + - + +字段摘要 - + +          全局设置:AppKey。 -
    -嵌套类摘要
    -static classServerLauncher.SenseMode +static java.lang.StringappKey
    -          MobileIMSDK即时通讯核心框架预设的敏感度模式.
    + + +static boolean +bridgeEnabled - - - - +
    +          是否允许与MobileIMSDK Web版进行互通。 - + +          全局设置:服务端Debug日志输出总开关(建议压力测试和生产环境下设为false)。 + + + + - - - - - - - - - - - - - - - - - - - - - - - -
    -字段摘要
    -static java.lang.StringappKey +static booleandebug
    -          全局设置:AppKey。
    @@ -217,6 +220,14 @@

    + ServerCoreHandlergetServerCoreHandler() + +
    +          获取 ServerCoreHandler 对象引用。
     ServerEventListener getServerEventListener() @@ -281,64 +292,6 @@

    -static booleansendData(int from_user_id, - int to_user_id, - java.lang.String dataContent) - -
    -          向目标发送一条数据(默认QoS=false)。
    -static booleansendData(int from_user_id, - int to_user_id, - java.lang.String dataContent, - boolean QoS) - -
    -          向目标发送一条数据。
    -static booleansendData(int from_user_id, - int to_user_id, - java.lang.String dataContent, - boolean QoS, - java.lang.String fingerPrint) - -
    -          向目标发送一条数据。
    -static booleansendData(org.apache.mina.core.session.IoSession session, - Protocal p) - -
    -          向目标发送一条数据。
    -static booleansendData(Protocal p) - -
    -          向目标发送一条数据。
    -static voidsetSenseMode(ServerLauncher.SenseMode mode) - -
    -          设置MobileIMSDK即时通讯核心框架预设的敏感度模式。
     void setServerEventListener(ServerEventListener serverEventListener) @@ -392,12 +345,34 @@

    +

    +debug

    +
    +public static boolean debug
    +
    +
    全局设置:服务端Debug日志输出总开关(建议压力测试和生产环境下设为false)。 +

    + 默认值:true。 +

    + 注意:为了减少过多地使用本标识而增加服务器不必要的if判断开销,一些少量log输 + 出的地方并未使用本标识。建议为了保证性能,在压力测试或生产环境下 + 请直接关闭log4j的日志输出(设置log4j的日志输出级别即可,请查阅log4j文档),切记!! +

    +

    +
    从以下版本开始:
    +
    3.0
    +
    +
    +
    +

    appKey

     public static java.lang.String appKey
    -
    全局设置:AppKey。 +
    全局设置:AppKey。 +

    + 友情提示:本字段目前为保留字段,使用时无需独立设置或随意设置均不影响使用。

    @@ -445,6 +420,22 @@


    +

    +bridgeEnabled

    +
    +public static boolean bridgeEnabled
    +
    +
    是否允许与MobileIMSDK Web版进行互通。true表示需要互通,否则不互通,默认false。 +

    + 请在 startup()方法被调用前被设置,否则将不起效. +

    +

    +
    从以下版本开始:
    +
    3.0
    +
    +
    +
    +

    serverCoreHandler

    @@ -508,7 +499,11 @@ 

    关闭服务端。

    -
    +
    另请参见:
    AbstractIoService.dispose(), +QoS4ReciveDaemonRoot.stop(), +QoS4SendDaemonRoot.stop(), +QoS4ReciveDaemonRoot.stop(), +QoS4SendDaemonRoot.stop()

    @@ -529,9 +524,13 @@

    initAcceptor(), initFilter(NioDatagramAcceptor), initSessionConfig(NioDatagramAcceptor), -QoS4ReciveDaemonC2S.startup(), -QoS4SendDaemonS2C.startup(boolean), -AbstractIoAcceptor.bind() +QoS4ReciveDaemonRoot.startup(), +QoS4SendDaemonRoot.startup(boolean), +QoS4ReciveDaemonRoot.startup(), +QoS4SendDaemonRoot.startup(boolean), +ServerCoreHandler.lazyStartupBridgeProcessor(), +AbstractIoAcceptor.bind(), +bridgeEnabled


    @@ -585,7 +584,7 @@

    返回:
    初始化完后的 NioDatagramAcceptor对象
    另请参见:
    NioDatagramAcceptor, DefaultIoFilterChainBuilder.addLast(String, org.apache.mina.core.filterchain.IoFilter), -AbstractPollingConnectionlessIoAcceptor.setSessionRecycler(org.apache.mina.core.session.IoSessionRecycler) +NioDatagramAcceptor.setSessionRecycler(org.apache.mina.core.session.IoSessionRecycler)

    @@ -670,119 +669,18 @@


    -

    -sendData

    -
    -public static boolean sendData(int from_user_id,
    -                               int to_user_id,
    -                               java.lang.String dataContent)
    -                        throws java.lang.Exception
    -
    -
    向目标发送一条数据(默认QoS=false)。 -

    -

    -
    参数:
    from_user_id - 发送方user_id
    to_user_id - 接收方的user_id
    dataContent - 发送的文本内容 -
    返回:
    true表示发送完成,false表示发送失败 -
    抛出: -
    java.lang.Exception - 发送过程中出现错误则抛出本异常
    另请参见:
    ServerCoreHandler#sendData(int, int, String)}
    -
    -
    -
    - -

    -sendData

    -
    -public static boolean sendData(int from_user_id,
    -                               int to_user_id,
    -                               java.lang.String dataContent,
    -                               boolean QoS)
    -                        throws java.lang.Exception
    -
    -
    向目标发送一条数据。 -

    -

    -
    参数:
    from_user_id - 发送方user_id
    to_user_id - 接收方的user_id
    dataContent - 发送的文本内容
    QoS - 是否需要QoS支持,true表示需要,否则不需要。当为true时系统将自动生成指纹码 -
    返回:
    true表示发送完成,false表示发送失败 -
    抛出: -
    java.lang.Exception - 发送过程中出现错误则抛出本异常
    从以下版本开始:
    -
    2.1.4
    -
    另请参见:
    sendData(int, int, String, boolean, String)
    -
    -
    -
    - -

    -sendData

    -
    -public static boolean sendData(int from_user_id,
    -                               int to_user_id,
    -                               java.lang.String dataContent,
    -                               boolean QoS,
    -                               java.lang.String fingerPrint)
    -                        throws java.lang.Exception
    -
    -
    向目标发送一条数据。 -

    -

    -
    参数:
    from_user_id - 发送方user_id
    to_user_id - 接收方的user_id
    dataContent - 发送的文本内容
    QoS - 是否需要QoS支持,true表示需要,否则不需要。当为false时fingerPrint字段值将无意义
    fingerPrint - 消息指纹特征码,当QoS=true且本参数为null则表示由系统自动生成指纹码,否则使用本参数指明的指纹码 -
    返回:
    true表示发送完成,false表示发送失败 -
    抛出: -
    java.lang.Exception - 发送过程中出现错误则抛出本异常
    从以下版本开始:
    -
    2.1.4
    -
    另请参见:
    ServerCoreHandler.sendData(int, int, String, boolean, String)
    -
    -
    -
    - -

    -sendData

    +

    +getServerCoreHandler

    -public static boolean sendData(Protocal p)
    -                        throws java.lang.Exception
    +public ServerCoreHandler getServerCoreHandler()
    -
    向目标发送一条数据。 +
    获取 ServerCoreHandler 对象引用。

    -
    参数:
    p - 要发送的内容(此对象封装了发送方user_id、接收方user_id、消息内容等) -
    返回:
    true表示发送完成,false表示发送失败 -
    抛出: -
    java.lang.Exception - 发送过程中出现错误则抛出本异常
    另请参见:
    ServerCoreHandler#sendData(Protocal)}
    -
    -
    -
    -

    -sendData

    -
    -public static boolean sendData(org.apache.mina.core.session.IoSession session,
    -                               Protocal p)
    -                        throws java.lang.Exception
    -
    -
    向目标发送一条数据。 -

    -

    -
    参数:
    session - 接收者的会话对象引用
    p - 要发送的内容(此对象封装了发送方user_id、接收方user_id、消息内容等) -
    返回:
    true表示发送完成,false表示发送失败 -
    抛出: -
    java.lang.Exception - 发送过程中出现错误则抛出本异常
    另请参见:
    ServerCoreHandler#sendData(IoSession, Protocal)}
    -
    +
    返回:
    返回对象引用
    从以下版本开始:
    +
    3.0
    -
    - -

    -setSenseMode

    -
    -public static void setSenseMode(ServerLauncher.SenseMode mode)
    -
    -
    设置MobileIMSDK即时通讯核心框架预设的敏感度模式。 -

    - 请在 startup()方法被调用前被设置,否则将不起效. -

    - 重要说明:服务端本模式的设定必须要与客户端的模式设制保持一致,否则 - 可能因参数的不一致而导至IM算法的不匹配,进而出现不可预知的问题。 -

    -

    -
    参数:
    mode - 预设的模感度类型
    另请参见:
    ServerLauncher.SenseMode
    @@ -810,14 +708,14 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27)  上一个类  - 下一个类 + 下一个类 框架    无框架   @@ -837,7 +735,7 @@

    - 摘要: 嵌套 | 字段 | 构造方法 | 方法 + 摘要: 嵌套 | 字段 | 构造方法 | 方法 详细信息: 字段 | 构造方法 | 方法 @@ -846,6 +744,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/class-use/ServerCoreHandler.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/class-use/ServerCoreHandler.html index 105a6d1e..90ebceb5 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/class-use/ServerCoreHandler.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/class-use/ServerCoreHandler.html @@ -2,13 +2,13 @@ - + -类 net.openmob.mobileimsdk.server.ServerCoreHandler 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +类 net.openmob.mobileimsdk.server.ServerCoreHandler 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="类 net.openmob.mobileimsdk.server.ServerCoreHandler 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="类 net.openmob.mobileimsdk.server.ServerCoreHandler 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -92,7 +92,15 @@

    net.openmob.mobileimsdk.server -服务端入口主类。  +服务端核心类。  + + +net.openmob.mobileimsdk.server.processor +各种具体业务逻辑实现类, since 3.0。  + + +net.openmob.mobileimsdk.server.utils +服务端代码的辅助工具类, since 3.0。    @@ -129,6 +137,14 @@

    + ServerCoreHandler +ServerLauncher.getServerCoreHandler() + +
    +          获取 ServerCoreHandler 对象引用。 + + + protected  ServerCoreHandler ServerLauncher.initServerCoreHandler() @@ -138,6 +154,59 @@

     

    + + + + + +
    +net.openmob.mobileimsdk.server.processorServerCoreHandler 的使用
    +  +

    + + + + + + + + +
    参数类型为 ServerCoreHandlernet.openmob.mobileimsdk.server.processor 中的构造方法
    LogicProcessor(ServerCoreHandler serverCoreHandler) + +
    +           
    +  +

    + + + + + +
    +net.openmob.mobileimsdk.server.utilsServerCoreHandler 的使用
    +  +

    + + + + + + + + + +
    参数类型为 ServerCoreHandlernet.openmob.mobileimsdk.server.utils 中的方法
    +static voidGlobalSendHelper.sendDataC2C(BridgeProcessor bridgeProcessor, + org.apache.mina.core.session.IoSession session, + Protocal pFromClient, + java.lang.String remoteAddress, + ServerCoreHandler serverCoreHandler) + +
    +          用方法用于服务端作为中转发送C2C类型的数据之用,此方法封装了服务端中转发送 + C2C消息的所有逻辑(包括当接收者不在本机在线列表时的桥接处理等)。
    +  +


    @@ -162,7 +231,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -192,6 +261,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/class-use/ServerLauncher.SenseMode.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/class-use/ServerLauncher.SenseMode.html deleted file mode 100755 index f2a3c7a9..00000000 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/class-use/ServerLauncher.SenseMode.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - - -类 net.openmob.mobileimsdk.server.ServerLauncher.SenseMode 的使用 (MobileIMSDK 2.1.6(Server端) API文档) - - - - - - - - - - - - -
    - - - - - - - - - - - - - - - -
    -MobileIMSDK4j 2.1.6(build 2016/02/20) -
    - - - -
    -
    -

    -类 net.openmob.mobileimsdk.server.ServerLauncher.SenseMode
    的使用

    -
    - - - - - - - - - -
    -使用 ServerLauncher.SenseMode 的软件包
    net.openmob.mobileimsdk.server服务端入口主类。 
    -  -

    - - - - - -
    -net.openmob.mobileimsdk.serverServerLauncher.SenseMode 的使用
    -  -

    - - - - - - - - - - - - - -
    返回 ServerLauncher.SenseModenet.openmob.mobileimsdk.server 中的方法
    -static ServerLauncher.SenseModeServerLauncher.SenseMode.valueOf(java.lang.String name) - -
    -          返回带有指定名称的该类型的枚举常量。
    -static ServerLauncher.SenseMode[]ServerLauncher.SenseMode.values() - -
    -          按照声明该枚举类型的常量的顺序,返回 -包含这些常量的数组。
    -  -

    - - - - - - - - - -
    参数类型为 ServerLauncher.SenseModenet.openmob.mobileimsdk.server 中的方法
    -static voidServerLauncher.setSenseMode(ServerLauncher.SenseMode mode) - -
    -          设置MobileIMSDK即时通讯核心框架预设的敏感度模式。
    -  -

    -


    - - - - - - - - - - - - - - - -
    -MobileIMSDK4j 2.1.6(build 2016/02/20) -
    - - - -
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    - - diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/class-use/ServerLauncher.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/class-use/ServerLauncher.html index cdcba3d4..afaf2535 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/class-use/ServerLauncher.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/class-use/ServerLauncher.html @@ -2,13 +2,13 @@ - + -类 net.openmob.mobileimsdk.server.ServerLauncher 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +类 net.openmob.mobileimsdk.server.ServerLauncher 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="类 net.openmob.mobileimsdk.server.ServerLauncher 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="类 net.openmob.mobileimsdk.server.ServerLauncher 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -114,7 +114,7 @@

     void -QoS4SendDaemonS2C.setServerLauncher(ServerLauncher serverLauncher) +QoS4SendDaemonRoot.setServerLauncher(ServerLauncher serverLauncher)
              设置用于QoS事件中没有实时重传成功的消息的回调通知事件宿主。 @@ -146,7 +146,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -176,6 +176,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/event/MessageQoSEventListenerS2C.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/event/MessageQoSEventListenerS2C.html index 85d175c3..426c2007 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/event/MessageQoSEventListenerS2C.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/event/MessageQoSEventListenerS2C.html @@ -2,13 +2,13 @@ - + -MessageQoSEventListenerS2C (MobileIMSDK 2.1.6(Server端) API文档) +MessageQoSEventListenerS2C (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="MessageQoSEventListenerS2C (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="MessageQoSEventListenerS2C (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -224,7 +224,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -260,6 +260,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/event/ServerEventListener.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/event/ServerEventListener.html index f6344181..c3303bc0 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/event/ServerEventListener.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/event/ServerEventListener.html @@ -2,13 +2,13 @@ - + -ServerEventListener (MobileIMSDK 2.1.6(Server端) API文档) +ServerEventListener (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="ServerEventListener (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="ServerEventListener (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -123,60 +123,67 @@

     void -onTransBuffer_C2C_CallBack(int userId, - int from_user_id, - java.lang.String dataContent) +onTransBuffer_C2C_CallBack(java.lang.String userId, + java.lang.String from_user_id, + java.lang.String dataContent, + java.lang.String fingerPrint, + int typeu)
    -          通道数据回调函数定义(客户端发给客户端的(即接收user_id>0)). +          通道数据回调函数定义(客户端发给客户端的(即接收方user_id不为“0”的情况)).  boolean -onTransBuffer_C2C_RealTimeSendFaild_CallBack(int userId, - int from_user_id, +onTransBuffer_C2C_RealTimeSendFaild_CallBack(java.lang.String userId, + java.lang.String from_user_id, java.lang.String dataContent, - java.lang.String fingerPring) + java.lang.String fingerPrint, + int typeu)
    -          通用数据实时发送失败后的回调函数定义(客户端发给客户端的(即接收user_id>0)). +          通用数据实时发送失败后的回调函数定义(客户端发给客户端的(即接收方user_id不为“0”的情况)).  boolean -onTransBuffer_CallBack(int userId, - int from_user_id, +onTransBuffer_CallBack(java.lang.String userId, + java.lang.String from_user_id, java.lang.String dataContent, - java.lang.String fingerPrint) + java.lang.String fingerPrint, + int typeu, + org.apache.mina.core.session.IoSession session)
    -          通用数据回调方法定义(客户端发给服务端的(即接收user_id=0)). +          通用数据回调方法定义(客户端发给服务端的(即接收user_id="0")).  void -onUserLoginAction_CallBack(int userId, - java.lang.String userName, +onUserLoginAction_CallBack(java.lang.String userId, + java.lang.String extra, org.apache.mina.core.session.IoSession session)
    -          用户登录验证成功后的回调方法定义. +          用户登录验证成功后的回调方法定义(可理解为上线通知回调).  void -onUserLogoutAction_CallBack(int userId, - java.lang.Object obj) +onUserLogoutAction_CallBack(java.lang.String userId, + java.lang.Object obj, + org.apache.mina.core.session.IoSession session)
    -          用户退出登录回调方法定义。 +          用户退出登录回调方法定义(可理解为下线通知回调)。  int -onVerifyUserCallBack(java.lang.String lpUserName, - java.lang.String lpPassworde, - java.lang.String extra) +onVerifyUserCallBack(java.lang.String userId, + java.lang.String token, + java.lang.String extra, + org.apache.mina.core.session.IoSession session)
              用户身份验证回调方法定义. @@ -195,94 +202,107 @@

    -

    +

    onVerifyUserCallBack

    -int onVerifyUserCallBack(java.lang.String lpUserName,
    -                         java.lang.String lpPassworde,
    -                         java.lang.String extra)
    +int onVerifyUserCallBack(java.lang.String userId, + java.lang.String token, + java.lang.String extra, + org.apache.mina.core.session.IoSession session)
    用户身份验证回调方法定义.

    服务端的应用层可在本方法中实现用户登陆验证。 +
    + 注意:本回调在一种特殊情况下——即用户实际未退出登陆但再次发起来登陆包时,本回调是不会被调用的!

    根据MobileIMSDK的算法实现,本方法中用户验证通过(即方法返回值=0时)后 - ,将立即调用回调方法 onUserLoginAction_CallBack(int, String, IoSession)。 + ,将立即调用回调方法 #onUserLoginAction_CallBack(int, String, IoSession)。 否则会将验证结果(本方法返回值错误码通过客户端的 ChatBaseEvent.onLoginMessage(int dwUserId, int dwErrorCode) 方法进行回调)通知客户端)。

    -
    参数:
    lpUserName - 登陆用户名
    lpPassworde - 登陆密码
    extra - 额外信息字符串。本字段目前为保留字段,供上层应用自行放置需要的内容 +
    参数:
    userId - 传递过来的准一id,保证唯一就可以通信,可能是登陆用户名、也可能是任意不重复的id等,具体意义由业务层决定
    token - 用于身份鉴别和合法性检查的token,它可能是登陆密码,也可能是通过前置单点登陆接口拿到的token等,具体意义由业务层决定
    extra - 额外信息字符串。本字段目前为保留字段,供上层应用自行放置需要的内容
    session - 此客户端连接对应的MINA会话
    返回:
    0 表示登陆验证通过,否则可以返回用户自已定义的错误码,错误码值应为:>=1025的整数

    -

    +

    onUserLoginAction_CallBack

    -void onUserLoginAction_CallBack(int userId,
    -                                java.lang.String userName,
    +void onUserLoginAction_CallBack(java.lang.String userId,
    +                                java.lang.String extra,
                                     org.apache.mina.core.session.IoSession session)
    -
    用户登录验证成功后的回调方法定义. +
    用户登录验证成功后的回调方法定义(可理解为上线通知回调).

    - 服务端的应用层通常可在本方法中实现用户上线通知等。 + 服务端的应用层通常可在本方法中实现用户上线通知等。 +
    + 注意:本回调在一种特殊情况下——即用户实际未退出登陆但再次发起来登陆包时,回调也是一定会被调用。

    -
    参数:
    userId - 服务端生成的user_id
    userName - 登陆用户名
    session - 成功登陆后建立的MINA会话
    +
    参数:
    userId - 传递过来的准一id,保证唯一就可以通信,可能是登陆用户名、也可能是任意不重复的id等,具体意义由业务层决定
    extra - 额外信息字符串。本字段目前为保留字段,供上层应用自行放置需要的内容。为了丰富应用层处理的手段,在本回调中也把此字段传进来了
    session - 成功登陆后建立的MINA会话

    -

    +

    onUserLogoutAction_CallBack

    -void onUserLogoutAction_CallBack(int userId,
    -                                 java.lang.Object obj)
    +void onUserLogoutAction_CallBack(java.lang.String userId, + java.lang.Object obj, + org.apache.mina.core.session.IoSession session)
    -
    用户退出登录回调方法定义。 +
    用户退出登录回调方法定义(可理解为下线通知回调)。

    服务端的应用层通常可在本方法中实现用户下线通知等。

    -
    参数:
    userId - 下线的用户user_id
    obj -
    +
    参数:
    userId - 下线的用户user_id
    obj -
    session - 此客户端连接对应的MINA会话

    -

    +

    onTransBuffer_CallBack

    -boolean onTransBuffer_CallBack(int userId,
    -                               int from_user_id,
    +boolean onTransBuffer_CallBack(java.lang.String userId,
    +                               java.lang.String from_user_id,
                                    java.lang.String dataContent,
    -                               java.lang.String fingerPrint)
    + java.lang.String fingerPrint, + int typeu, + org.apache.mina.core.session.IoSession session)
    -
    通用数据回调方法定义(客户端发给服务端的(即接收user_id=0)). +
    通用数据回调方法定义(客户端发给服务端的(即接收user_id="0")).

    MobileIMSDK在收到客户端向user_id=0(即接收目标是服务器)的情况下通过 本方法的回调通知上层。上层通常可在本方法中实现如:添加好友请求等业务实现。

    -
    参数:
    userId - 接收方的user_id(本方法接收的是发给服务端的消息,所以此参数的值肯定==0)
    from_user_id - 发送方的user_id
    dataContent - 数据内容(文本形式) +
    参数:
    userId - 接收方的user_id(本方法接收的是发给服务端的消息,所以此参数的值肯定==0)
    from_user_id - 发送方的user_id
    dataContent - 数据内容(文本形式)
    session - 此客户端连接对应的MINA会话
    返回:
    true表示本方法已成功处理完成,否则表示未处理成功。此返回值目前框架中并没有特殊意义,仅作保留吧

    -

    +

    onTransBuffer_C2C_CallBack

    -void onTransBuffer_C2C_CallBack(int userId,
    -                                int from_user_id,
    -                                java.lang.String dataContent)
    +void onTransBuffer_C2C_CallBack(java.lang.String userId, + java.lang.String from_user_id, + java.lang.String dataContent, + java.lang.String fingerPrint, + int typeu)
    -
    通道数据回调函数定义(客户端发给客户端的(即接收user_id>0)). +
    通道数据回调函数定义(客户端发给客户端的(即接收方user_id不为“0”的情况)).

    注意:本方法当且仅当在数据被服务端成功在线发送出去后被回调调用.

    - 上层通常可在本方法中实现用户聊天信息的收集,以便后期监控分析用户的行为等^_^。 + 上层通常可在本方法中实现用户聊天信息的收集,以便后期监控分析用户的行为等^_^。 +

    + 提示:如果开启消息QoS保证,因重传机制,本回调中的消息理论上有重复的可能,请以参数 #fingerPrint + 作为消息的唯一标识ID进行去重处理。

    参数:
    userId - 接收方的user_id(本方法接收的是客户端发给客户端的,所以此参数的值肯定>0)
    from_user_id - 发送方的user_id
    dataContent -
    @@ -290,15 +310,16 @@


    -

    +

    onTransBuffer_C2C_RealTimeSendFaild_CallBack

    -boolean onTransBuffer_C2C_RealTimeSendFaild_CallBack(int userId,
    -                                                     int from_user_id,
    +boolean onTransBuffer_C2C_RealTimeSendFaild_CallBack(java.lang.String userId,
    +                                                     java.lang.String from_user_id,
                                                          java.lang.String dataContent,
    -                                                     java.lang.String fingerPring)
    + java.lang.String fingerPrint, + int typeu)
    -
    通用数据实时发送失败后的回调函数定义(客户端发给客户端的(即接收user_id>0)). +
    通用数据实时发送失败后的回调函数定义(客户端发给客户端的(即接收方user_id不为“0”的情况)).

    注意:本方法当且仅当在数据被服务端在线发送失败后被回调调用.

    @@ -308,11 +329,11 @@

    或对方非正常通出但尚未到达会话超时时限)。
    应用层在此方法里实现离线消息的处理即可!

    -
    参数:
    userId - 接收方的user_id(本方法接收的是客户端发给客户端的,所以此参数的值肯定>0),此id在本方法中不一定保证有意义
    from_user_id - 发送方的user_id
    dataContent - 消息内容
    fingerPring - 该消息对应的指纹(如果该消息有QoS保证机制的话),用于在QoS重要机制下服务端离线存储时防止重复存储哦 +
    参数:
    userId - 接收方的user_id(本方法接收的是客户端发给客户端的,所以此参数的值肯定>0),此id在本方法中不一定保证有意义
    from_user_id - 发送方的user_id
    dataContent - 消息内容
    fingerPrint - 该消息对应的指纹(如果该消息有QoS保证机制的话),用于在QoS重要机制下服务端离线存储时防止重复存储哦
    返回:
    true表示应用层已经处理了离线消息(如果该消息有QoS机制,则服务端将代为发送一条伪应答包 (伪应答仅意味着不是接收方的实时应答,而只是存储到离线DB中,但在发送方看来也算是被对方收到,只是延 迟收到而已(离线消息嘛))),否则表示应用层没有处理(如果此消息有QoS机制,则发送方在QoS重传机制超时 - 后报出消息发送失败的提示)
    另请参见:
    onTransBuffer_C2C_CallBack(int, int, String)
    + 后报出消息发送失败的提示)
    另请参见:
    #onTransBuffer_C2C_CallBack(int, int, String)

    @@ -340,7 +361,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -376,6 +397,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/event/class-use/MessageQoSEventListenerS2C.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/event/class-use/MessageQoSEventListenerS2C.html index eb4b6d75..6ae40621 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/event/class-use/MessageQoSEventListenerS2C.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/event/class-use/MessageQoSEventListenerS2C.html @@ -2,13 +2,13 @@ - + -接口 net.openmob.mobileimsdk.server.event.MessageQoSEventListenerS2C 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +接口 net.openmob.mobileimsdk.server.event.MessageQoSEventListenerS2C 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="接口 net.openmob.mobileimsdk.server.event.MessageQoSEventListenerS2C 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="接口 net.openmob.mobileimsdk.server.event.MessageQoSEventListenerS2C 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -92,7 +92,7 @@

    net.openmob.mobileimsdk.server -服务端入口主类。  +服务端核心类。    @@ -107,6 +107,22 @@

     

    + + + + + + + + +
    声明为 MessageQoSEventListenerS2Cnet.openmob.mobileimsdk.server 中的字段
    +protected  MessageQoSEventListenerS2CServerCoreHandler.serverMessageQoSEventListener + +
    +          QoS机制下的S2C模式中,由服务端主动发起消息的QoS事件回调实现
    +  +

    + @@ -119,6 +135,14 @@


              返回QoS机制的Server主动消息发送之质量保证事件监听器对象。

    + + + +
    返回 MessageQoSEventListenerS2Cnet.openmob.mobileimsdk.server 中的方法
    + MessageQoSEventListenerS2CServerCoreHandler.getServerMessageQoSEventListener() + +
    +           
     

    @@ -162,7 +186,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -192,6 +216,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/event/class-use/ServerEventListener.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/event/class-use/ServerEventListener.html index 7a9bda8c..a2c1c013 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/event/class-use/ServerEventListener.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/event/class-use/ServerEventListener.html @@ -2,13 +2,13 @@ - + -接口 net.openmob.mobileimsdk.server.event.ServerEventListener 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +接口 net.openmob.mobileimsdk.server.event.ServerEventListener 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="接口 net.openmob.mobileimsdk.server.event.ServerEventListener 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="接口 net.openmob.mobileimsdk.server.event.ServerEventListener 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -92,7 +92,7 @@

    net.openmob.mobileimsdk.server -服务端入口主类。  +服务端核心类。    @@ -107,6 +107,22 @@

     

    + + + + + + + + +
    声明为 ServerEventListenernet.openmob.mobileimsdk.server 中的字段
    +protected  ServerEventListenerServerCoreHandler.serverEventListener + +
    +          服务端事件回调实现
    +  +

    + @@ -119,6 +135,14 @@


              返回服务端通用事件回调监听器对象引用。

    + + + +
    返回 ServerEventListenernet.openmob.mobileimsdk.server 中的方法
    + ServerEventListenerServerCoreHandler.getServerEventListener() + +
    +           
     

    @@ -162,7 +186,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -192,6 +216,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/event/package-frame.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/event/package-frame.html index c9beb66d..ddde5aab 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/event/package-frame.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/event/package-frame.html @@ -2,13 +2,13 @@ - + -net.openmob.mobileimsdk.server.event (MobileIMSDK 2.1.6(Server端) API文档) +net.openmob.mobileimsdk.server.event (MobileIMSDK 3.0(Server端) API文档) - + diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/event/package-summary.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/event/package-summary.html index 9d76f42f..925cb538 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/event/package-summary.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/event/package-summary.html @@ -2,13 +2,13 @@ - + -net.openmob.mobileimsdk.server.event (MobileIMSDK 2.1.6(Server端) API文档) +net.openmob.mobileimsdk.server.event (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="net.openmob.mobileimsdk.server.event (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="net.openmob.mobileimsdk.server.event (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -142,7 +142,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -172,6 +172,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/event/package-tree.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/event/package-tree.html index 71ede875..9c8e5b76 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/event/package-tree.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/event/package-tree.html @@ -2,13 +2,13 @@ - + -net.openmob.mobileimsdk.server.event 类分层结构 (MobileIMSDK 2.1.6(Server端) API文档) +net.openmob.mobileimsdk.server.event 类分层结构 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="net.openmob.mobileimsdk.server.event 类分层结构 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="net.openmob.mobileimsdk.server.event 类分层结构 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -117,7 +117,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -147,6 +147,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/event/package-use.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/event/package-use.html index 89492816..cfa09405 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/event/package-use.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/event/package-use.html @@ -2,13 +2,13 @@ - + -软件包 net.openmob.mobileimsdk.server.event 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +软件包 net.openmob.mobileimsdk.server.event 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="软件包 net.openmob.mobileimsdk.server.event 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="软件包 net.openmob.mobileimsdk.server.event 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -92,7 +92,7 @@

    net.openmob.mobileimsdk.server -服务端入口主类。  +服务端核心类。    @@ -142,7 +142,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -172,6 +172,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/package-frame.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/package-frame.html index c3a84c66..ee415272 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/package-frame.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/package-frame.html @@ -2,13 +2,13 @@ - + -net.openmob.mobileimsdk.server (MobileIMSDK 2.1.6(Server端) API文档) +net.openmob.mobileimsdk.server (MobileIMSDK 3.0(Server端) API文档) - + @@ -31,16 +31,5 @@ - - - - -
    -枚举  - -
    -ServerLauncher.SenseMode
    - - diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/package-summary.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/package-summary.html index 0b367f04..82e153c7 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/package-summary.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/package-summary.html @@ -2,13 +2,13 @@ - + -net.openmob.mobileimsdk.server (MobileIMSDK 2.1.6(Server端) API文档) +net.openmob.mobileimsdk.server (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="net.openmob.mobileimsdk.server (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="net.openmob.mobileimsdk.server (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,13 +50,13 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) - 上一个软件包  + 上一个软件包   下一个软件包 框架   @@ -83,7 +83,7 @@

    软件包 net.openmob.mobileimsdk.server

    -服务端入口主类。 +服务端核心类。

    请参见:
    @@ -106,27 +106,13 @@

      -

    - - - - - - - - - -
    -枚举摘要
    ServerLauncher.SenseModeMobileIMSDK即时通讯核心框架预设的敏感度模式.
    -  -

    软件包 net.openmob.mobileimsdk.server 的描述

    -服务端入口主类。 +服务端核心类。

    @@ -156,13 +142,13 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) - 上一个软件包  + 上一个软件包   下一个软件包 框架   @@ -186,6 +172,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/package-tree.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/package-tree.html index 595bda60..955aea3d 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/package-tree.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/package-tree.html @@ -2,13 +2,13 @@ - + -net.openmob.mobileimsdk.server 类分层结构 (MobileIMSDK 2.1.6(Server端) API文档) +net.openmob.mobileimsdk.server 类分层结构 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="net.openmob.mobileimsdk.server 类分层结构 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="net.openmob.mobileimsdk.server 类分层结构 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,13 +50,13 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) - 上一个  + 上一个   下一个 框架   @@ -98,16 +98,6 @@

  • net.openmob.mobileimsdk.server.ServerCoreHandler
  • net.openmob.mobileimsdk.server.ServerLauncher -

    -枚举分层结构 -

    -
      -
    • java.lang.Object
        -
      • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable) - -
      -

    @@ -132,13 +122,13 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) - 上一个  + 上一个   下一个 框架   @@ -162,6 +152,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/package-use.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/package-use.html index 8c7e3aa2..b115e3cc 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/package-use.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/package-use.html @@ -2,13 +2,13 @@ - + -软件包 net.openmob.mobileimsdk.server 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +软件包 net.openmob.mobileimsdk.server 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="软件包 net.openmob.mobileimsdk.server 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="软件包 net.openmob.mobileimsdk.server 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -92,12 +92,20 @@

    net.openmob.mobileimsdk.server -服务端入口主类。  +服务端核心类。  + + +net.openmob.mobileimsdk.server.processor +各种具体业务逻辑实现类, since 3.0。  net.openmob.mobileimsdk.server.qos Server端的QoS机制实现类。  + +net.openmob.mobileimsdk.server.utils +服务端代码的辅助工具类, since 3.0。  +  

    @@ -113,11 +121,20 @@


              MobileIMSDK的MINA IoHandler实现类。 + +  +

    + + + + + - +          MobileIMSDK的MINA IoHandler实现类。
    +net.openmob.mobileimsdk.server.processor 使用的 net.openmob.mobileimsdk.server 中的类
    ServerLauncher.SenseMode +ServerCoreHandler
    -          MobileIMSDK即时通讯核心框架预设的敏感度模式.
      @@ -137,6 +154,21 @@

     

    + + + + + + + + +
    +net.openmob.mobileimsdk.server.utils 使用的 net.openmob.mobileimsdk.server 中的类
    ServerCoreHandler + +
    +          MobileIMSDK的MINA IoHandler实现类。
    +  +


    @@ -161,7 +193,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -191,6 +223,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/BridgeProcessor.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/BridgeProcessor.html new file mode 100755 index 00000000..b0787e16 --- /dev/null +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/BridgeProcessor.html @@ -0,0 +1,432 @@ + + + + + + + +BridgeProcessor (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    + +

    + +net.openmob.mobileimsdk.server.processor +
    +类 BridgeProcessor

    +
    +java.lang.Object
    +  继承者 net.nettime.mobileimsdk.server.bridge.MQProvider
    +      继承者 net.openmob.mobileimsdk.server.processor.BridgeProcessor
    +
    +
    +
    +
    public abstract class BridgeProcessor
    extends MQProvider
    + + +

    +用作异构平台IM消息交互的桥接服务提供者。 +

    + +

    +

    +
    从以下版本开始:
    +
    3.0
    +
    作者:
    +
    Jack Jiang, 2016-09-24
    +
    +
    + +

    + + + + + + + + + + + + + + + + + + + + + + + +
    +字段摘要
    +static java.lang.StringIMMQ_DECODE_CHARSET + +
    +          收到消息的字符解码格式。
    +static java.lang.StringIMMQ_QUEUE_APP2WEB + +
    +          消息中转队列:APP端IM转发至Web端的消息,本类是此队列的生产者,表示将消息发送至Web端
    +static java.lang.StringIMMQ_QUEUE_WEB2APP + +
    +          消息中转队列:Web端IM转发至APP端的消息,本类是此队列的消费者,表示从Web端读取消息
    +static java.lang.StringIMMQ_URI + +
    +          消息队列服务器连接URI,形如:“amqp://admin:123456789@192.168.1.190”
    + + + + + + + +
    从类 net.nettime.mobileimsdk.server.bridge.MQProvider 继承的字段
    _connection, _factory, _pubChannel, consumerObserver, consumFromQueue, decodeCharset, DEFAULT_DECODE_CHARSET, DEFAULT_ENCODE_CHARSET, encodeCharset, mqURI, publishToQueue, publishTrayAgainCache, publishTrayAgainEnable, retryWorkerRunning, startRunning, TAG, timerForRetryWorker, timerForStartAgain
    +  + + + + + + + + + + +
    +构造方法摘要
    BridgeProcessor() + +
    +           
    +  + + + + + + + + + + + + + + + + + + + +
    +方法摘要
    +protected abstract  booleanofflineC2CProcessCallback(Protocal p) + +
    +          无法在线实时发送成功的消息将通过本回调方法进行处理。
    +protected abstract  voidrealtimeC2CSuccessCallback(Protocal p) + +
    +          在线实时将消息桥接转发成功后被调用的回调方法。
    +protected  booleanwork(byte[] contentBody) + +
    +          处理通过MQ中间件收到的桥接消息。
    + + + + + + + +
    从类 net.nettime.mobileimsdk.server.bridge.MQProvider 继承的方法
    init, publish, publish, start, startPublisher, startWorker, tryGetConnection, whenConnected
    + + + + + + + +
    从类 java.lang.Object 继承的方法
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +  +

    + + + + + + + + +
    +字段详细信息
    + +

    +IMMQ_DECODE_CHARSET

    +
    +public static final java.lang.String IMMQ_DECODE_CHARSET
    +
    +
    收到消息的字符解码格式。默认utf-8。 +

    +

    +
    另请参见:
    常量字段值
    +
    +
    + +

    +IMMQ_URI

    +
    +public static java.lang.String IMMQ_URI
    +
    +
    消息队列服务器连接URI,形如:“amqp://admin:123456789@192.168.1.190” +

    +

    +
    +
    +
    + +

    +IMMQ_QUEUE_WEB2APP

    +
    +public static java.lang.String IMMQ_QUEUE_WEB2APP
    +
    +
    消息中转队列:Web端IM转发至APP端的消息,本类是此队列的消费者,表示从Web端读取消息 +

    +

    +
    +
    +
    + +

    +IMMQ_QUEUE_APP2WEB

    +
    +public static java.lang.String IMMQ_QUEUE_APP2WEB
    +
    +
    消息中转队列:APP端IM转发至Web端的消息,本类是此队列的生产者,表示将消息发送至Web端 +

    +

    +
    +
    + + + + + + + + +
    +构造方法详细信息
    + +

    +BridgeProcessor

    +
    +public BridgeProcessor()
    +
    +
    + + + + + + + + +
    +方法详细信息
    + +

    +work

    +
    +protected boolean work(byte[] contentBody)
    +
    +
    处理通过MQ中间件收到的桥接消息。 +

    +

    +
    覆盖:
    MQProvider 中的 work
    +
    +
    +
    参数:
    contentBody - 从MQ服务器取到的消息内容byte数组 +
    返回:
    true表示此消息处理成功(本类将回复ACK给MQ服务端,服务端队列中会交此消息正常删除), + 否则不成功(本类将通知MQ服务器将该条消息重新放回队列,以备下次再次获取)。
    +
    +
    +
    + +

    +realtimeC2CSuccessCallback

    +
    +protected abstract void realtimeC2CSuccessCallback(Protocal p)
    +
    +
    在线实时将消息桥接转发成功后被调用的回调方法。建议如果应用层需要作用户 + 的聊天消息记录,可以在本方法中处理。 +

    +

    +
    参数:
    p - 本次桥接转发的消息包
    +
    +
    +
    + +

    +offlineC2CProcessCallback

    +
    +protected abstract boolean offlineC2CProcessCallback(Protocal p)
    +
    +
    无法在线实时发送成功的消息将通过本回调方法进行处理。建议在此方法中作 + 离线处理,不然消息将被丢弃哦。 +

    +

    +
    参数:
    p - 本次桥接转发的消息包 +
    返回:
    true表示离线处理成功,false表示离线处理失败
    +
    +
    + +
    + + + + + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/LogicProcessor.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/LogicProcessor.html new file mode 100755 index 00000000..aa548870 --- /dev/null +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/LogicProcessor.html @@ -0,0 +1,389 @@ + + + + + + + +LogicProcessor (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    + +

    + +net.openmob.mobileimsdk.server.processor +
    +类 LogicProcessor

    +
    +java.lang.Object
    +  继承者 net.openmob.mobileimsdk.server.processor.LogicProcessor
    +
    +
    +
    +
    public class LogicProcessor
    extends java.lang.Object
    + + +

    +MobileIMSDK框架的IM消息逻辑处理器。 +

    + 本类是MobileIMSDK的服务端消息处理逻辑代码集中类,由服务端算法自行 + 调用,开发者原则上不需要关注本类中的任何方法,请勿随意调用! +

    + +

    +

    +
    从以下版本开始:
    +
    3.0
    +
    版本:
    +
    1.0
    +
    作者:
    +
    Jack Jiang, 2016-09-19
    +
    +
    + +

    + + + + + + + + + + + +
    +构造方法摘要
    LogicProcessor(ServerCoreHandler serverCoreHandler) + +
    +           
    +  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +方法摘要
    + voidprocessACK(Protocal pFromClient, + java.lang.String remoteAddress) + +
    +          处理来自客户端的各类ACK消息应答包。
    + voidprocessC2CMessage(BridgeProcessor bridgeProcessor, + org.apache.mina.core.session.IoSession session, + Protocal pFromClient, + java.lang.String remoteAddress) + +
    +          处理C2C(client to client)类消息(即客户端发给客户端的普通聊天消息)。
    + voidprocessC2SMessage(org.apache.mina.core.session.IoSession session, + Protocal pFromClient, + java.lang.String remoteAddress) + +
    +          处理C2S(client to server)类消息(即客户端发给服务端的指点令类消息)。
    + voidprocessKeepAlive(org.apache.mina.core.session.IoSession session, + Protocal pFromClient, + java.lang.String remoteAddress) + +
    +          处理来自客户端的心跳包。
    + voidprocessLogin(org.apache.mina.core.session.IoSession session, + Protocal pFromClient, + java.lang.String remoteAddress) + +
    +          处理来自客户端的登陆请求。
    + + + + + + + +
    从类 java.lang.Object 继承的方法
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +  +

    + + + + + + + + +
    +构造方法详细信息
    + +

    +LogicProcessor

    +
    +public LogicProcessor(ServerCoreHandler serverCoreHandler)
    +
    +
    + + + + + + + + +
    +方法详细信息
    + +

    +processC2CMessage

    +
    +public void processC2CMessage(BridgeProcessor bridgeProcessor,
    +                              org.apache.mina.core.session.IoSession session,
    +                              Protocal pFromClient,
    +                              java.lang.String remoteAddress)
    +                       throws java.lang.Exception
    +
    +
    处理C2C(client to client)类消息(即客户端发给客户端的普通聊天消息)。 +

    +

    +
    参数:
    bridgeProcessor -
    session -
    pFromClient -
    remoteAddress - +
    抛出: +
    java.lang.Exception
    +
    +
    +
    + +

    +processC2SMessage

    +
    +public void processC2SMessage(org.apache.mina.core.session.IoSession session,
    +                              Protocal pFromClient,
    +                              java.lang.String remoteAddress)
    +                       throws java.lang.Exception
    +
    +
    处理C2S(client to server)类消息(即客户端发给服务端的指点令类消息)。 +

    +

    +
    参数:
    session -
    pFromClient -
    remoteAddress - +
    抛出: +
    java.lang.Exception
    +
    +
    +
    + +

    +processACK

    +
    +public void processACK(Protocal pFromClient,
    +                       java.lang.String remoteAddress)
    +                throws java.lang.Exception
    +
    +
    处理来自客户端的各类ACK消息应答包。 +

    +

    +
    参数:
    pFromClient -
    remoteAddress - +
    抛出: +
    java.lang.Exception
    +
    +
    +
    + +

    +processLogin

    +
    +public void processLogin(org.apache.mina.core.session.IoSession session,
    +                         Protocal pFromClient,
    +                         java.lang.String remoteAddress)
    +                  throws java.lang.Exception
    +
    +
    处理来自客户端的登陆请求。 +

    +

    +
    参数:
    session -
    pFromClient -
    remoteAddress - +
    抛出: +
    java.lang.Exception
    +
    +
    +
    + +

    +processKeepAlive

    +
    +public void processKeepAlive(org.apache.mina.core.session.IoSession session,
    +                             Protocal pFromClient,
    +                             java.lang.String remoteAddress)
    +                      throws java.lang.Exception
    +
    +
    处理来自客户端的心跳包。 +

    +

    +
    参数:
    session -
    pFromClient -
    remoteAddress - +
    抛出: +
    java.lang.Exception
    +
    +
    + +
    + + + + + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/UserProcessor.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/OnlineProcessor.html similarity index 54% rename from docs/api_docs/server/net/openmob/mobileimsdk/server/processor/UserProcessor.html rename to docs/api_docs/server/net/openmob/mobileimsdk/server/processor/OnlineProcessor.html index f3dbb71e..cf8fbbae 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/UserProcessor.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/OnlineProcessor.html @@ -2,13 +2,13 @@ - + -UserProcessor (MobileIMSDK 2.1.6(Server端) API文档) +OnlineProcessor (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="UserProcessor (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="OnlineProcessor (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -41,7 +41,7 @@ 概述  软件包     - 使用  + 使用    已过时  索引  @@ -50,17 +50,17 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) - 上一个类  + 上一个类   下一个类 - 框架   - 无框架   + 框架   + 无框架     + + + + + +
    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    +

    +类 net.openmob.mobileimsdk.server.processor.BridgeProcessor
    的使用

    +
    + + + + + + + + + + + + + + + + + +
    +使用 BridgeProcessor 的软件包
    net.openmob.mobileimsdk.server服务端核心类。 
    net.openmob.mobileimsdk.server.processor各种具体业务逻辑实现类, since 3.0。 
    net.openmob.mobileimsdk.server.utils服务端代码的辅助工具类, since 3.0。 
    +  +

    + + + + + +
    +net.openmob.mobileimsdk.serverBridgeProcessor 的使用
    +  +

    + + + + + + + + + +
    声明为 BridgeProcessornet.openmob.mobileimsdk.server 中的字段
    +protected  BridgeProcessorServerCoreHandler.bridgeProcessor + +
    +          跨机器通信中间件服务提供者.
    +  +

    + + + + + + + + + + + + + +
    返回 BridgeProcessornet.openmob.mobileimsdk.server 中的方法
    +protected  BridgeProcessorServerCoreHandler.createBridgeProcessor() + +
    +          新建跨机器通信消息中间件服务提供者。
    + BridgeProcessorServerCoreHandler.getBridgeProcessor() + +
    +          获得本类对应的BridgeProcessor对象引用。
    +  +

    + + + + + +
    +net.openmob.mobileimsdk.server.processorBridgeProcessor 的使用
    +  +

    + + + + + + + + + +
    参数类型为 BridgeProcessornet.openmob.mobileimsdk.server.processor 中的方法
    + voidLogicProcessor.processC2CMessage(BridgeProcessor bridgeProcessor, + org.apache.mina.core.session.IoSession session, + Protocal pFromClient, + java.lang.String remoteAddress) + +
    +          处理C2C(client to client)类消息(即客户端发给客户端的普通聊天消息)。
    +  +

    + + + + + +
    +net.openmob.mobileimsdk.server.utilsBridgeProcessor 的使用
    +  +

    + + + + + + + + + + + + + +
    参数类型为 BridgeProcessornet.openmob.mobileimsdk.server.utils 中的方法
    +static voidGlobalSendHelper.sendDataC2C(BridgeProcessor bridgeProcessor, + org.apache.mina.core.session.IoSession session, + Protocal pFromClient, + java.lang.String remoteAddress, + ServerCoreHandler serverCoreHandler) + +
    +          用方法用于服务端作为中转发送C2C类型的数据之用,此方法封装了服务端中转发送 + C2C消息的所有逻辑(包括当接收者不在本机在线列表时的桥接处理等)。
    +static booleanGlobalSendHelper.sendDataS2C(BridgeProcessor bridgeProcessor, + Protocal pFromClient) + +
    +          用方法用于服务端向客户端主动发起的数据之用,此方法封装了服务端发送 + S2C消息的所有逻辑(包括当接收者不在本机在线列表时的桥接处理等)。
    +  +

    +


    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/class-use/LogicProcessor.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/class-use/LogicProcessor.html new file mode 100755 index 00000000..34607be1 --- /dev/null +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/class-use/LogicProcessor.html @@ -0,0 +1,197 @@ + + + + + + + +类 net.openmob.mobileimsdk.server.processor.LogicProcessor 的使用 (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    +

    +类 net.openmob.mobileimsdk.server.processor.LogicProcessor
    的使用

    +
    + + + + + + + + + +
    +使用 LogicProcessor 的软件包
    net.openmob.mobileimsdk.server服务端核心类。 
    +  +

    + + + + + +
    +net.openmob.mobileimsdk.serverLogicProcessor 的使用
    +  +

    + + + + + + + + + +
    声明为 LogicProcessornet.openmob.mobileimsdk.server 中的字段
    +protected  LogicProcessorServerCoreHandler.logicProcessor + +
    +          IM消息逻辑处理器(真正的算法实现都在此类中处理).
    +  +

    + + + + + + + + + +
    返回 LogicProcessornet.openmob.mobileimsdk.server 中的方法
    +protected  LogicProcessorServerCoreHandler.createLogicProcessor() + +
    +          创建MobileIMSDK框架核心层的数据交互处理逻辑封装对象。
    +  +

    +


    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/class-use/UserProcessor.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/class-use/OnlineProcessor.html similarity index 72% rename from docs/api_docs/server/net/openmob/mobileimsdk/server/processor/class-use/UserProcessor.html rename to docs/api_docs/server/net/openmob/mobileimsdk/server/processor/class-use/OnlineProcessor.html index 675e23ea..bfee8b4a 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/class-use/UserProcessor.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/class-use/OnlineProcessor.html @@ -2,13 +2,13 @@ - + -类 net.openmob.mobileimsdk.server.processor.UserProcessor 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +类 net.openmob.mobileimsdk.server.processor.OnlineProcessor 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="类 net.openmob.mobileimsdk.server.processor.UserProcessor 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="类 net.openmob.mobileimsdk.server.processor.OnlineProcessor 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -40,7 +40,7 @@ 概述  软件包  -   +    使用    已过时  @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -59,8 +59,8 @@  上一个   下一个
    - 框架   - 无框架   + 框架   + 无框架     @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -83,7 +83,7 @@

    软件包 net.openmob.mobileimsdk.server.processor

    -各种业务处理类。 +各种具体业务逻辑实现类, since 3.0。

    请参见:
    @@ -96,7 +96,15 @@

    类摘要 -UserProcessor +BridgeProcessor +用作异构平台IM消息交互的桥接服务提供者。 + + +LogicProcessor +MobileIMSDK框架的IM消息逻辑处理器。 + + +OnlineProcessor MibileIMSDK的服务端用户列表管理类。 @@ -108,7 +116,7 @@

    -各种业务处理类。 +各种具体业务逻辑实现类, since 3.0。

    @@ -138,7 +146,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -168,6 +176,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/package-tree.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/package-tree.html index 335e1626..13facb56 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/package-tree.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/package-tree.html @@ -2,13 +2,13 @@ - + -net.openmob.mobileimsdk.server.processor 类分层结构 (MobileIMSDK 2.1.6(Server端) API文档) +net.openmob.mobileimsdk.server.processor 类分层结构 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="net.openmob.mobileimsdk.server.processor 类分层结构 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="net.openmob.mobileimsdk.server.processor 类分层结构 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -93,7 +93,9 @@


    @@ -119,7 +121,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -149,6 +151,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/package-use.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/package-use.html index e4678929..9bc5166a 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/package-use.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/processor/package-use.html @@ -2,13 +2,13 @@ - + -软件包 net.openmob.mobileimsdk.server.processor 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +软件包 net.openmob.mobileimsdk.server.processor 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="软件包 net.openmob.mobileimsdk.server.processor 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="软件包 net.openmob.mobileimsdk.server.processor 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -91,8 +91,37 @@

    使用 net.openmob.mobileimsdk.server.processor 的软件包 +net.openmob.mobileimsdk.server +服务端核心类。  + + net.openmob.mobileimsdk.server.processor -各种业务处理类。  +各种具体业务逻辑实现类, since 3.0。  + + +net.openmob.mobileimsdk.server.utils +服务端代码的辅助工具类, since 3.0。  + + +  +

    + + + + + + + + + +
    +net.openmob.mobileimsdk.server 使用的 net.openmob.mobileimsdk.server.processor 中的类
    BridgeProcessor + +
    +          用作异构平台IM消息交互的桥接服务提供者。
    LogicProcessor + +
    +          MobileIMSDK框架的IM消息逻辑处理器。
      @@ -104,7 +133,13 @@

    net.openmob.mobileimsdk.server.processor 使用的 net.openmob.mobileimsdk.server.processor 中的类 -UserProcessor +BridgeProcessor + +
    +          用作异构平台IM消息交互的桥接服务提供者。 + + +OnlineProcessor
              MibileIMSDK的服务端用户列表管理类。 @@ -112,6 +147,21 @@

     

    + + + + + + + + +
    +net.openmob.mobileimsdk.server.utils 使用的 net.openmob.mobileimsdk.server.processor 中的类
    BridgeProcessor + +
    +          用作异构平台IM消息交互的桥接服务提供者。
    +  +


    @@ -136,7 +186,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -166,6 +216,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/CharsetHelper.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/CharsetHelper.html index 0b3ca1af..f1900ad3 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/CharsetHelper.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/CharsetHelper.html @@ -2,13 +2,13 @@ - + -CharsetHelper (MobileIMSDK 2.1.6(Server端) API文档) +CharsetHelper (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="CharsetHelper (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="CharsetHelper (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -351,7 +351,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -387,6 +387,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ErrorCode.ForC.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ErrorCode.ForC.html index 196bad85..d3e231ab 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ErrorCode.ForC.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ErrorCode.ForC.html @@ -2,13 +2,13 @@ - + -ErrorCode.ForC (MobileIMSDK 2.1.6(Server端) API文档) +ErrorCode.ForC (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="ErrorCode.ForC (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="ErrorCode.ForC (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -253,7 +253,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -289,6 +289,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ErrorCode.ForS.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ErrorCode.ForS.html index 7297532b..ec9d444a 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ErrorCode.ForS.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ErrorCode.ForS.html @@ -2,13 +2,13 @@ - + -ErrorCode.ForS (MobileIMSDK 2.1.6(Server端) API文档) +ErrorCode.ForS (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="ErrorCode.ForS (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="ErrorCode.ForS (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -173,7 +173,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -209,6 +209,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ErrorCode.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ErrorCode.html index 3e0c1e69..a83fd1ae 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ErrorCode.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ErrorCode.html @@ -2,13 +2,13 @@ - + -ErrorCode (MobileIMSDK 2.1.6(Server端) API文档) +ErrorCode (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="ErrorCode (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="ErrorCode (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -282,7 +282,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -318,6 +318,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/Protocal.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/Protocal.html index 3ff0cea3..41133015 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/Protocal.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/Protocal.html @@ -2,13 +2,13 @@ - + -Protocal (MobileIMSDK 2.1.6(Server端) API文档) +Protocal (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="Protocal (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="Protocal (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -125,25 +125,47 @@

    构造方法摘要 -Protocal(int type, +Protocal(int type, java.lang.String dataContent, - int from, - int to) + java.lang.String from, + java.lang.String to)
    -          构造方法(QoS标记默认为false)。 +          构造方法(QoS标记默认为false、typeu字段默认为-1)。 -Protocal(int type, +Protocal(int type, java.lang.String dataContent, - int from, - int to, + java.lang.String from, + java.lang.String to, boolean QoS, java.lang.String fingerPrint) +
    +          构造方法(typeu字段默认为-1)。 + + +Protocal(int type, + java.lang.String dataContent, + java.lang.String from, + java.lang.String to, + boolean QoS, + java.lang.String fingerPrint, + int typeu) +
              构造方法。 + +Protocal(int type, + java.lang.String dataContent, + java.lang.String from, + java.lang.String to, + int typeu) + +
    +          构造方法(QoS标记默认为false)。 +   @@ -188,7 +210,7 @@

    - int + java.lang.String getFrom()
    @@ -204,7 +226,7 @@

    - int + java.lang.String getTo()
    @@ -220,6 +242,14 @@

    + int +getTypeu() + +
    +          返回应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型。 + + +  void increaseRetryCount() @@ -229,6 +259,14 @@

     boolean +isBridge() + +
    +          是否来自跨服务器的消息,true表示是、否则不是。 + + + + boolean isQoS()
    @@ -237,6 +275,14 @@

     void +setBridge(boolean bridge) + +
    +            + + + + void setDataContent(java.lang.String dataContent)
    @@ -245,7 +291,7 @@

     void -setFrom(int from) +setFrom(java.lang.String from)
              设置消息发出方的id(当用户登陆时,此值可不设置)。 @@ -253,7 +299,15 @@

     void -setTo(int to) +setQoS(boolean qoS) + +
    +            + + + + void +setTo(java.lang.String to)
              消息接收方的id(当用户退出时,此值可不设置)。 @@ -268,6 +322,14 @@

    + void +setTypeu(int typeu) + +
    +          设置应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型。 + + +  byte[] toBytes() @@ -305,36 +367,71 @@

    -

    +

    +Protocal

    +
    +public Protocal(int type,
    +                java.lang.String dataContent,
    +                java.lang.String from,
    +                java.lang.String to)
    +
    +
    构造方法(QoS标记默认为false、typeu字段默认为-1)。 +

    +

    +
    参数:
    type - 协议类型
    dataContent - 协议数据内容
    from - 消息发出方的id(当用户登陆时,此值可不设置)
    to - 消息接收方的id(当用户退出时,此值可不设备)
    另请参见:
    Protocal(int, String, String, String, int)
    +
    +
    + +

    Protocal

     public Protocal(int type,
                     java.lang.String dataContent,
    -                int from,
    -                int to)
    + java.lang.String from, + java.lang.String to, + int typeu)
    构造方法(QoS标记默认为false)。

    -
    参数:
    type - 协议类型
    dataContent - 协议数据内容
    from - 消息发出方的id(当用户登陆时,此值可不设置)
    to - 消息接收方的id(当用户退出时,此值可不设备)
    +
    参数:
    type - 协议类型
    dataContent - 协议数据内容
    from - 消息发出方的id(当用户登陆时,此值可不设置)
    to - 消息接收方的id(当用户退出时,此值可不设备)
    typeu - 应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型,不需要设置时请填-1即可
    另请参见:
    Protocal(int, String, String, String, boolean, String, int)

    -

    +

    Protocal

     public Protocal(int type,
                     java.lang.String dataContent,
    -                int from,
    -                int to,
    +                java.lang.String from,
    +                java.lang.String to,
                     boolean QoS,
                     java.lang.String fingerPrint)
    +
    构造方法(typeu字段默认为-1)。 +

    +

    +
    参数:
    type - 协议类型
    dataContent - 协议数据内容
    from - 消息发出方的id(当用户登陆时,此值可不设置)
    to - 消息接收方的id(当用户退出时,此值可不设置)
    QoS - 是否需要QoS支持,true表示是,否则不需要
    fingerPrint - 协议包的指纹特征码,当 QoS字段=true时且本字段为null时方法中 + 将自动生成指纹码否则使用本参数指定的指纹码
    另请参见:
    Protocal(int, String, String, String, boolean, String, int)
    +
    +
    + +

    +Protocal

    +
    +public Protocal(int type,
    +                java.lang.String dataContent,
    +                java.lang.String from,
    +                java.lang.String to,
    +                boolean QoS,
    +                java.lang.String fingerPrint,
    +                int typeu)
    +
    构造方法。

    -
    参数:
    type - 协议类型
    dataContent - 协议数据内容
    from - 消息发出方的id(当用户登陆时,此值可不设置)
    to - 消息接收方的id(当用户退出时,此值可不设备)
    QoS - 是否需要QoS支持,true表示是,否则不需要
    fingerPrint - 协议包的指纹特征码,当 QoS字段=true时且本字段为null时方法中 - 将自动生成指纹码否则使用本参数指定的指纹码
    +
    参数:
    type - 协议类型
    dataContent - 协议数据内容
    from - 消息发出方的id(当用户登陆时,此值可不设置)
    to - 消息接收方的id(当用户退出时,此值可不设置)
    QoS - 是否需要QoS支持,true表示是,否则不需要
    fingerPrint - 协议包的指纹特征码,当 QoS字段=true时且本字段为null时方法中 + 将自动生成指纹码否则使用本参数指定的指纹码
    typeu - 应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型,不需要设置时请填-1即可
    @@ -404,7 +501,7 @@

    getFrom

    -public int getFrom()
    +public java.lang.String getFrom()
    返回消息发出方的id。

    @@ -415,10 +512,10 @@


    -

    +

    setFrom

    -public void setFrom(int from)
    +public void setFrom(java.lang.String from)
    设置消息发出方的id(当用户登陆时,此值可不设置)。

    @@ -431,7 +528,7 @@

    getTo

    -public int getTo()
    +public java.lang.String getTo()
    返回消息接收方的id。

    @@ -442,10 +539,10 @@


    -

    +

    setTo

    -public void setTo(int to)
    +public void setTo(java.lang.String to)
    消息接收方的id(当用户退出时,此值可不设置)。

    @@ -514,6 +611,86 @@


    +

    +setQoS

    +
    +public void setQoS(boolean qoS)
    +
    +
    +
    +
    +
    +
    + +

    +isBridge

    +
    +public boolean isBridge()
    +
    +
    是否来自跨服务器的消息,true表示是、否则不是。本字段是为跨服务器或集群准备的。 + 默认:false。 +

    +

    + +
    返回:
    从以下版本开始:
    +
    3.0
    +
    +
    +
    +
    + +

    +setBridge

    +
    +public void setBridge(boolean bridge)
    +
    +
    +
    +
    +
    +
    + +

    +getTypeu

    +
    +public int getTypeu()
    +
    +
    返回应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型。 +

    + 注意:此值为-1时表示未定义。MobileIMSDK_X框架中,本字段为保留字段, + 不参与框架的核心算法,专留用应用层自行定义和使用。 +

    + 默认:-1。 +

    +

    + +
    返回:
    任意应用层决定的整数
    从以下版本开始:
    +
    3.0
    +
    +
    +
    +
    + +

    +setTypeu

    +
    +public void setTypeu(int typeu)
    +
    +
    设置应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型。 +

    + 注意:此值为-1时表示未定义。MobileIMSDK_X框架中,本字段为保留字段, + 不参与框架的核心算法,专留用应用层自行定义和使用。 +

    + 默认:-1。 +

    +

    +
    参数:
    typeu - 任意应用层决定的整数,如不使用请填-1
    从以下版本开始:
    +
    3.0
    +
    +
    +
    +
    +

    toGsonString

    @@ -575,12 +752,12 @@ 

    - * 目前使用的UUID基本能保证全局唯一,但它有36位长(加上分隔符32+4),目前为了保持框架的算法可读性 - 暂时不进行优化,以后可考虑使用2进制方式或者Protobuffer实现。 + 目前使用的UUID能保证全局唯一,但它有36位长(加上分隔符32+4),在流量敏 + 感的场景下,建议可考虑适当优化此生成算法。

    -
    返回:
    指纹特征码实际上就是系统的当时时间戳
    另请参见:
    System.currentTimeMillis()
    +
    返回:
    指纹特征码实际上就是系统的当时时间戳
    另请参见:
    UUID.randomUUID().toString()

    @@ -608,7 +785,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -644,6 +821,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ProtocalFactory.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ProtocalFactory.html index e03b6322..7bd53e27 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ProtocalFactory.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ProtocalFactory.html @@ -2,13 +2,13 @@ - + -ProtocalFactory (MobileIMSDK 2.1.6(Server端) API文档) +ProtocalFactory (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="ProtocalFactory (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="ProtocalFactory (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -145,21 +145,24 @@

    static Protocal -createCommonData(java.lang.String dataContent, - int from_user_id, - int to_user_id) +createCommonData(java.lang.String dataContent, + java.lang.String from_user_id, + java.lang.String to_user_id, + boolean QoS, + java.lang.String fingerPrint)
    -          通用消息的Protocal对象新建方法(默认QoS=false)。 +          通用消息的Protocal对象新建方法(typeu字段默认-1)。 static Protocal -createCommonData(java.lang.String dataContent, - int from_user_id, - int to_user_id, +createCommonData(java.lang.String dataContent, + java.lang.String from_user_id, + java.lang.String to_user_id, boolean QoS, - java.lang.String fingerPrint) + java.lang.String fingerPrint, + int typeu)
              通用消息的Protocal对象新建方法。 @@ -167,9 +170,9 @@

    static Protocal -createPErrorResponse(int errorCode, +createPErrorResponse(int errorCode, java.lang.String errorMsg, - int user_id) + java.lang.String user_id)
              创建错误响应消息对象(该对象由服务端发出). @@ -177,7 +180,7 @@

    static Protocal -createPKeepAlive(int from_user_id) +createPKeepAlive(java.lang.String from_user_id)
              创建用户心跳包对象(该对象由客户端发出). @@ -185,7 +188,7 @@

    static Protocal -createPKeepAliveResponse(int to_user_id) +createPKeepAliveResponse(java.lang.String to_user_id)
              创建响应客户端的心跳消息对象(该对象由服务端发出). @@ -193,8 +196,8 @@

    static Protocal -createPLoginInfo(java.lang.String loginName, - java.lang.String loginPsw, +createPLoginInfo(java.lang.String userId, + java.lang.String token, java.lang.String extra)
    @@ -203,8 +206,8 @@

    static Protocal -createPLoginInfoResponse(int code, - int user_id) +createPLoginInfoResponse(int code, + java.lang.String user_id)
              创建用户登陆响应消息对象(该对象由服务端发出). @@ -212,8 +215,7 @@

    static Protocal -createPLoginoutInfo(int user_id, - java.lang.String loginName) +createPLoginoutInfo(java.lang.String user_id)
              创建用户注消登陆消息对象(该对象由客户端发出). @@ -221,10 +223,21 @@

    static Protocal -createRecivedBack(int from_user_id, - int to_user_id, +createRecivedBack(java.lang.String from_user_id, + java.lang.String to_user_id, java.lang.String recievedMessageFingerPrint) +
    +          客户端from_user_id向to_user_id发送一个QoS机制中需要的“收到消息应答包”(默认bridge标认为false). + + + +static Protocal +createRecivedBack(java.lang.String from_user_id, + java.lang.String to_user_id, + java.lang.String recievedMessageFingerPrint, + boolean bridge) +
              客户端from_user_id向to_user_id发送一个QoS机制中需要的“收到消息应答包”. @@ -400,10 +413,10 @@


    -

    +

    createPKeepAliveResponse

    -public static Protocal createPKeepAliveResponse(int to_user_id)
    +public static Protocal createPKeepAliveResponse(java.lang.String to_user_id)
    创建响应客户端的心跳消息对象(该对象由服务端发出).

    @@ -430,10 +443,10 @@


    -

    +

    createPKeepAlive

    -public static Protocal createPKeepAlive(int from_user_id)
    +public static Protocal createPKeepAlive(java.lang.String from_user_id)
    创建用户心跳包对象(该对象由客户端发出).

    @@ -460,12 +473,12 @@


    -

    +

    createPErrorResponse

     public static Protocal createPErrorResponse(int errorCode,
                                                 java.lang.String errorMsg,
    -                                            int user_id)
    + java.lang.String user_id)
    创建错误响应消息对象(该对象由服务端发出).

    @@ -494,11 +507,10 @@


    -

    +

    createPLoginoutInfo

    -public static Protocal createPLoginoutInfo(int user_id,
    -                                           java.lang.String loginName)
    +public static Protocal createPLoginoutInfo(java.lang.String user_id)
    创建用户注消登陆消息对象(该对象由客户端发出).

    @@ -514,8 +526,8 @@

    createPLoginInfo

    -public static Protocal createPLoginInfo(java.lang.String loginName,
    -                                        java.lang.String loginPsw,
    +public static Protocal createPLoginInfo(java.lang.String userId,
    +                                        java.lang.String token,
                                             java.lang.String extra)
    创建用户登陆消息对象(该对象由客户端发出). @@ -523,7 +535,7 @@

    本方法主要由MobileIMSDK框架内部使用。

    -
    参数:
    loginName - 登陆时提交的用户名:此用户名对框架来说可以随意,具体意义由上层逻辑决即可
    loginPsw - 登陆时提交的密码:此密码对框架来说可以随意,具体意义由上层逻辑决即可
    extra - 额外信息字符串。本字段目前为保留字段,供上层应用自行放置需要的内容 +
    参数:
    userId - 传递过来的准一id,保证唯一就可以通信,可能是登陆用户名、也可能是任意不重复的id等,具体意义由业务层决定
    token - 用于身份鉴别和合法性检查的token,它可能是登陆密码,也可能是通过前置单点登陆接口拿到的token等,具体意义由业务层决定
    extra - 额外信息字符串。本字段目前为保留字段,供上层应用自行放置需要的内容
    返回:

    @@ -545,11 +557,11 @@


    -

    +

    createPLoginInfoResponse

     public static Protocal createPLoginInfoResponse(int code,
    -                                                int user_id)
    + java.lang.String user_id)
    创建用户登陆响应消息对象(该对象由服务端发出).

    @@ -578,17 +590,19 @@


    -

    +

    createCommonData

     public static Protocal createCommonData(java.lang.String dataContent,
    -                                        int from_user_id,
    -                                        int to_user_id,
    +                                        java.lang.String from_user_id,
    +                                        java.lang.String to_user_id,
                                             boolean QoS,
                                             java.lang.String fingerPrint)
    -
    通用消息的Protocal对象新建方法。 - 本方法主要由MobileIMSDK框架内部使用。 +
    通用消息的Protocal对象新建方法(typeu字段默认-1)。 +

    + 友情提示:为了您能定义更优雅的IM协议, + 建议优先使用typeu定义您的协议类型,而不是使用默认的-1。

    参数:
    dataContent - 要发送的消息内容
    from_user_id - 发送人的user_id
    to_user_id - 接收人的user_id
    QoS - 是否需要QoS支持,true表示需要,否则不需要
    fingerPrint - 消息指纹特征码,为null则表示由系统自动生成指纹码,否则使用本参数指明的指纹码 @@ -597,31 +611,33 @@


    -

    +

    createCommonData

     public static Protocal createCommonData(java.lang.String dataContent,
    -                                        int from_user_id,
    -                                        int to_user_id)
    + java.lang.String from_user_id, + java.lang.String to_user_id, + boolean QoS, + java.lang.String fingerPrint, + int typeu)
    -
    通用消息的Protocal对象新建方法(默认QoS=false)。 - 本方法主要由MobileIMSDK框架内部使用。 +
    通用消息的Protocal对象新建方法。

    -
    参数:
    dataContent - 要发送的消息内容
    from_user_id - 发送人的user_id
    to_user_id - 接收人的user_id +
    参数:
    dataContent - 要发送的消息内容
    from_user_id - 发送人的user_id
    to_user_id - 接收人的user_id
    QoS - 是否需要QoS支持,true表示需要,否则不需要
    fingerPrint - 消息指纹特征码,为null则表示由系统自动生成指纹码,否则使用本参数指明的指纹码
    typeu - 应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型,不需要设置时请填-1即可
    返回:
    新建的Protocal对象

    -

    +

    createRecivedBack

    -public static Protocal createRecivedBack(int from_user_id,
    -                                         int to_user_id,
    +public static Protocal createRecivedBack(java.lang.String from_user_id,
    +                                         java.lang.String to_user_id,
                                              java.lang.String recievedMessageFingerPrint)
    -
    客户端from_user_id向to_user_id发送一个QoS机制中需要的“收到消息应答包”. +
    客户端from_user_id向to_user_id发送一个QoS机制中需要的“收到消息应答包”(默认bridge标认为false).

    本方法主要由MobileIMSDK框架内部使用。

    @@ -630,6 +646,25 @@

    返回:

    +
    + +

    +createRecivedBack

    +
    +public static Protocal createRecivedBack(java.lang.String from_user_id,
    +                                         java.lang.String to_user_id,
    +                                         java.lang.String recievedMessageFingerPrint,
    +                                         boolean bridge)
    +
    +
    客户端from_user_id向to_user_id发送一个QoS机制中需要的“收到消息应答包”. +

    + 本方法主要由MobileIMSDK框架内部使用。 +

    +

    +
    参数:
    from_user_id - 发起方
    to_user_id - 接收方
    recievedMessageFingerPrint - 已收到的消息包指纹码
    bridge - true表示是跨机器的桥接消息ACK,否则是本机消息ACK,默认请填false +
    返回:
    +
    +

    @@ -655,7 +690,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -691,6 +726,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ProtocalType.C.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ProtocalType.C.html index b238e39d..067c43d7 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ProtocalType.C.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ProtocalType.C.html @@ -2,13 +2,13 @@ - + -ProtocalType.C (MobileIMSDK 2.1.6(Server端) API文档) +ProtocalType.C (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="ProtocalType.C (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="ProtocalType.C (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -269,7 +269,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -305,6 +305,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ProtocalType.S.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ProtocalType.S.html index 5dde0b5c..ae184383 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ProtocalType.S.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ProtocalType.S.html @@ -2,13 +2,13 @@ - + -ProtocalType.S (MobileIMSDK 2.1.6(Server端) API文档) +ProtocalType.S (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="ProtocalType.S (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="ProtocalType.S (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -229,7 +229,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -265,6 +265,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ProtocalType.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ProtocalType.html index 5c250664..376895d1 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ProtocalType.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/ProtocalType.html @@ -2,13 +2,13 @@ - + -ProtocalType (MobileIMSDK 2.1.6(Server端) API文档) +ProtocalType (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="ProtocalType (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="ProtocalType (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -98,7 +98,10 @@

    -协议类型. +MobileIMSDK_X核心框架级的协议类型. +

    + 这些协议类型由框架算法决定其意义和用途,不建议用户自行使用,用户 + 自定义协议类型请参见 Protocal 类中的 typeu 字段。

    @@ -163,7 +166,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -199,6 +202,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/PKeepAlive.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/PKeepAlive.html index 5d0ae884..4d39a748 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/PKeepAlive.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/PKeepAlive.html @@ -2,13 +2,13 @@ - + -PKeepAlive (MobileIMSDK 2.1.6(Server端) API文档) +PKeepAlive (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="PKeepAlive (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="PKeepAlive (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -194,7 +194,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -230,6 +230,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/PLoginInfo.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/PLoginInfo.html index 6f48b4a0..6e21870c 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/PLoginInfo.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/PLoginInfo.html @@ -2,13 +2,13 @@ - + -PLoginInfo (MobileIMSDK 2.1.6(Server端) API文档) +PLoginInfo (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="PLoginInfo (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="PLoginInfo (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -107,6 +107,8 @@

    +
    从以下版本开始:
    +
    3.0
    版本:
    1.0
    作者:
    @@ -125,15 +127,15 @@

    构造方法摘要 -PLoginInfo(java.lang.String loginName, - java.lang.String loginPsw) +PLoginInfo(java.lang.String loginUserId, + java.lang.String loginToken)
              构造方法。 -PLoginInfo(java.lang.String loginName, - java.lang.String loginPsw, +PLoginInfo(java.lang.String loginUserId, + java.lang.String loginToken, java.lang.String extra)
    @@ -160,18 +162,20 @@

     java.lang.String -getLoginName() +getLoginToken()
    -          返回登陆时提交的用户名:此用户名对框架来说可以随意,具体意义由上层逻辑决即可 +          返回登陆时提交的用于身份鉴别和合法性检查的token,它可能是登陆密码,也可能是 + 通过前置单点登陆接口拿到的token等,具体意义由业务层决定。  java.lang.String -getLoginPsw() +getLoginUserId()
    -          返回登陆时提交的密码:此密码对框架来说可以随意,具体意义由上层逻辑决即可 +          返回登陆时提交的准一id,保证唯一就可以通信,可能是登陆用户名、也可 + 能是任意不重复的id等,具体意义由业务层决定。 @@ -184,18 +188,20 @@

     void -setLoginName(java.lang.String loginName) +setLoginToken(java.lang.String loginToken)
    -          设置登陆时提交的用户名:此用户名对框架来说可以随意,具体意义由上层逻辑决即可 +          设置登陆时提交的用于身份鉴别和合法性检查的token,它可能是登陆密码,也可能是 + 通过前置单点登陆接口拿到的token等,具体意义由业务层决定。  void -setLoginPsw(java.lang.String loginPsw) +setLoginUserId(java.lang.String loginUserId)
    -          设置登陆时提交的密码:此密码对框架来说可以随意,具体意义由上层逻辑决即可 +          设置登陆时提交的准一id,保证唯一就可以通信,可能是登陆用户名、也可 + 能是任意不重复的id等,具体意义由业务层决定。   @@ -223,27 +229,27 @@

    PLoginInfo

    -public PLoginInfo(java.lang.String loginName,
    -                  java.lang.String loginPsw)
    +public PLoginInfo(java.lang.String loginUserId, + java.lang.String loginToken)
    构造方法。

    -
    参数:
    loginName - 登陆时提交的用户名:此用户名对框架来说可以随意,具体意义由上层逻辑决即可
    loginPsw - 登陆时提交的密码:此密码对框架来说可以随意,具体意义由上层逻辑决即可
    +
    参数:
    userId - 传递过来的准一id,保证唯一就可以通信,可能是登陆用户名、也可能是任意不重复的id等,具体意义由业务层决定
    token - 用于身份鉴别和合法性检查的token,它可能是登陆密码,也可能是通过前置单点登陆接口拿到的token等,具体意义由业务层决定


    PLoginInfo

    -public PLoginInfo(java.lang.String loginName,
    -                  java.lang.String loginPsw,
    +public PLoginInfo(java.lang.String loginUserId,
    +                  java.lang.String loginToken,
                       java.lang.String extra)
    构造方法。

    -
    参数:
    loginName - 登陆时提交的用户名:此用户名对框架来说可以随意,具体意义由上层逻辑决即可
    loginPsw - 登陆时提交的密码:此密码对框架来说可以随意,具体意义由上层逻辑决即可
    extra - 额外信息字符串。本字段目前为保留字段,供上层应用自行放置需要的内容
    +
    参数:
    userId - 传递过来的准一id,保证唯一就可以通信,可能是登陆用户名、也可能是任意不重复的id等,具体意义由业务层决定
    token - 用于身份鉴别和合法性检查的token,它可能是登陆密码,也可能是通过前置单点登陆接口拿到的token等,具体意义由业务层决定
    extra - 额外信息字符串。本字段目前为保留字段,供上层应用自行放置需要的内容
    @@ -256,12 +262,13 @@

    -

    -getLoginName

    +

    +getLoginUserId

    -public java.lang.String getLoginName()
    +public java.lang.String getLoginUserId()
    -
    返回登陆时提交的用户名:此用户名对框架来说可以随意,具体意义由上层逻辑决即可 +
    返回登陆时提交的准一id,保证唯一就可以通信,可能是登陆用户名、也可 + 能是任意不重复的id等,具体意义由业务层决定。

    @@ -270,25 +277,27 @@


    -

    -setLoginName

    +

    +setLoginUserId

    -public void setLoginName(java.lang.String loginName)
    +public void setLoginUserId(java.lang.String loginUserId)
    -
    设置登陆时提交的用户名:此用户名对框架来说可以随意,具体意义由上层逻辑决即可 +
    设置登陆时提交的准一id,保证唯一就可以通信,可能是登陆用户名、也可 + 能是任意不重复的id等,具体意义由业务层决定。

    -
    参数:
    loginName -
    +
    参数:
    loginUserId -

    -

    -getLoginPsw

    +

    +getLoginToken

    -public java.lang.String getLoginPsw()
    +public java.lang.String getLoginToken()
    -
    返回登陆时提交的密码:此密码对框架来说可以随意,具体意义由上层逻辑决即可 +
    返回登陆时提交的用于身份鉴别和合法性检查的token,它可能是登陆密码,也可能是 + 通过前置单点登陆接口拿到的token等,具体意义由业务层决定。

    @@ -297,12 +306,13 @@


    -

    -setLoginPsw

    +

    +setLoginToken

    -public void setLoginPsw(java.lang.String loginPsw)
    +public void setLoginToken(java.lang.String loginToken)
    -
    设置登陆时提交的密码:此密码对框架来说可以随意,具体意义由上层逻辑决即可 +
    设置登陆时提交的用于身份鉴别和合法性检查的token,它可能是登陆密码,也可能是 + 通过前置单点登陆接口拿到的token等,具体意义由业务层决定。

    参数:
    loginPsw -
    @@ -364,7 +374,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -400,6 +410,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/class-use/PKeepAlive.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/class-use/PKeepAlive.html index 798e7b53..a164bb2f 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/class-use/PKeepAlive.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/class-use/PKeepAlive.html @@ -2,13 +2,13 @@ - + -类 net.openmob.mobileimsdk.server.protocal.c.PKeepAlive 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +类 net.openmob.mobileimsdk.server.protocal.c.PKeepAlive 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="类 net.openmob.mobileimsdk.server.protocal.c.PKeepAlive 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="类 net.openmob.mobileimsdk.server.protocal.c.PKeepAlive 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -146,7 +146,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -176,6 +176,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/class-use/PLoginInfo.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/class-use/PLoginInfo.html index d0f6357a..9e5f7451 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/class-use/PLoginInfo.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/class-use/PLoginInfo.html @@ -2,13 +2,13 @@ - + -类 net.openmob.mobileimsdk.server.protocal.c.PLoginInfo 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +类 net.openmob.mobileimsdk.server.protocal.c.PLoginInfo 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="类 net.openmob.mobileimsdk.server.protocal.c.PLoginInfo 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="类 net.openmob.mobileimsdk.server.protocal.c.PLoginInfo 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -91,70 +91,12 @@

    使用 PLoginInfo 的软件包 -net.openmob.mobileimsdk.server -服务端入口主类。  - - -net.openmob.mobileimsdk.server.processor -各种业务处理类。  - - net.openmob.mobileimsdk.server.protocal Java、Android和Server端共用的协议定义类。   

    - - - - - -
    -net.openmob.mobileimsdk.serverPLoginInfo 的使用
    -  -

    - - - - - - - - - -
    参数类型为 PLoginInfonet.openmob.mobileimsdk.server 中的方法
    -protected  intServerCoreHandler.getNextUserId(PLoginInfo loginInfo) - -
    -          获取新用户的userId。
    -  -

    - - - - - -
    -net.openmob.mobileimsdk.server.processorPLoginInfo 的使用
    -  -

    - - - - - - - - - -
    参数类型为 PLoginInfonet.openmob.mobileimsdk.server.processor 中的方法
    -static intUserProcessor.nextUserId(PLoginInfo loginInfo) - -
    -          获得一个新用户user_id。
    -  -

    @@ -204,7 +146,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -234,6 +176,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/package-frame.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/package-frame.html index 06efb340..86e5c8d1 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/package-frame.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/package-frame.html @@ -2,13 +2,13 @@ - + -net.openmob.mobileimsdk.server.protocal.c (MobileIMSDK 2.1.6(Server端) API文档) +net.openmob.mobileimsdk.server.protocal.c (MobileIMSDK 3.0(Server端) API文档) - + diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/package-summary.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/package-summary.html index a2e3fd52..e3e342d5 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/package-summary.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/package-summary.html @@ -2,13 +2,13 @@ - + -net.openmob.mobileimsdk.server.protocal.c (MobileIMSDK 2.1.6(Server端) API文档) +net.openmob.mobileimsdk.server.protocal.c (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="net.openmob.mobileimsdk.server.protocal.c (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="net.openmob.mobileimsdk.server.protocal.c (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -142,7 +142,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -172,6 +172,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/package-tree.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/package-tree.html index 3eb38fc7..7b848ec1 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/package-tree.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/package-tree.html @@ -2,13 +2,13 @@ - + -net.openmob.mobileimsdk.server.protocal.c 类分层结构 (MobileIMSDK 2.1.6(Server端) API文档) +net.openmob.mobileimsdk.server.protocal.c 类分层结构 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="net.openmob.mobileimsdk.server.protocal.c 类分层结构 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="net.openmob.mobileimsdk.server.protocal.c 类分层结构 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -119,7 +119,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -149,6 +149,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/package-use.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/package-use.html index e5160033..0fd27ffe 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/package-use.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/c/package-use.html @@ -2,13 +2,13 @@ - + -软件包 net.openmob.mobileimsdk.server.protocal.c 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +软件包 net.openmob.mobileimsdk.server.protocal.c 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="软件包 net.openmob.mobileimsdk.server.protocal.c 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="软件包 net.openmob.mobileimsdk.server.protocal.c 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -91,50 +91,12 @@

    使用 net.openmob.mobileimsdk.server.protocal.c 的软件包 -net.openmob.mobileimsdk.server -服务端入口主类。  - - -net.openmob.mobileimsdk.server.processor -各种业务处理类。  - - net.openmob.mobileimsdk.server.protocal Java、Android和Server端共用的协议定义类。   

    - - - - - - - - -
    -net.openmob.mobileimsdk.server 使用的 net.openmob.mobileimsdk.server.protocal.c 中的类
    PLoginInfo - -
    -          登陆信息DTO类.
    -  -

    - - - - - - - - -
    -net.openmob.mobileimsdk.server.processor 使用的 net.openmob.mobileimsdk.server.protocal.c 中的类
    PLoginInfo - -
    -          登陆信息DTO类.
    -  -

    @@ -180,7 +142,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -210,6 +172,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/CharsetHelper.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/CharsetHelper.html index fdc426a2..aece4e4c 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/CharsetHelper.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/CharsetHelper.html @@ -2,13 +2,13 @@ - + -类 net.openmob.mobileimsdk.server.protocal.CharsetHelper 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +类 net.openmob.mobileimsdk.server.protocal.CharsetHelper 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="类 net.openmob.mobileimsdk.server.protocal.CharsetHelper 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="类 net.openmob.mobileimsdk.server.protocal.CharsetHelper 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -110,7 +110,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -140,6 +140,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ErrorCode.ForC.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ErrorCode.ForC.html index 059409a1..6259ffb4 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ErrorCode.ForC.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ErrorCode.ForC.html @@ -2,13 +2,13 @@ - + -接口 net.openmob.mobileimsdk.server.protocal.ErrorCode.ForC 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +接口 net.openmob.mobileimsdk.server.protocal.ErrorCode.ForC 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="接口 net.openmob.mobileimsdk.server.protocal.ErrorCode.ForC 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="接口 net.openmob.mobileimsdk.server.protocal.ErrorCode.ForC 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -110,7 +110,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -140,6 +140,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ErrorCode.ForS.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ErrorCode.ForS.html index 5a8cf192..b44dff0b 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ErrorCode.ForS.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ErrorCode.ForS.html @@ -2,13 +2,13 @@ - + -接口 net.openmob.mobileimsdk.server.protocal.ErrorCode.ForS 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +接口 net.openmob.mobileimsdk.server.protocal.ErrorCode.ForS 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="接口 net.openmob.mobileimsdk.server.protocal.ErrorCode.ForS 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="接口 net.openmob.mobileimsdk.server.protocal.ErrorCode.ForS 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -110,7 +110,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -140,6 +140,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ErrorCode.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ErrorCode.html index 2e766bd8..7ff57629 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ErrorCode.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ErrorCode.html @@ -2,13 +2,13 @@ - + -接口 net.openmob.mobileimsdk.server.protocal.ErrorCode 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +接口 net.openmob.mobileimsdk.server.protocal.ErrorCode 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="接口 net.openmob.mobileimsdk.server.protocal.ErrorCode 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="接口 net.openmob.mobileimsdk.server.protocal.ErrorCode 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -110,7 +110,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -140,6 +140,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/Protocal.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/Protocal.html index ccdbb182..1d2e9e2c 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/Protocal.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/Protocal.html @@ -2,13 +2,13 @@ - + -类 net.openmob.mobileimsdk.server.protocal.Protocal 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +类 net.openmob.mobileimsdk.server.protocal.Protocal 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="类 net.openmob.mobileimsdk.server.protocal.Protocal 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="类 net.openmob.mobileimsdk.server.protocal.Protocal 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -91,14 +91,14 @@

    使用 Protocal 的软件包 -net.openmob.mobileimsdk.server -服务端入口主类。  - - net.openmob.mobileimsdk.server.event 服务端事件通知和回调接口。  +net.openmob.mobileimsdk.server.processor +各种具体业务逻辑实现类, since 3.0。  + + net.openmob.mobileimsdk.server.protocal Java、Android和Server端共用的协议定义类。  @@ -106,14 +106,18 @@

    net.openmob.mobileimsdk.server.qos Server端的QoS机制实现类。  + +net.openmob.mobileimsdk.server.utils +服务端代码的辅助工具类, since 3.0。  +  

    - + +net.openmob.mobileimsdk.server.eventProtocal 的使用
    -net.openmob.mobileimsdk.serverProtocal 的使用
      @@ -121,15 +125,24 @@

    - + - + +          消息未送达的回调事件通知. + +
    返回 Protocalnet.openmob.mobileimsdk.server 中的方法类型变量类型为 Protocalnet.openmob.mobileimsdk.server.event 中的方法参数
    -static ProtocalServerCoreHandler.fromIOBuffer(org.apache.mina.core.buffer.IoBuffer buffer) + voidMessageQoSEventListenerS2C.messagesLost(java.util.ArrayList<Protocal> lostMessages)
    -          从MINA的原始数据对象中解析出MobileIMSDK的完整协议内容(Protocal对象)。
    +  +

    + + + +
    +net.openmob.mobileimsdk.server.processorProtocal 的使用
      @@ -137,68 +150,73 @@

    - + - + +          无法在线实时发送成功的消息将通过本回调方法进行处理。 - + +          处理来自客户端的各类ACK消息应答包。 - + +          处理C2C(client to client)类消息(即客户端发给客户端的普通聊天消息)。 - + - -
    参数类型为 Protocalnet.openmob.mobileimsdk.server 中的方法参数类型为 Protocalnet.openmob.mobileimsdk.server.processor 中的方法
    -protected  booleanServerCoreHandler.replyDataForUnlogined(org.apache.mina.core.session.IoSession session, - Protocal p) +protected abstract  booleanBridgeProcessor.offlineC2CProcessCallback(Protocal p)
    -          当服务端检测到用户尚未登陆(或登陆会话已失效时)由服务端回复给 - 客户端的消息。
    -protected  booleanServerCoreHandler.replyDelegateRecievedBack(org.apache.mina.core.session.IoSession session, - Protocal pFromClient) + voidLogicProcessor.processACK(Protocal pFromClient, + java.lang.String remoteAddress)
    -          服务端回复伪应答包(给客户端发送方)。
    -static booleanServerLauncher.sendData(org.apache.mina.core.session.IoSession session, - Protocal p) + voidLogicProcessor.processC2CMessage(BridgeProcessor bridgeProcessor, + org.apache.mina.core.session.IoSession session, + Protocal pFromClient, + java.lang.String remoteAddress)
    -          向目标发送一条数据。
    -static booleanServerLauncher.sendData(Protocal p) + voidLogicProcessor.processC2SMessage(org.apache.mina.core.session.IoSession session, + Protocal pFromClient, + java.lang.String remoteAddress)
    -          向目标发送一条数据。
    -  -

    - - - - +          处理C2S(client to server)类消息(即客户端发给服务端的指点令类消息)。 -
    -net.openmob.mobileimsdk.server.eventProtocal 的使用
    -  -

    + + + void +LogicProcessor.processKeepAlive(org.apache.mina.core.session.IoSession session, + Protocal pFromClient, + java.lang.String remoteAddress) - - - +
    +          处理来自客户端的心跳包。 - +          处理来自客户端的登陆请求。 + + + +
    类型变量类型为 Protocalnet.openmob.mobileimsdk.server.event 中的方法参数
     voidMessageQoSEventListenerS2C.messagesLost(java.util.ArrayList<Protocal> lostMessages) +LogicProcessor.processLogin(org.apache.mina.core.session.IoSession session, + Protocal pFromClient, + java.lang.String remoteAddress)
    -          消息未送达的回调事件通知.
    +protected abstract  voidBridgeProcessor.realtimeC2CSuccessCallback(Protocal p) + +
    +          在线实时将消息桥接转发成功后被调用的回调方法。
      @@ -220,21 +238,24 @@

    static Protocal -ProtocalFactory.createCommonData(java.lang.String dataContent, - int from_user_id, - int to_user_id) +ProtocalFactory.createCommonData(java.lang.String dataContent, + java.lang.String from_user_id, + java.lang.String to_user_id, + boolean QoS, + java.lang.String fingerPrint)
    -          通用消息的Protocal对象新建方法(默认QoS=false)。 +          通用消息的Protocal对象新建方法(typeu字段默认-1)。 static Protocal -ProtocalFactory.createCommonData(java.lang.String dataContent, - int from_user_id, - int to_user_id, +ProtocalFactory.createCommonData(java.lang.String dataContent, + java.lang.String from_user_id, + java.lang.String to_user_id, boolean QoS, - java.lang.String fingerPrint) + java.lang.String fingerPrint, + int typeu)
              通用消息的Protocal对象新建方法。 @@ -242,9 +263,9 @@

    static Protocal -ProtocalFactory.createPErrorResponse(int errorCode, +ProtocalFactory.createPErrorResponse(int errorCode, java.lang.String errorMsg, - int user_id) + java.lang.String user_id)
              创建错误响应消息对象(该对象由服务端发出). @@ -252,7 +273,7 @@

    static Protocal -ProtocalFactory.createPKeepAlive(int from_user_id) +ProtocalFactory.createPKeepAlive(java.lang.String from_user_id)
              创建用户心跳包对象(该对象由客户端发出). @@ -260,7 +281,7 @@

    static Protocal -ProtocalFactory.createPKeepAliveResponse(int to_user_id) +ProtocalFactory.createPKeepAliveResponse(java.lang.String to_user_id)
              创建响应客户端的心跳消息对象(该对象由服务端发出). @@ -268,8 +289,8 @@

    static Protocal -ProtocalFactory.createPLoginInfo(java.lang.String loginName, - java.lang.String loginPsw, +ProtocalFactory.createPLoginInfo(java.lang.String userId, + java.lang.String token, java.lang.String extra)
    @@ -278,8 +299,8 @@

    static Protocal -ProtocalFactory.createPLoginInfoResponse(int code, - int user_id) +ProtocalFactory.createPLoginInfoResponse(int code, + java.lang.String user_id)
              创建用户登陆响应消息对象(该对象由服务端发出). @@ -287,8 +308,7 @@

    static Protocal -ProtocalFactory.createPLoginoutInfo(int user_id, - java.lang.String loginName) +ProtocalFactory.createPLoginoutInfo(java.lang.String user_id)
              创建用户注消登陆消息对象(该对象由客户端发出). @@ -296,10 +316,21 @@

    static Protocal -ProtocalFactory.createRecivedBack(int from_user_id, - int to_user_id, +ProtocalFactory.createRecivedBack(java.lang.String from_user_id, + java.lang.String to_user_id, java.lang.String recievedMessageFingerPrint) +
    +          客户端from_user_id向to_user_id发送一个QoS机制中需要的“收到消息应答包”(默认bridge标认为false). + + + +static Protocal +ProtocalFactory.createRecivedBack(java.lang.String from_user_id, + java.lang.String to_user_id, + java.lang.String recievedMessageFingerPrint, + boolean bridge) +
              客户端from_user_id向to_user_id发送一个QoS机制中需要的“收到消息应答包”. @@ -332,7 +363,7 @@

     void -QoS4ReciveDaemonC2S.addRecieved(Protocal p) +QoS4ReciveDaemonRoot.addRecieved(Protocal p)
              向列表中加入一个包的特征指纹。 @@ -340,7 +371,7 @@

     void -QoS4SendDaemonS2C.put(Protocal p) +QoS4SendDaemonRoot.put(Protocal p)
              推入一个消息包的指纹特征码. @@ -356,7 +387,7 @@

    protected  void -QoS4SendDaemonS2C.notifyMessageLost(java.util.ArrayList<Protocal> lostMessages) +QoS4SendDaemonRoot.notifyMessageLost(java.util.ArrayList<Protocal> lostMessages)
              将未送达信息反馈给消息监听者。 @@ -364,6 +395,98 @@

     

    + + + + + +
    +net.openmob.mobileimsdk.server.utilsProtocal 的使用
    +  +

    + + + + + + + + + +
    返回 Protocalnet.openmob.mobileimsdk.server.utils 中的方法
    +static ProtocalServerToolKits.fromIOBuffer(org.apache.mina.core.buffer.IoBuffer buffer) + +
    +          从MINA的原始数据对象中解析出MobileIMSDK的完整协议内容(Protocal对象)。
    +  +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    参数类型为 Protocalnet.openmob.mobileimsdk.server.utils 中的方法
    +static booleanLocalSendHelper.replyDataForUnlogined(org.apache.mina.core.session.IoSession session, + Protocal p) + +
    +          当服务端检测到用户尚未登陆(或登陆会话已失效时)由服务端回复给 + 客户端的消息。
    +static booleanLocalSendHelper.replyDelegateRecievedBack(org.apache.mina.core.session.IoSession session, + Protocal pFromClient) + +
    +          服务端回复伪应答包(给客户端发送方)。
    +static booleanLocalSendHelper.sendData(org.apache.mina.core.session.IoSession session, + Protocal p) + +
    +          向目标发送一条数据。
    +static booleanLocalSendHelper.sendData(Protocal p) + +
    +          向目标发送一条数据。
    +static voidGlobalSendHelper.sendDataC2C(BridgeProcessor bridgeProcessor, + org.apache.mina.core.session.IoSession session, + Protocal pFromClient, + java.lang.String remoteAddress, + ServerCoreHandler serverCoreHandler) + +
    +          用方法用于服务端作为中转发送C2C类型的数据之用,此方法封装了服务端中转发送 + C2C消息的所有逻辑(包括当接收者不在本机在线列表时的桥接处理等)。
    +static booleanGlobalSendHelper.sendDataS2C(BridgeProcessor bridgeProcessor, + Protocal pFromClient) + +
    +          用方法用于服务端向客户端主动发起的数据之用,此方法封装了服务端发送 + S2C消息的所有逻辑(包括当接收者不在本机在线列表时的桥接处理等)。
    +  +


    @@ -388,7 +511,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -418,6 +541,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ProtocalFactory.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ProtocalFactory.html index f775c633..c7817db1 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ProtocalFactory.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ProtocalFactory.html @@ -2,13 +2,13 @@ - + -类 net.openmob.mobileimsdk.server.protocal.ProtocalFactory 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +类 net.openmob.mobileimsdk.server.protocal.ProtocalFactory 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="类 net.openmob.mobileimsdk.server.protocal.ProtocalFactory 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="类 net.openmob.mobileimsdk.server.protocal.ProtocalFactory 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -110,7 +110,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -140,6 +140,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ProtocalType.C.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ProtocalType.C.html index d1db9219..04a6ebd5 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ProtocalType.C.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ProtocalType.C.html @@ -2,13 +2,13 @@ - + -接口 net.openmob.mobileimsdk.server.protocal.ProtocalType.C 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +接口 net.openmob.mobileimsdk.server.protocal.ProtocalType.C 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="接口 net.openmob.mobileimsdk.server.protocal.ProtocalType.C 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="接口 net.openmob.mobileimsdk.server.protocal.ProtocalType.C 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -110,7 +110,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -140,6 +140,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ProtocalType.S.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ProtocalType.S.html index 51f90ba0..0539cd9b 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ProtocalType.S.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ProtocalType.S.html @@ -2,13 +2,13 @@ - + -接口 net.openmob.mobileimsdk.server.protocal.ProtocalType.S 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +接口 net.openmob.mobileimsdk.server.protocal.ProtocalType.S 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="接口 net.openmob.mobileimsdk.server.protocal.ProtocalType.S 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="接口 net.openmob.mobileimsdk.server.protocal.ProtocalType.S 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -110,7 +110,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -140,6 +140,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ProtocalType.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ProtocalType.html index 05fd1475..b2a7eaff 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ProtocalType.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/class-use/ProtocalType.html @@ -2,13 +2,13 @@ - + -接口 net.openmob.mobileimsdk.server.protocal.ProtocalType 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +接口 net.openmob.mobileimsdk.server.protocal.ProtocalType 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="接口 net.openmob.mobileimsdk.server.protocal.ProtocalType 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="接口 net.openmob.mobileimsdk.server.protocal.ProtocalType 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -110,7 +110,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -140,6 +140,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/package-frame.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/package-frame.html index 85d3f9ac..bf0c1023 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/package-frame.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/package-frame.html @@ -2,13 +2,13 @@ - + -net.openmob.mobileimsdk.server.protocal (MobileIMSDK 2.1.6(Server端) API文档) +net.openmob.mobileimsdk.server.protocal (MobileIMSDK 3.0(Server端) API文档) - + diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/package-summary.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/package-summary.html index e9631452..4afb8c22 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/package-summary.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/package-summary.html @@ -2,13 +2,13 @@ - + -net.openmob.mobileimsdk.server.protocal (MobileIMSDK 2.1.6(Server端) API文档) +net.openmob.mobileimsdk.server.protocal (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="net.openmob.mobileimsdk.server.protocal (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="net.openmob.mobileimsdk.server.protocal (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -109,7 +109,7 @@

    ProtocalType -协议类型. +MobileIMSDK_X核心框架级的协议类型. ProtocalType.C @@ -180,7 +180,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -210,6 +210,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/package-tree.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/package-tree.html index 15661334..d6a61ae4 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/package-tree.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/package-tree.html @@ -2,13 +2,13 @@ - + -net.openmob.mobileimsdk.server.protocal 类分层结构 (MobileIMSDK 2.1.6(Server端) API文档) +net.openmob.mobileimsdk.server.protocal 类分层结构 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="net.openmob.mobileimsdk.server.protocal 类分层结构 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="net.openmob.mobileimsdk.server.protocal 类分层结构 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -124,7 +124,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -154,6 +154,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/package-use.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/package-use.html index 36d4d34d..9f6fbee4 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/package-use.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/package-use.html @@ -2,13 +2,13 @@ - + -软件包 net.openmob.mobileimsdk.server.protocal 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +软件包 net.openmob.mobileimsdk.server.protocal 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="软件包 net.openmob.mobileimsdk.server.protocal 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="软件包 net.openmob.mobileimsdk.server.protocal 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -91,14 +91,14 @@

    使用 net.openmob.mobileimsdk.server.protocal 的软件包 -net.openmob.mobileimsdk.server -服务端入口主类。  - - net.openmob.mobileimsdk.server.event 服务端事件通知和回调接口。  +net.openmob.mobileimsdk.server.processor +各种具体业务逻辑实现类, since 3.0。  + + net.openmob.mobileimsdk.server.protocal Java、Android和Server端共用的协议定义类。  @@ -106,17 +106,21 @@

    net.openmob.mobileimsdk.server.qos Server端的QoS机制实现类。  + +net.openmob.mobileimsdk.server.utils +服务端代码的辅助工具类, since 3.0。  +  

    - + +net.openmob.mobileimsdk.server.event 使用的 net.openmob.mobileimsdk.server.protocal 中的类 - @@ -124,14 +128,14 @@

    -net.openmob.mobileimsdk.server 使用的 net.openmob.mobileimsdk.server.protocal 中的类
    Protocal +Protocal
              协议报文对象.
     

    - + +net.openmob.mobileimsdk.server.processor 使用的 net.openmob.mobileimsdk.server.protocal 中的类 - @@ -163,6 +167,21 @@

    + +
    -net.openmob.mobileimsdk.server.event 使用的 net.openmob.mobileimsdk.server.protocal 中的类
    Protocal +Protocal
              协议报文对象.
    Protocal +
    +          协议报文对象.
    +  +

    + + + + + + + @@ -193,7 +212,7 @@

    +net.openmob.mobileimsdk.server.utils 使用的 net.openmob.mobileimsdk.server.protocal 中的类
    Protocal +
              协议报文对象.
    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -223,6 +242,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/PErrorResponse.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/PErrorResponse.html index e8515d36..ab4c0bd3 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/PErrorResponse.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/PErrorResponse.html @@ -2,13 +2,13 @@ - + -PErrorResponse (MobileIMSDK 2.1.6(Server端) API文档) +PErrorResponse (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="PErrorResponse (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="PErrorResponse (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -281,7 +281,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -317,6 +317,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/PKeepAliveResponse.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/PKeepAliveResponse.html index 73ff22e8..28480bc0 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/PKeepAliveResponse.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/PKeepAliveResponse.html @@ -2,13 +2,13 @@ - + -PKeepAliveResponse (MobileIMSDK 2.1.6(Server端) API文档) +PKeepAliveResponse (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="PKeepAliveResponse (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="PKeepAliveResponse (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -194,7 +194,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -230,6 +230,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/PLoginInfoResponse.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/PLoginInfoResponse.html index bd3180b0..3e240835 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/PLoginInfoResponse.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/PLoginInfoResponse.html @@ -2,13 +2,13 @@ - + -PLoginInfoResponse (MobileIMSDK 2.1.6(Server端) API文档) +PLoginInfoResponse (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="PLoginInfoResponse (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="PLoginInfoResponse (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -125,8 +125,7 @@

    构造方法摘要 -PLoginInfoResponse(int code, - int user_id) +PLoginInfoResponse(int code)
                @@ -146,14 +145,6 @@

     int getCode() -
    -            - - - - int -getUser_id() -
                @@ -162,14 +153,6 @@

     void setCode(int code) -
    -            - - - - void -setUser_id(int user_id) -
                @@ -196,11 +179,10 @@

    -

    +

    PLoginInfoResponse

    -public PLoginInfoResponse(int code,
    -                          int user_id)
    +public PLoginInfoResponse(int code)
    @@ -234,28 +216,6 @@

    -
    - -

    -getUser_id

    -
    -public int getUser_id()
    -
    -
    -
    -
    -
    -
    - -

    -setUser_id

    -
    -public void setUser_id(int user_id)
    -
    -
    -
    -
    -

    @@ -281,7 +241,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -317,6 +277,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/class-use/PErrorResponse.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/class-use/PErrorResponse.html index 2350d2f0..6867c721 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/class-use/PErrorResponse.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/class-use/PErrorResponse.html @@ -2,13 +2,13 @@ - + -类 net.openmob.mobileimsdk.server.protocal.s.PErrorResponse 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +类 net.openmob.mobileimsdk.server.protocal.s.PErrorResponse 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="类 net.openmob.mobileimsdk.server.protocal.s.PErrorResponse 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="类 net.openmob.mobileimsdk.server.protocal.s.PErrorResponse 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -146,7 +146,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -176,6 +176,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/class-use/PKeepAliveResponse.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/class-use/PKeepAliveResponse.html index c2a1c06f..d19e6bba 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/class-use/PKeepAliveResponse.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/class-use/PKeepAliveResponse.html @@ -2,13 +2,13 @@ - + -类 net.openmob.mobileimsdk.server.protocal.s.PKeepAliveResponse 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +类 net.openmob.mobileimsdk.server.protocal.s.PKeepAliveResponse 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="类 net.openmob.mobileimsdk.server.protocal.s.PKeepAliveResponse 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="类 net.openmob.mobileimsdk.server.protocal.s.PKeepAliveResponse 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -146,7 +146,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -176,6 +176,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/class-use/PLoginInfoResponse.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/class-use/PLoginInfoResponse.html index b45ffe77..c3709116 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/class-use/PLoginInfoResponse.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/class-use/PLoginInfoResponse.html @@ -2,13 +2,13 @@ - + -类 net.openmob.mobileimsdk.server.protocal.s.PLoginInfoResponse 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +类 net.openmob.mobileimsdk.server.protocal.s.PLoginInfoResponse 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="类 net.openmob.mobileimsdk.server.protocal.s.PLoginInfoResponse 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="类 net.openmob.mobileimsdk.server.protocal.s.PLoginInfoResponse 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -146,7 +146,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -176,6 +176,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/package-frame.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/package-frame.html index 776d7013..3ec480df 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/package-frame.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/package-frame.html @@ -2,13 +2,13 @@ - + -net.openmob.mobileimsdk.server.protocal.s (MobileIMSDK 2.1.6(Server端) API文档) +net.openmob.mobileimsdk.server.protocal.s (MobileIMSDK 3.0(Server端) API文档) - + diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/package-summary.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/package-summary.html index 47a050ce..09a1c3e3 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/package-summary.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/package-summary.html @@ -2,13 +2,13 @@ - + -net.openmob.mobileimsdk.server.protocal.s (MobileIMSDK 2.1.6(Server端) API文档) +net.openmob.mobileimsdk.server.protocal.s (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="net.openmob.mobileimsdk.server.protocal.s (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="net.openmob.mobileimsdk.server.protocal.s (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -146,7 +146,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -176,6 +176,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/package-tree.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/package-tree.html index 7f8d597b..70ed436c 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/package-tree.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/package-tree.html @@ -2,13 +2,13 @@ - + -net.openmob.mobileimsdk.server.protocal.s 类分层结构 (MobileIMSDK 2.1.6(Server端) API文档) +net.openmob.mobileimsdk.server.protocal.s 类分层结构 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="net.openmob.mobileimsdk.server.protocal.s 类分层结构 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="net.openmob.mobileimsdk.server.protocal.s 类分层结构 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -119,7 +119,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -149,6 +149,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/package-use.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/package-use.html index 20eca907..85021248 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/package-use.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/protocal/s/package-use.html @@ -2,13 +2,13 @@ - + -软件包 net.openmob.mobileimsdk.server.protocal.s 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +软件包 net.openmob.mobileimsdk.server.protocal.s 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="软件包 net.openmob.mobileimsdk.server.protocal.s 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="软件包 net.openmob.mobileimsdk.server.protocal.s 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -148,7 +148,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -178,6 +178,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/QoS4ReciveDaemonC2S.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/QoS4ReciveDaemonC2S.html index cd2d5620..27a65b0b 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/QoS4ReciveDaemonC2S.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/QoS4ReciveDaemonC2S.html @@ -2,13 +2,13 @@ - + -QoS4ReciveDaemonC2S (MobileIMSDK 2.1.6(Server端) API文档) +QoS4ReciveDaemonC2S (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="QoS4ReciveDaemonC2S (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="QoS4ReciveDaemonC2S (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,14 +50,14 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27)  上一个类  - 下一个类下一个类 框架    无框架   @@ -77,9 +77,9 @@ - 摘要: 嵌套 | 字段 | 构造方法 | 方法 + 摘要: 嵌套 | 字段 | 构造方法 | 方法 -详细信息: 字段 | 构造方法 | 方法 +详细信息: 字段 | 构造方法 | 方法 @@ -94,14 +94,12 @@

    类 QoS4ReciveDaemonC2S

     java.lang.Object
    -  继承者 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonC2S
    +  继承者 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonRoot
    +      继承者 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonC2S
     
    -
    -
    所有已实现的接口:
    java.awt.event.ActionListener, java.util.EventListener
    -

    -
    public class QoS4ReciveDaemonC2S
    extends java.lang.Object
    implements java.awt.event.ActionListener
    +
    public class QoS4ReciveDaemonC2S
    extends QoS4ReciveDaemonRoot

    @@ -109,10 +107,10 @@

    重复性判断的守护线程。

    原理是:当收到需QoS机制支持消息包时,会把它的唯一特征码(即指纹id) - 存放于本类的“已收到”消息队列中,寿命约为 MESSAGES_VALID_TIME指明 - 的时间,每当CHECH_INTERVAL定时检查间隔到来时会对其存活期进行检查 + 存放于本类的“已收到”消息队列中,寿命约为 QoS4ReciveDaemonRoot.MESSAGES_VALID_TIME指明 + 的时间,每当QoS4ReciveDaemonRoot.CHECH_INTERVAL定时检查间隔到来时会对其存活期进行检查 ,超期将被移除,否则允许其继续存活。理论情况下,一个包的最大寿命不可能超过2 - 倍的 CHECH_INTERVAL时长。 + 倍的 QoS4ReciveDaemonRoot.CHECH_INTERVAL时长。
    补充说明“超期”即意味着对方要么已收到应答包(这是QoS机制正 常情况下的表现)而无需再次重传、要么是已经达到QoS机制的重试极限而无可能再收 @@ -142,40 +140,7 @@


    - - - - - - - - - - - - - - - - - - -
    -字段摘要
    -static intCHECH_INTERVAL - -
    -          检查线程执行间隔(单位:毫秒),默认5分钟
    -static booleanDEBUG - -
    -           
    -static intMESSAGES_VALID_TIME - -
    -          一个消息放到在列表中(用于判定重复时使用)的生存时长(单位:毫秒),默认10分钟
    @@ -202,75 +167,20 @@

    - void -actionPerformed(java.awt.event.ActionEvent e) - -
    -            - - - - void -addRecieved(Protocal p) - -
    -          向列表中加入一个包的特征指纹。 - - - - void -addRecieved(java.lang.String fingerPrintOfProtocal) - -
    -          向列表中加入一个包的特征指纹。 - - - static QoS4ReciveDaemonC2S getInstance()
                - - - boolean -hasRecieved(java.lang.String fingerPrintOfProtocal) - -
    -          指定指纹码的Protocal是否已经收到过. - - - - boolean -isRunning() - -
    -          线程是否正在运行中。 - - - - int -size() - -
    -          当前“已收到消息”队列列表的大小. - - - - void -startup() - -
    -          启动线程。 + +  + + + - - +
    从类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonRoot 继承的方法
    - voidstop() - -
    -          无条件中断本线程的运行。
    addRecieved, addRecieved, hasRecieved, isDebugable, isRunning, setDebugable, size, startup, stop
      @@ -285,49 +195,6 @@

     

    - - - - - - - -
    -字段详细信息
    - -

    -DEBUG

    -
    -public static boolean DEBUG
    -
    -
    -
    -
    -
    - -

    -CHECH_INTERVAL

    -
    -public static final int CHECH_INTERVAL
    -
    -
    检查线程执行间隔(单位:毫秒),默认5分钟 -

    -

    -
    另请参见:
    常量字段值
    -
    -
    - -

    -MESSAGES_VALID_TIME

    -
    -public static final int MESSAGES_VALID_TIME
    -
    -
    一个消息放到在列表中(用于判定重复时使用)的生存时长(单位:毫秒),默认10分钟 -

    -

    -
    另请参见:
    常量字段值
    -
    - @@ -363,152 +230,6 @@

    -
    -
    -
    - -
    - -

    -actionPerformed

    -
    -public void actionPerformed(java.awt.event.ActionEvent e)
    -
    -
    -
    指定者:
    接口 java.awt.event.ActionListener 中的 actionPerformed
    -
    -
    -
    -
    -
    -
    - -

    -startup

    -
    -public void startup()
    -
    -
    启动线程。 -

    - 无论本方法调用前线程是否已经在运行中,都会尝试首先调用 stop()方法, - 以便确保线程被启动前是真正处于停止状态,这也意味着可无害调用本方法。 -

    - 本线程的启停,目前属于MobileIMSDK算法的一部分,暂时无需也不建议由应用层自行调用。 -

    -

    -
    -
    -
    -
    -
    -
    -
    - -

    -stop

    -
    -public void stop()
    -
    -
    无条件中断本线程的运行。 -

    - 本线程的启停,目前属于MobileIMSDK算法的一部分,暂时无需也不建议由应用层自行调用。 -

    -

    -
    -
    -
    -
    -
    -
    -
    - -

    -isRunning

    -
    -public boolean isRunning()
    -
    -
    线程是否正在运行中。 -

    -

    -
    -
    -
    - -
    返回:
    true表示是,否则线路处于停止状态
    -
    -
    -
    - -

    -addRecieved

    -
    -public void addRecieved(Protocal p)
    -
    -
    向列表中加入一个包的特征指纹。 -
    注意:本方法只会将指纹码推入,而不是将整个Protocal对象放入列表中。 -

    - 本方法的调用,目前属于MobileIMSDK算法的一部分,暂时无需也不建议由应用层自行调用。 -

    -

    -
    -
    -
    -
    参数:
    p -
    另请参见:
    addRecieved(String)
    -
    -
    -
    - -

    -addRecieved

    -
    -public void addRecieved(java.lang.String fingerPrintOfProtocal)
    -
    -
    向列表中加入一个包的特征指纹。 -

    - 本方法的调用,目前属于MobileIMSDK算法的一部分,暂时无需也不建议由应用层自行调用。 -

    -

    -
    -
    -
    -
    参数:
    fingerPrintOfProtocal - 消息包的特纹特征码(理论上是唯一的)
    另请参见:
    putImpl(String)
    -
    -
    -
    - -

    -hasRecieved

    -
    -public boolean hasRecieved(java.lang.String fingerPrintOfProtocal)
    -
    -
    指定指纹码的Protocal是否已经收到过. -

    - 此方法用于QoS机制中在防止因网络丢包导致对方未收到应答时而再次发送消息从而导致消息重复时的判断依赖. -

    -

    -
    -
    -
    -
    参数:
    fingerPrintOfProtocal - 消息包的特纹特征码(理论上是唯一的) -
    返回:
    -
    -
    -
    - -

    -size

    -
    -public int size()
    -
    -
    当前“已收到消息”队列列表的大小. -

    -

    -
    -
    -
    - -
    返回:
    另请参见:
    ArrayList.size()
    -

    @@ -535,14 +256,14 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27)  上一个类  - 下一个类下一个类 框架    无框架   @@ -562,15 +283,15 @@

    - 摘要: 嵌套 | 字段 | 构造方法 | 方法 + 摘要: 嵌套 | 字段 | 构造方法 | 方法 -详细信息: 字段 | 构造方法 | 方法 +详细信息: 字段 | 构造方法 | 方法
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/QoS4ReciveDaemonRoot.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/QoS4ReciveDaemonRoot.html new file mode 100755 index 00000000..3e33b8c4 --- /dev/null +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/QoS4ReciveDaemonRoot.html @@ -0,0 +1,479 @@ + + + + + + + +QoS4ReciveDaemonRoot (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    + +

    + +net.openmob.mobileimsdk.server.qos +
    +类 QoS4ReciveDaemonRoot

    +
    +java.lang.Object
    +  继承者 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonRoot
    +
    +
    +
    直接已知子类:
    QoS4ReciveDaemonC2B, QoS4ReciveDaemonC2S
    +
    +
    +
    +
    public class QoS4ReciveDaemonRoot
    extends java.lang.Object
    + + +

    +用于服务端的S2C模式下的QoS机制中提供对已收到包进行有限生命周期存储并提供 + 重复性判断的守护线程。 +

    + 原理是:当收到需QoS机制支持消息包时,会把它的唯一特征码(即指纹id) + 存放于本类的“已收到”消息队列中,寿命约为 MESSAGES_VALID_TIME指明 + 的时间,每当CHECH_INTERVAL定时检查间隔到来时会对其存活期进行检查 + ,超期将被移除,否则允许其继续存活。理论情况下,一个包的最大寿命不可能超过2 + 倍的 CHECH_INTERVAL时长。 +
    + 补充说明“超期”即意味着对方要么已收到应答包(这是QoS机制正 + 常情况下的表现)而无需再次重传、要么是已经达到QoS机制的重试极限而无可能再收 + 到重复包(那么在本类列表中该表也就没有必要再记录了)。总之,“超期”是队列中 + 这些消息包的正常生命周期的终止,无需过多解读。 +

    + 本类存在的意义在于:极端情况下QoS机制中存在因网络丢包导致应答包的 + 丢失而触发重传机制从而导致消息重复,而本类将维护一个有限时间段内收到的所有 + 需要QoS支持的消息的指纹列表且提供“重复性”判断机制,从而保证应用层绝不会因为 + QoS的重传机制而导致重复收到消息的情况。 +

    + 当前MobileIMSDK的QoS机制支持全部的C2C、C2S、S2C共3种消息交互场景下的 + 消息送达质量保证. +

    + 本线程的启停,目前属于MobileIMSDK算法的一部分,暂时无需也不建议由应用层自行调用。 +

    + +

    +

    +
    从以下版本开始:
    +
    2.1
    +
    版本:
    +
    1.0
    +
    作者:
    +
    Jack Jiang, 2015-09-04
    +
    +
    + +

    + + + + + + + + + + + +
    +构造方法摘要
    QoS4ReciveDaemonRoot(int CHECH_INTERVAL, + int MESSAGES_VALID_TIME, + boolean DEBUG, + java.lang.String debugTag) + +
    +           
    +  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +方法摘要
    + voidaddRecieved(Protocal p) + +
    +          向列表中加入一个包的特征指纹。
    + voidaddRecieved(java.lang.String fingerPrintOfProtocal) + +
    +          向列表中加入一个包的特征指纹。
    + booleanhasRecieved(java.lang.String fingerPrintOfProtocal) + +
    +          指定指纹码的Protocal是否已经收到过.
    + booleanisDebugable() + +
    +           
    + booleanisRunning() + +
    +          线程是否正在运行中。
    + QoS4ReciveDaemonRootsetDebugable(boolean debugable) + +
    +           
    + intsize() + +
    +          当前“已收到消息”队列列表的大小.
    + voidstartup() + +
    +          启动线程。
    + voidstop() + +
    +          无条件中断本线程的运行。
    + + + + + + + +
    从类 java.lang.Object 继承的方法
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +  +

    + + + + + + + + +
    +构造方法详细信息
    + +

    +QoS4ReciveDaemonRoot

    +
    +public QoS4ReciveDaemonRoot(int CHECH_INTERVAL,
    +                            int MESSAGES_VALID_TIME,
    +                            boolean DEBUG,
    +                            java.lang.String debugTag)
    +
    +
    + + + + + + + + +
    +方法详细信息
    + +

    +startup

    +
    +public void startup()
    +
    +
    启动线程。 +

    + 无论本方法调用前线程是否已经在运行中,都会尝试首先调用 stop()方法, + 以便确保线程被启动前是真正处于停止状态,这也意味着可无害调用本方法。 +

    + 本线程的启停,目前属于MobileIMSDK算法的一部分,暂时无需也不建议由应用层自行调用。 +

    +

    +
    +
    +
    +
    + +

    +stop

    +
    +public void stop()
    +
    +
    无条件中断本线程的运行。 +

    + 本线程的启停,目前属于MobileIMSDK算法的一部分,暂时无需也不建议由应用层自行调用。 +

    +

    +
    +
    +
    +
    + +

    +isRunning

    +
    +public boolean isRunning()
    +
    +
    线程是否正在运行中。 +

    +

    + +
    返回:
    true表示是,否则线路处于停止状态
    +
    +
    +
    + +

    +addRecieved

    +
    +public void addRecieved(Protocal p)
    +
    +
    向列表中加入一个包的特征指纹。 +
    注意:本方法只会将指纹码推入,而不是将整个Protocal对象放入列表中。 +

    + 本方法的调用,目前属于MobileIMSDK算法的一部分,暂时无需也不建议由应用层自行调用。 +

    +

    +
    参数:
    p -
    另请参见:
    addRecieved(String)
    +
    +
    +
    + +

    +addRecieved

    +
    +public void addRecieved(java.lang.String fingerPrintOfProtocal)
    +
    +
    向列表中加入一个包的特征指纹。 +

    + 本方法的调用,目前属于MobileIMSDK算法的一部分,暂时无需也不建议由应用层自行调用。 +

    +

    +
    参数:
    fingerPrintOfProtocal - 消息包的特纹特征码(理论上是唯一的)
    另请参见:
    putImpl(String)
    +
    +
    +
    + +

    +hasRecieved

    +
    +public boolean hasRecieved(java.lang.String fingerPrintOfProtocal)
    +
    +
    指定指纹码的Protocal是否已经收到过. +

    + 此方法用于QoS机制中在防止因网络丢包导致对方未收到应答时而再次发送消息从而导致消息重复时的判断依赖. +

    +

    +
    参数:
    fingerPrintOfProtocal - 消息包的特纹特征码(理论上是唯一的) +
    返回:
    +
    +
    +
    + +

    +size

    +
    +public int size()
    +
    +
    当前“已收到消息”队列列表的大小. +

    +

    + +
    返回:
    另请参见:
    ArrayList.size()
    +
    +
    +
    + +

    +setDebugable

    +
    +public QoS4ReciveDaemonRoot setDebugable(boolean debugable)
    +
    +
    +
    +
    +
    +
    + +

    +isDebugable

    +
    +public boolean isDebugable()
    +
    +
    +
    +
    +
    + +
    + + + + + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/QoS4SendDaemonRoot.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/QoS4SendDaemonRoot.html new file mode 100755 index 00000000..c7618d0b --- /dev/null +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/QoS4SendDaemonRoot.html @@ -0,0 +1,490 @@ + + + + + + + +QoS4SendDaemonRoot (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    + +

    + +net.openmob.mobileimsdk.server.qos +
    +类 QoS4SendDaemonRoot

    +
    +java.lang.Object
    +  继承者 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonRoot
    +
    +
    +
    直接已知子类:
    QoS4SendDaemonB2C, QoS4SendDaemonS2C
    +
    +
    +
    +
    public class QoS4SendDaemonRoot
    extends java.lang.Object
    + + +

    +


    + +

    + + + + + + + + + + + +
    +构造方法摘要
    QoS4SendDaemonRoot(int CHECH_INTERVAL, + int MESSAGES_JUST$NOW_TIME, + int QOS_TRY_COUNT, + boolean DEBUG, + java.lang.String debugTag) + +
    +           
    +  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +方法摘要
    + booleanexist(java.lang.String fingerPrint) + +
    +          该包是否已存在于队列中。
    + booleanisDebugable() + +
    +           
    + booleanisRunning() + +
    +          线程是否正在运行中。
    +protected  voidnotifyMessageLost(java.util.ArrayList<Protocal> lostMessages) + +
    +          将未送达信息反馈给消息监听者。
    + voidput(Protocal p) + +
    +          推入一个消息包的指纹特征码.
    + voidremove(java.lang.String fingerPrint) + +
    +          移除一个消息包.
    + QoS4SendDaemonRootsetDebugable(boolean debugable) + +
    +           
    + voidsetServerLauncher(ServerLauncher serverLauncher) + +
    +          设置用于QoS事件中没有实时重传成功的消息的回调通知事件宿主。
    + intsize() + +
    +          队列大小.
    + QoS4SendDaemonRootstartup(boolean immediately) + +
    +          启动线程。
    + voidstop() + +
    +          无条件中断本线程的运行。
    + + + + + + + +
    从类 java.lang.Object 继承的方法
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +  +

    + + + + + + + + +
    +构造方法详细信息
    + +

    +QoS4SendDaemonRoot

    +
    +public QoS4SendDaemonRoot(int CHECH_INTERVAL,
    +                          int MESSAGES_JUST$NOW_TIME,
    +                          int QOS_TRY_COUNT,
    +                          boolean DEBUG,
    +                          java.lang.String debugTag)
    +
    +
    + + + + + + + + +
    +方法详细信息
    + +

    +notifyMessageLost

    +
    +protected void notifyMessageLost(java.util.ArrayList<Protocal> lostMessages)
    +
    +
    将未送达信息反馈给消息监听者。 +

    +

    +
    参数:
    lostMessages - 已被判定为“消息未送达”的消息列表
    另请参见:
    ServerLauncher.getServerMessageQoSEventListener()}
    +
    +
    +
    + +

    +startup

    +
    +public QoS4SendDaemonRoot startup(boolean immediately)
    +
    +
    启动线程。 +

    + 无论本方法调用前线程是否已经在运行中,都会尝试首先调用 stop()方法, + 以便确保线程被启动前是真正处于停止状态,这也意味着可无害调用本方法。 +

    + 本线程的启停,目前属于MobileIMSDK算法的一部分,暂时无需也不建议由应用层自行调用。 +

    +

    +
    参数:
    immediately - true表示立即执行线程作业,否则直到 CHECH_INTERVAL + 执行间隔的到来才进行首次作业的执行
    +
    +
    +
    + +

    +stop

    +
    +public void stop()
    +
    +
    无条件中断本线程的运行。 +

    + 本线程的启停,目前属于MobileIMSDK算法的一部分,暂时无需也不建议由应用层自行调用。 +

    +

    +
    +
    +
    +
    + +

    +isRunning

    +
    +public boolean isRunning()
    +
    +
    线程是否正在运行中。 +

    +

    + +
    返回:
    true表示是,否则线路处于停止状态
    +
    +
    +
    + +

    +exist

    +
    +public boolean exist(java.lang.String fingerPrint)
    +
    +
    该包是否已存在于队列中。 +

    +

    +
    参数:
    fingerPrint - 消息包的特纹特征码(理论上是唯一的) +
    返回:
    +
    +
    +
    + +

    +put

    +
    +public void put(Protocal p)
    +
    +
    推入一个消息包的指纹特征码. +
    注意:本方法只会将指纹码推入,而不是将整个Protocal对象放入列表中。 +

    +

    +
    参数:
    p -
    +
    +
    +
    + +

    +remove

    +
    +public void remove(java.lang.String fingerPrint)
    +
    +
    移除一个消息包. +

    +

    +
    参数:
    fingerPrint - 消息包的特纹特征码(理论上是唯一的)
    +
    +
    +
    + +

    +size

    +
    +public int size()
    +
    +
    队列大小. +

    +

    + +
    返回:
    另请参见:
    HashMap.size()
    +
    +
    +
    + +

    +setServerLauncher

    +
    +public void setServerLauncher(ServerLauncher serverLauncher)
    +
    +
    设置用于QoS事件中没有实时重传成功的消息的回调通知事件宿主。 + +

    + 请在本类调用 startup(boolean) 前设置之,否则当实时重传 + 没有成功时,无法发出回调通知哦。 +

    +

    +
    另请参见:
    notifyMessageLost(ArrayList), +ServerCoreHandler.getServerMessageQoSEventListener(), +MessageQoSEventListenerS2C.messagesLost(ArrayList)
    +
    +
    +
    + +

    +setDebugable

    +
    +public QoS4SendDaemonRoot setDebugable(boolean debugable)
    +
    +
    +
    +
    +
    +
    + +

    +isDebugable

    +
    +public boolean isDebugable()
    +
    +
    +
    +
    +
    + +
    + + + + + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/QoS4SendDaemonS2C.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/QoS4SendDaemonS2C.html index 0d9dc0a0..0645dc75 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/QoS4SendDaemonS2C.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/QoS4SendDaemonS2C.html @@ -2,13 +2,13 @@ - + -QoS4SendDaemonS2C (MobileIMSDK 2.1.6(Server端) API文档) +QoS4SendDaemonS2C (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="QoS4SendDaemonS2C (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="QoS4SendDaemonS2C (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,13 +50,13 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) 上一个类  + 上一个类   下一个类 框架   @@ -77,9 +77,9 @@ - 摘要: 嵌套 | 字段 | 构造方法 | 方法 + 摘要: 嵌套 | 字段 | 构造方法 | 方法 -详细信息: 字段 | 构造方法 | 方法 +详细信息: 字段 | 构造方法 | 方法 @@ -94,11 +94,12 @@

    类 QoS4SendDaemonS2C

     java.lang.Object
    -  继承者 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonS2C
    +  继承者 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonRoot
    +      继承者 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonS2C
     

    -
    public class QoS4SendDaemonS2C
    extends java.lang.Object
    +
    public class QoS4SendDaemonS2C
    extends QoS4SendDaemonRoot

    @@ -123,48 +124,7 @@


    - - - - - - - - - - - - - - - - - - - - - - -
    -字段摘要
    -static intCHECH_INTERVAL - -
    -          QoS质量保证线程心跳间隔(单位:毫秒),默认5000ms.
    -static booleanDEBUG - -
    -           
    -static intMESSAGES_JUST$NOW_TIME - -
    -          “刚刚”发出的消息阀值定义(单位:毫秒),默认2000毫秒。
    -static intQOS_TRY_COUNT - -
    -          一个包允许的最大重发次数,默认1次。
    @@ -175,91 +135,20 @@

    - boolean -exist(java.lang.String fingerPrint) - -
    -          该包是否已存在于队列中。 - - - static QoS4SendDaemonS2C getInstance()
                - - - boolean -isRunning() - -
    -          线程是否正在运行中。 - - - -protected  void -notifyMessageLost(java.util.ArrayList<Protocal> lostMessages) - -
    -          将未送达信息反馈给消息监听者。 - - - - void -put(Protocal p) - -
    -          推入一个消息包的指纹特征码. - - - - void -remove(java.lang.String fingerPrint) - -
    -          移除一个消息包. - - - - void -run() - -
    -            - - - - void -setServerLauncher(ServerLauncher serverLauncher) - -
    -          设置用于QoS事件中没有实时重传成功的消息的回调通知事件宿主。 - - - - int -size() - -
    -          队列大小. - - - - QoS4SendDaemonS2C -startup(boolean immediately) - -
    -          启动线程。 + +  + + + - - +
    从类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonRoot 继承的方法
    - voidstop() - -
    -          无条件中断本线程的运行。
    exist, isDebugable, isRunning, notifyMessageLost, put, remove, setDebugable, setServerLauncher, size, startup, stop
      @@ -274,87 +163,6 @@

     

    - - - - - - - -
    -字段详细信息
    - -

    -DEBUG

    -
    -public static boolean DEBUG
    -
    -
    -
    -
    -
    - -

    -CHECH_INTERVAL

    -
    -public static final int CHECH_INTERVAL
    -
    -
    QoS质量保证线程心跳间隔(单位:毫秒),默认5000ms. -

    - 间隔越短则为用户重发越即时,但将使得重复发送的可能性增大(因为可能在应答 - 包尚在途中时就判定丢包了的错误情况),当然,即使真存在重复发送的可能也是无害的 - ,因为MobileIMSDK的QoS机制本身就有防重能力。请根据您的应用所处的网络延迟情况进行 - 权衡,本参数为非关键参数,如无特殊情况则建议无需调整本参数。 -

    -

    -
    另请参见:
    常量字段值
    -
    -
    - -

    -MESSAGES_JUST$NOW_TIME

    -
    -public static final int MESSAGES_JUST$NOW_TIME
    -
    -
    “刚刚”发出的消息阀值定义(单位:毫秒),默认2000毫秒。 - 注意:此值通常无需由开发者自行设定,保持默认即可。 -

    - 此阀值的作用在于:在QoS=true的情况下,一条刚刚发出的消息会同时保存到本类中的QoS保证队列, - 在接收方的应答包还未被发出方收到时(已经发出但因为存在数十毫秒的网络延迟,应答包正在路上) - ,恰好遇到本次QoS质量保证心跳间隔的到来,因为之前的QoS队列罗辑是只要存在本队列中还未被去掉 - 的包,就意味着是要重传的——那么此逻辑在我们本次讨论的情况下就存在漏洞而导致没有必要的重传了。 - 如果有本阀值存在,则即使刚刚发出的消息刚放到QoS队列就遇到QoS心跳到来,则只要当前放入队列的时间 - 小于或等于本值,就可以被认为是刚刚放入,那么也就避免被误重传了。 -

    - 基于以上考虑,本值的定义,只要设定这大于一条消息的发出起到收到它应答包为止这样一个时间间隔即可 - (其实就相于一个客户端到服务端的网络延迟时间4倍多一点点即可)。 - 此处定为3秒其实是为了保守望起见哦。 -

    - 本参数将决定真正因为UDP丢包而重传的即时性问题,即当MobileIMSDK的UDP丢包时,QoS首次重传的 - 响应时间为大于 MESSAGES_JUST$NOW_TIME 而 小于等于 CHECH_INTERVAL。 -

    -

    -
    从以下版本开始:
    -
    2.1.1
    -
    另请参见:
    常量字段值
    -
    -
    - -

    -QOS_TRY_COUNT

    -
    -public static final int QOS_TRY_COUNT
    -
    -
    一个包允许的最大重发次数,默认1次。 -

    - 次数越多,则整个UDP的可靠性越好,但在网络确实很烂的情况下可能会导致重传的泛滥而失去 - “即时”的意义。请根据网络状况和应用体验来权衡设定,本参数为0表示不重传,建议使用1到5 - 之间的数字。 -

    -

    -
    另请参见:
    常量字段值
    -
    - @@ -374,152 +182,6 @@

    -
    - -

    -run

    -
    -public void run()
    -
    -
    -
    -
    -
    -
    - -

    -notifyMessageLost

    -
    -protected void notifyMessageLost(java.util.ArrayList<Protocal> lostMessages)
    -
    -
    将未送达信息反馈给消息监听者。 -

    -

    -
    参数:
    lostMessages - 已被判定为“消息未送达”的消息列表
    另请参见:
    ServerLauncher.getServerMessageQoSEventListener()}
    -
    -
    -
    - -

    -startup

    -
    -public QoS4SendDaemonS2C startup(boolean immediately)
    -
    -
    启动线程。 -

    - 无论本方法调用前线程是否已经在运行中,都会尝试首先调用 stop()方法, - 以便确保线程被启动前是真正处于停止状态,这也意味着可无害调用本方法。 -

    - 本线程的启停,目前属于MobileIMSDK算法的一部分,暂时无需也不建议由应用层自行调用。 -

    -

    -
    参数:
    immediately - true表示立即执行线程作业,否则直到 CHECH_INTERVAL - 执行间隔的到来才进行首次作业的执行
    -
    -
    -
    - -

    -stop

    -
    -public void stop()
    -
    -
    无条件中断本线程的运行。 -

    - 本线程的启停,目前属于MobileIMSDK算法的一部分,暂时无需也不建议由应用层自行调用。 -

    -

    -
    -
    -
    -
    - -

    -isRunning

    -
    -public boolean isRunning()
    -
    -
    线程是否正在运行中。 -

    -

    - -
    返回:
    true表示是,否则线路处于停止状态
    -
    -
    -
    - -

    -exist

    -
    -public boolean exist(java.lang.String fingerPrint)
    -
    -
    该包是否已存在于队列中。 -

    -

    -
    参数:
    fingerPrint - 消息包的特纹特征码(理论上是唯一的) -
    返回:
    -
    -
    -
    - -

    -put

    -
    -public void put(Protocal p)
    -
    -
    推入一个消息包的指纹特征码. -
    注意:本方法只会将指纹码推入,而不是将整个Protocal对象放入列表中。 -

    -

    -
    参数:
    p -
    -
    -
    -
    - -

    -remove

    -
    -public void remove(java.lang.String fingerPrint)
    -
    -
    移除一个消息包. -

    -

    -
    参数:
    fingerPrint - 消息包的特纹特征码(理论上是唯一的)
    -
    -
    -
    - -

    -size

    -
    -public int size()
    -
    -
    队列大小. -

    -

    - -
    返回:
    另请参见:
    HashMap.size()
    -
    -
    -
    - -

    -setServerLauncher

    -
    -public void setServerLauncher(ServerLauncher serverLauncher)
    -
    -
    设置用于QoS事件中没有实时重传成功的消息的回调通知事件宿主。 - -

    - 请在本类调用 startup(boolean) 前设置之,否则当实时重传 - 没有成功时,无法发出回调通知哦。 -

    -

    -
    另请参见:
    notifyMessageLost(ArrayList), -ServerCoreHandler.getServerMessageQoSEventListener(), -MessageQoSEventListenerS2C.messagesLost(ArrayList)
    -
    -

    @@ -545,13 +207,13 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) 上一个类  + 上一个类   下一个类 框架   @@ -572,15 +234,15 @@

    - 摘要: 嵌套 | 字段 | 构造方法 | 方法 + 摘要: 嵌套 | 字段 | 构造方法 | 方法 -详细信息: 字段 | 构造方法 | 方法 +详细信息: 字段 | 构造方法 | 方法
    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/class-use/QoS4ReciveDaemonC2S.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/class-use/QoS4ReciveDaemonC2S.html index b21c5c87..fd28b889 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/class-use/QoS4ReciveDaemonC2S.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/class-use/QoS4ReciveDaemonC2S.html @@ -2,13 +2,13 @@ - + -类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonC2S 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonC2S 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonC2S 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonC2S 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -146,7 +146,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -176,6 +176,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/class-use/QoS4ReciveDaemonRoot.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/class-use/QoS4ReciveDaemonRoot.html new file mode 100755 index 00000000..5f088fc9 --- /dev/null +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/class-use/QoS4ReciveDaemonRoot.html @@ -0,0 +1,228 @@ + + + + + + + +类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonRoot 的使用 (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    +

    +类 net.openmob.mobileimsdk.server.qos.QoS4ReciveDaemonRoot
    的使用

    +
    + + + + + + + + + + + + + +
    +使用 QoS4ReciveDaemonRoot 的软件包
    net.nettime.mobileimsdk.server.bridge实现跨IM实例进行消息互通的类, since 3.0。 
    net.openmob.mobileimsdk.server.qosServer端的QoS机制实现类。 
    +  +

    + + + + + +
    +net.nettime.mobileimsdk.server.bridgeQoS4ReciveDaemonRoot 的使用
    +  +

    + + + + + + + + + +
    net.nettime.mobileimsdk.server.bridgeQoS4ReciveDaemonRoot 的子类
    + classQoS4ReciveDaemonC2B + +
    +          异构服务器消息转发模式下QoS机制之对已收到包进行有限生命周期存储并提供 + 重复性判断的守护线程实现类。
    +  +

    + + + + + +
    +net.openmob.mobileimsdk.server.qosQoS4ReciveDaemonRoot 的使用
    +  +

    + + + + + + + + + +
    net.openmob.mobileimsdk.server.qosQoS4ReciveDaemonRoot 的子类
    + classQoS4ReciveDaemonC2S + +
    +          用于服务端的S2C模式下的QoS机制中提供对已收到包进行有限生命周期存储并提供 + 重复性判断的守护线程。
    +  +

    + + + + + + + + + +
    返回 QoS4ReciveDaemonRootnet.openmob.mobileimsdk.server.qos 中的方法
    + QoS4ReciveDaemonRootQoS4ReciveDaemonRoot.setDebugable(boolean debugable) + +
    +           
    +  +

    +


    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/class-use/QoS4SendDaemonRoot.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/class-use/QoS4SendDaemonRoot.html new file mode 100755 index 00000000..a6f70743 --- /dev/null +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/class-use/QoS4SendDaemonRoot.html @@ -0,0 +1,234 @@ + + + + + + + +类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonRoot 的使用 (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    +

    +类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonRoot
    的使用

    +
    + + + + + + + + + + + + + +
    +使用 QoS4SendDaemonRoot 的软件包
    net.nettime.mobileimsdk.server.bridge实现跨IM实例进行消息互通的类, since 3.0。 
    net.openmob.mobileimsdk.server.qosServer端的QoS机制实现类。 
    +  +

    + + + + + +
    +net.nettime.mobileimsdk.server.bridgeQoS4SendDaemonRoot 的使用
    +  +

    + + + + + + + + + +
    net.nettime.mobileimsdk.server.bridgeQoS4SendDaemonRoot 的子类
    + classQoS4SendDaemonB2C + +
    +          异构服务器消息转发模式下QoS机制之消息发送质量保证队列的守护线程实现类。
    +  +

    + + + + + +
    +net.openmob.mobileimsdk.server.qosQoS4SendDaemonRoot 的使用
    +  +

    + + + + + + + + + +
    net.openmob.mobileimsdk.server.qosQoS4SendDaemonRoot 的子类
    + classQoS4SendDaemonS2C + +
    +          S2C模式中QoS数据包质量包证机制之发送队列保证实现类.
    +  +

    + + + + + + + + + + + + + +
    返回 QoS4SendDaemonRootnet.openmob.mobileimsdk.server.qos 中的方法
    + QoS4SendDaemonRootQoS4SendDaemonRoot.setDebugable(boolean debugable) + +
    +           
    + QoS4SendDaemonRootQoS4SendDaemonRoot.startup(boolean immediately) + +
    +          启动线程。
    +  +

    +


    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/class-use/QoS4SendDaemonS2C.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/class-use/QoS4SendDaemonS2C.html index fbcfb088..9b859d43 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/class-use/QoS4SendDaemonS2C.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/class-use/QoS4SendDaemonS2C.html @@ -2,13 +2,13 @@ - + -类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonS2C 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonS2C 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonS2C 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="类 net.openmob.mobileimsdk.server.qos.QoS4SendDaemonS2C 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -119,14 +119,6 @@


                - - - QoS4SendDaemonS2C -QoS4SendDaemonS2C.startup(boolean immediately) - -
    -          启动线程。 -  

    @@ -154,7 +146,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -184,6 +176,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/package-frame.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/package-frame.html index 5634f29c..8f03f662 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/package-frame.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/package-frame.html @@ -2,13 +2,13 @@ - + -net.openmob.mobileimsdk.server.qos (MobileIMSDK 2.1.6(Server端) API文档) +net.openmob.mobileimsdk.server.qos (MobileIMSDK 3.0(Server端) API文档) - + @@ -26,6 +26,10 @@
    QoS4ReciveDaemonC2S
    +QoS4ReciveDaemonRoot +
    +QoS4SendDaemonRoot +
    QoS4SendDaemonS2C diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/package-summary.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/package-summary.html index 65c2ebd1..7c67c0a8 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/package-summary.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/package-summary.html @@ -2,13 +2,13 @@ - + -net.openmob.mobileimsdk.server.qos (MobileIMSDK 2.1.6(Server端) API文档) +net.openmob.mobileimsdk.server.qos (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="net.openmob.mobileimsdk.server.qos (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="net.openmob.mobileimsdk.server.qos (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,14 +50,14 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27)  上一个软件包  - 下一个软件包下一个软件包 框架    无框架   @@ -101,6 +101,15 @@

    重复性判断的守护线程。 +QoS4ReciveDaemonRoot +用于服务端的S2C模式下的QoS机制中提供对已收到包进行有限生命周期存储并提供 + 重复性判断的守护线程。 + + +QoS4SendDaemonRoot +  + + QoS4SendDaemonS2C S2C模式中QoS数据包质量包证机制之发送队列保证实现类. @@ -143,14 +152,14 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27)  上一个软件包  - 下一个软件包下一个软件包 框架    无框架   @@ -173,6 +182,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/package-tree.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/package-tree.html index 84105b53..fdd0d2b7 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/package-tree.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/package-tree.html @@ -2,13 +2,13 @@ - + -net.openmob.mobileimsdk.server.qos 类分层结构 (MobileIMSDK 2.1.6(Server端) API文档) +net.openmob.mobileimsdk.server.qos 类分层结构 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="net.openmob.mobileimsdk.server.qos 类分层结构 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="net.openmob.mobileimsdk.server.qos 类分层结构 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,14 +50,14 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27)  上一个  - 下一个下一个
    框架    无框架   @@ -93,9 +93,12 @@


    @@ -120,14 +123,14 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27)  上一个  - 下一个下一个 框架    无框架   @@ -150,6 +153,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/package-use.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/package-use.html index 90f0fc4a..dfee3299 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/package-use.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/qos/package-use.html @@ -2,13 +2,13 @@ - + -软件包 net.openmob.mobileimsdk.server.qos 的使用 (MobileIMSDK 2.1.6(Server端) API文档) +软件包 net.openmob.mobileimsdk.server.qos 的使用 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="软件包 net.openmob.mobileimsdk.server.qos 的使用 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="软件包 net.openmob.mobileimsdk.server.qos 的使用 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -91,12 +91,38 @@

    使用 net.openmob.mobileimsdk.server.qos 的软件包 +net.nettime.mobileimsdk.server.bridge +实现跨IM实例进行消息互通的类, since 3.0。  + + net.openmob.mobileimsdk.server.qos Server端的QoS机制实现类。   

    + + + + + + + + + + + +
    +net.nettime.mobileimsdk.server.bridge 使用的 net.openmob.mobileimsdk.server.qos 中的类
    QoS4ReciveDaemonRoot + +
    +          用于服务端的S2C模式下的QoS机制中提供对已收到包进行有限生命周期存储并提供 + 重复性判断的守护线程。
    QoS4SendDaemonRoot + +
    +           
    +  +

    @@ -111,6 +137,19 @@

    重复性判断的守护线程。

    + + + + + +
    QoS4ReciveDaemonRoot + +
    +          用于服务端的S2C模式下的QoS机制中提供对已收到包进行有限生命周期存储并提供 + 重复性判断的守护线程。
    QoS4SendDaemonRoot + +
    +           
    QoS4SendDaemonS2C
    @@ -143,7 +182,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -173,6 +212,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/GlobalSendHelper.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/GlobalSendHelper.html new file mode 100755 index 00000000..42ed18de --- /dev/null +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/GlobalSendHelper.html @@ -0,0 +1,324 @@ + + + + + + + +GlobalSendHelper (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    + +

    + +net.openmob.mobileimsdk.server.utils +
    +类 GlobalSendHelper

    +
    +java.lang.Object
    +  继承者 net.openmob.mobileimsdk.server.utils.GlobalSendHelper
    +
    +
    +
    +
    public class GlobalSendHelper
    extends java.lang.Object
    + + +

    +本类提供的是公开的数据发送方法(已封装跨机器通信的桥接处理逻辑)。 +

    + 注意:如果已开通与Web版的互通(参见: ServerLauncher.bridgeEnabled ) + ,则服务端消息发送建议使用本类,否则请使用 LocalSendHelper 。 +

    + +

    +

    +
    从以下版本开始:
    +
    3.0
    +
    版本:
    +
    1.0
    +
    作者:
    +
    Jack Jiang, 2016-11-30
    +
    另请参见:
    ServerLauncher.bridgeEnabled
    +
    + +

    + + + + + + + + + + + +
    +构造方法摘要
    GlobalSendHelper() + +
    +           
    +  + + + + + + + + + + + + + + + +
    +方法摘要
    +static voidsendDataC2C(BridgeProcessor bridgeProcessor, + org.apache.mina.core.session.IoSession session, + Protocal pFromClient, + java.lang.String remoteAddress, + ServerCoreHandler serverCoreHandler) + +
    +          用方法用于服务端作为中转发送C2C类型的数据之用,此方法封装了服务端中转发送 + C2C消息的所有逻辑(包括当接收者不在本机在线列表时的桥接处理等)。
    +static booleansendDataS2C(BridgeProcessor bridgeProcessor, + Protocal pFromClient) + +
    +          用方法用于服务端向客户端主动发起的数据之用,此方法封装了服务端发送 + S2C消息的所有逻辑(包括当接收者不在本机在线列表时的桥接处理等)。
    + + + + + + + +
    从类 java.lang.Object 继承的方法
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +  +

    + + + + + + + + +
    +构造方法详细信息
    + +

    +GlobalSendHelper

    +
    +public GlobalSendHelper()
    +
    +
    + + + + + + + + +
    +方法详细信息
    + +

    +sendDataC2C

    +
    +public static void sendDataC2C(BridgeProcessor bridgeProcessor,
    +                               org.apache.mina.core.session.IoSession session,
    +                               Protocal pFromClient,
    +                               java.lang.String remoteAddress,
    +                               ServerCoreHandler serverCoreHandler)
    +                        throws java.lang.Exception
    +
    +
    用方法用于服务端作为中转发送C2C类型的数据之用,此方法封装了服务端中转发送 + C2C消息的所有逻辑(包括当接收者不在本机在线列表时的桥接处理等)。 +

    + 注意:本方法不应由服务端的应用层调用,仅限MobileIMSDK_X框架内部使用。 +

    +

    +
    参数:
    bridgeProcessor - 跨IM实例互通的桥接器对象
    session - 应答包被回复的回话,也就是C2C消息的发出者对应的session句柄(布满是消息接收者哦)
    pFromClient -
    remoteAddress -
    serverCoreHandler - +
    抛出: +
    java.lang.Exception
    另请参见:
    MQProvider.publish(String), +LocalSendHelper.sendData(IoSession, Protocal)
    +
    +
    +
    + +

    +sendDataS2C

    +
    +public static boolean sendDataS2C(BridgeProcessor bridgeProcessor,
    +                                  Protocal pFromClient)
    +                           throws java.lang.Exception
    +
    +
    用方法用于服务端向客户端主动发起的数据之用,此方法封装了服务端发送 + S2C消息的所有逻辑(包括当接收者不在本机在线列表时的桥接处理等)。 +

    + 提示:本方法可用于应用层调用,从而实现服务端向客户端主动发送 + 消息的能力(且支持跨机器的消息能力)。 +

    +

    +
    参数:
    bridgeProcessor - 跨IM实例互通的桥接器对象,应用层可通过 + ServerLauncherImpl.getInstance().getServerCoreHandler().getBridgeProcessor() + 来获取此对象引用
    pFromClient - 要发送的数据内容,请使用 ProtocalFactory.createCommonData(String, String, String + , boolean, String, int)来生成Protocal对象 +
    返回:
    false表示发送一定没有成功,true表示消息已成功送成但因异步发送且是UDP的原因能否成功收 + 到还得看服务端QoS的情况 +
    抛出: +
    java.lang.Exception - 发生任何异常时都会抛出
    另请参见:
    OnlineProcessor.isOnline(String), +MQProvider.publish(String), +LocalSendHelper.sendData(Protocal)
    +
    +
    + +
    + + + + + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/LocalSendHelper.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/LocalSendHelper.html new file mode 100755 index 00000000..7796d805 --- /dev/null +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/LocalSendHelper.html @@ -0,0 +1,544 @@ + + + + + + + +LocalSendHelper (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    + +

    + +net.openmob.mobileimsdk.server.utils +
    +类 LocalSendHelper

    +
    +java.lang.Object
    +  继承者 net.openmob.mobileimsdk.server.utils.LocalSendHelper
    +
    +
    +
    +
    public class LocalSendHelper
    extends java.lang.Object
    + + +

    +本类提供的是公开的数据发送方法(数据接收者仅限于本机在线用户)。 +

    + 注意:如果未开通与Web版的互通(参见: ServerLauncher.bridgeEnabled ) + ,则服务端消息发送建议使用本类,否则请使用 GlobalSendHelper 。 +

    + +

    +

    +
    从以下版本开始:
    +
    3.0
    +
    版本:
    +
    1.0
    +
    作者:
    +
    Jack Jiang, 2016-11-30
    +
    另请参见:
    ServerLauncher.bridgeEnabled
    +
    + +

    + + + + + + + + + + + +
    +构造方法摘要
    LocalSendHelper() + +
    +           
    +  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +方法摘要
    +static booleanreplyDataForUnlogined(org.apache.mina.core.session.IoSession session, + Protocal p) + +
    +          当服务端检测到用户尚未登陆(或登陆会话已失效时)由服务端回复给 + 客户端的消息。
    +static booleanreplyDelegateRecievedBack(org.apache.mina.core.session.IoSession session, + Protocal pFromClient) + +
    +          服务端回复伪应答包(给客户端发送方)。
    +static booleansendData(org.apache.mina.core.session.IoSession session, + Protocal p) + +
    +          向目标发送一条数据。
    +static booleansendData(Protocal p) + +
    +          向目标发送一条数据。
    +static booleansendData(java.lang.String from_user_id, + java.lang.String to_user_id, + java.lang.String dataContent) + +
    +          向目标发送一条数据(默认QoS=true,typeu=-1)。
    +static booleansendData(java.lang.String from_user_id, + java.lang.String to_user_id, + java.lang.String dataContent, + boolean QoS, + int typeu) + +
    +          向目标发送一条数据。
    +static booleansendData(java.lang.String from_user_id, + java.lang.String to_user_id, + java.lang.String dataContent, + boolean QoS, + java.lang.String fingerPrint) + +
    +          向目标发送一条数据(typeu=-1)。
    +static booleansendData(java.lang.String from_user_id, + java.lang.String to_user_id, + java.lang.String dataContent, + boolean QoS, + java.lang.String fingerPrint, + int typeu) + +
    +          向目标发送一条数据。
    +static booleansendData(java.lang.String from_user_id, + java.lang.String to_user_id, + java.lang.String dataContent, + int typeu) + +
    +          向目标发送一条数据(默认QoS=true)。
    + + + + + + + +
    从类 java.lang.Object 继承的方法
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +  +

    + + + + + + + + +
    +构造方法详细信息
    + +

    +LocalSendHelper

    +
    +public LocalSendHelper()
    +
    +
    + + + + + + + + +
    +方法详细信息
    + +

    +sendData

    +
    +public static boolean sendData(java.lang.String from_user_id,
    +                               java.lang.String to_user_id,
    +                               java.lang.String dataContent)
    +                        throws java.lang.Exception
    +
    +
    向目标发送一条数据(默认QoS=true,typeu=-1)。 +

    +

    +
    参数:
    from_user_id - 发送方user_id
    to_user_id - 接收方的user_id
    dataContent - 发送的文本内容 +
    返回:
    true表示发送完成,false表示发送失败 +
    抛出: +
    java.lang.Exception - 发送过程中出现错误则抛出本异常
    从以下版本开始:
    +
    2.1.4
    +
    另请参见:
    #sendData(int, int, String, boolean, String)
    +
    +
    +
    + +

    +sendData

    +
    +public static boolean sendData(java.lang.String from_user_id,
    +                               java.lang.String to_user_id,
    +                               java.lang.String dataContent,
    +                               int typeu)
    +                        throws java.lang.Exception
    +
    +
    向目标发送一条数据(默认QoS=true)。 +

    +

    +
    参数:
    from_user_id - 发送方user_id
    to_user_id - 接收方的user_id
    dataContent - 发送的文本内容
    typeu - 应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型。注意:此值为-1时表示未定义。 + MobileIMSDK_X框架中,本字段为保留字段,不参与框架的核心算法,专留作应用层自行定义和使用。 +
    返回:
    true表示发送完成,false表示发送失败 +
    抛出: +
    java.lang.Exception - 发送过程中出现错误则抛出本异常
    从以下版本开始:
    +
    2.1.4
    +
    另请参见:
    #sendData(int, int, String, boolean, String)
    +
    +
    +
    + +

    +sendData

    +
    +public static boolean sendData(java.lang.String from_user_id,
    +                               java.lang.String to_user_id,
    +                               java.lang.String dataContent,
    +                               boolean QoS,
    +                               int typeu)
    +                        throws java.lang.Exception
    +
    +
    向目标发送一条数据。 +

    +

    +
    参数:
    from_user_id - 发送方user_id
    to_user_id - 接收方的user_id
    dataContent - 发送的文本内容
    QoS - 是否需要QoS支持,true表示需要,否则不需要。当为true时系统将自动生成指纹码
    typeu - 应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型。注意:此值为-1时表示未定义。 + MobileIMSDK_X框架中,本字段为保留字段,不参与框架的核心算法,专留作应用层自行定义和使用。 +
    返回:
    true表示发送完成,false表示发送失败 +
    抛出: +
    java.lang.Exception - 发送过程中出现错误则抛出本异常
    从以下版本开始:
    +
    2.1.4
    +
    另请参见:
    #sendData(int, int, String, boolean, String)
    +
    +
    +
    + +

    +sendData

    +
    +public static boolean sendData(java.lang.String from_user_id,
    +                               java.lang.String to_user_id,
    +                               java.lang.String dataContent,
    +                               boolean QoS,
    +                               java.lang.String fingerPrint)
    +                        throws java.lang.Exception
    +
    +
    向目标发送一条数据(typeu=-1)。 +

    +

    +
    参数:
    from_user_id - 发送方user_id
    to_user_id - 接收方的user_id
    dataContent - 发送的文本内容
    QoS - 是否需要QoS支持,true表示需要,否则不需要。当为false时fingerPrint字段值将无意义
    fingerPrint - 消息指纹特征码,当QoS=true且本参数为null则表示由系统自动生成指纹码,否则使用本参数指明的指纹码 +
    返回:
    true表示发送完成,false表示发送失败 +
    抛出: +
    java.lang.Exception - 发送过程中出现错误则抛出本异常
    从以下版本开始:
    +
    2.1.4
    +
    另请参见:
    sendData(Protocal)
    +
    +
    +
    + +

    +sendData

    +
    +public static boolean sendData(java.lang.String from_user_id,
    +                               java.lang.String to_user_id,
    +                               java.lang.String dataContent,
    +                               boolean QoS,
    +                               java.lang.String fingerPrint,
    +                               int typeu)
    +                        throws java.lang.Exception
    +
    +
    向目标发送一条数据。 +

    +

    +
    参数:
    from_user_id - 发送方user_id
    to_user_id - 接收方的user_id
    dataContent - 发送的文本内容
    QoS - 是否需要QoS支持,true表示需要,否则不需要。当为false时fingerPrint字段值将无意义
    fingerPrint - 消息指纹特征码,当QoS=true且本参数为null则表示由系统自动生成指纹码,否则使用本参数指明的指纹码
    typeu - 应用层专用字段——用于应用层存放聊天、推送等场景下的消息类型。注意:此值为-1时表示未定义。 + MobileIMSDK_X框架中,本字段为保留字段,不参与框架的核心算法,专留作应用层自行定义和使用。 +
    返回:
    true表示发送完成,false表示发送失败 +
    抛出: +
    java.lang.Exception - 发送过程中出现错误则抛出本异常
    从以下版本开始:
    +
    3.0
    +
    另请参见:
    sendData(Protocal)
    +
    +
    +
    + +

    +sendData

    +
    +public static boolean sendData(Protocal p)
    +                        throws java.lang.Exception
    +
    +
    向目标发送一条数据。 +

    +

    +
    参数:
    p - 要发送的内容(此对象封装了发送方user_id、接收方user_id、消息内容等) +
    返回:
    true表示发送完成,false表示发送失败 +
    抛出: +
    java.lang.Exception - 发送过程中出现错误则抛出本异常
    另请参见:
    #sendData(IoSession, Protocal)}
    +
    +
    +
    + +

    +sendData

    +
    +public static boolean sendData(org.apache.mina.core.session.IoSession session,
    +                               Protocal p)
    +                        throws java.lang.Exception
    +
    +
    向目标发送一条数据。 +

    +

    +
    参数:
    session - 接收者的会话对象引用
    p - 要发送的内容(此对象封装了发送方user_id、接收方user_id、消息内容等) +
    返回:
    true表示发送完成,false表示发送失败 +
    抛出: +
    java.lang.Exception - 发送过程中出现错误则抛出本异常
    另请参见:
    IoSession.write(Object)
    +
    +
    +
    + +

    +replyDataForUnlogined

    +
    +public static boolean replyDataForUnlogined(org.apache.mina.core.session.IoSession session,
    +                                            Protocal p)
    +                                     throws java.lang.Exception
    +
    +
    当服务端检测到用户尚未登陆(或登陆会话已失效时)由服务端回复给 + 客户端的消息。 +

    + 本方法将由MobileIMSDK框架内部算法按需调用,目前不建议也不需要开发者调用。 +

    +

    +
    参数:
    session - 被回复的会话
    p - 回复的数据包 +
    返回:
    true表示包已发出,否则发送失败 +
    抛出: +
    java.lang.Exception - 发生时出错将抛出本异常
    另请参见:
    sendData(IoSession, Protocal)
    +
    +
    +
    + +

    +replyDelegateRecievedBack

    +
    +public static boolean replyDelegateRecievedBack(org.apache.mina.core.session.IoSession session,
    +                                                Protocal pFromClient)
    +                                         throws java.lang.Exception
    +
    +
    服务端回复伪应答包(给客户端发送方)。前提是客户发送的消息包中的字段QoS=true + ,否则本方法什么也不做。 +

    + 何为伪应答包?
    + 当客户端A发给接收方(目标接收方可能是服务器也可能是客户端B)的消息在意外情况下 + (B不在线,或者其它情况下没有发送成功:此时服务端会通知上层启动离线存储机制等 + ,总之当上层成功处理了这个消息,也算是意味着该消息成功送达(虽成了离线消息但总 + 归是没有丢)),且该消息有QoS保证机制,则服务端将代(如果接收方恰好就是服务器, + 当然就不是"代"了)为发送一个应答包,以便告之发送方消息已经收到了(离线消息当然 + 也算是,只是非及时收到而已^_^). +

    + 本方法将由MobileIMSDK框架内部算法按需调用,目前不建议也不需要开发者调用。 +

    +

    +
    参数:
    session - 被回复的会话
    pFromClient - 客户端发过来的数据包,本方法将据此包中的from、to、fp属性进行回复 +
    返回:
    true表示发送成功,否则表示发送不成功 +
    抛出: +
    java.lang.Exception - 当发送数据出错时将抛出本异常
    另请参见:
    sendData(IoSession, Protocal)
    +
    +
    + +
    + + + + + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/ServerLauncher.SenseMode.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/ServerToolKits.SenseMode.html similarity index 62% rename from docs/api_docs/server/net/openmob/mobileimsdk/server/ServerLauncher.SenseMode.html rename to docs/api_docs/server/net/openmob/mobileimsdk/server/utils/ServerToolKits.SenseMode.html index 80e93ebb..2d4b5c38 100755 --- a/docs/api_docs/server/net/openmob/mobileimsdk/server/ServerLauncher.SenseMode.html +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/ServerToolKits.SenseMode.html @@ -2,21 +2,21 @@ - + -ServerLauncher.SenseMode (MobileIMSDK 2.1.6(Server端) API文档) +ServerToolKits.SenseMode (MobileIMSDK 3.0(Server端) API文档) - + - + @@ -38,38 +38,38 @@ - + - + - - - + + +
    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) 上一个类  + 上一个类   下一个类 - 框架   - 无框架   + 框架   + 无框架     @@ -89,23 +89,23 @@

    -net.openmob.mobileimsdk.server +net.openmob.mobileimsdk.server.utils
    -枚举 ServerLauncher.SenseMode

    +枚举 ServerToolKits.SenseMode

     java.lang.Object
    -  继承者 java.lang.Enum<ServerLauncher.SenseMode>
    -      继承者 net.openmob.mobileimsdk.server.ServerLauncher.SenseMode
    +  继承者 java.lang.Enum<ServerToolKits.SenseMode>
    +      继承者 net.openmob.mobileimsdk.server.utils.ServerToolKits.SenseMode
     
    -
    所有已实现的接口:
    java.io.Serializable, java.lang.Comparable<ServerLauncher.SenseMode>
    +
    所有已实现的接口:
    java.io.Serializable, java.lang.Comparable<ServerToolKits.SenseMode>
    -
    包容类:
    ServerLauncher
    +
    包容类:
    ServerToolKits

    -
    public static enum ServerLauncher.SenseMode
    extends java.lang.Enum<ServerLauncher.SenseMode>
    +
    public static enum ServerToolKits.SenseMode
    extends java.lang.Enum<ServerToolKits.SenseMode>

    @@ -137,31 +137,31 @@

    枚举常量摘要 -MODE_10S +MODE_10S
              对应于客户端的10秒心跳模式:此模式的用户非正常掉线超时时长为“10 * 2 + 1”秒。 -MODE_120S +MODE_120S
              对应于客户端的120秒心跳模式:此模式的用户非正常掉线超时时长为“120 * 2 + 2”秒。 -MODE_30S +MODE_30S
              对应于客户端的30秒心跳模式:此模式的用户非正常掉线超时时长为“30 * 2 + 2”秒。 -MODE_3S +MODE_3S
              对应于客户端的3秒心跳模式:此模式的用户非正常掉线超时时长为“3 * 3 + 1”秒。 -MODE_60S +MODE_60S
              对应于客户端的60秒心跳模式:此模式的用户非正常掉线超时时长为“60 * 2 + 2”秒。 @@ -178,16 +178,16 @@

    -static ServerLauncher.SenseMode -valueOf(java.lang.String name) +static ServerToolKits.SenseMode +valueOf(java.lang.String name)
              返回带有指定名称的该类型的枚举常量。 -static ServerLauncher.SenseMode[] -values() +static ServerToolKits.SenseMode[] +values()
              按照声明该枚举类型的常量的顺序,返回 @@ -228,7 +228,7 @@

    MODE_3S

    -public static final ServerLauncher.SenseMode MODE_3S
    +public static final ServerToolKits.SenseMode MODE_3S
    对应于客户端的3秒心跳模式:此模式的用户非正常掉线超时时长为“3 * 3 + 1”秒。

    @@ -243,7 +243,7 @@

    MODE_10S

    -public static final ServerLauncher.SenseMode MODE_10S
    +public static final ServerToolKits.SenseMode MODE_10S
    对应于客户端的10秒心跳模式:此模式的用户非正常掉线超时时长为“10 * 2 + 1”秒。

    @@ -257,7 +257,7 @@

    MODE_30S

    -public static final ServerLauncher.SenseMode MODE_30S
    +public static final ServerToolKits.SenseMode MODE_30S
    对应于客户端的30秒心跳模式:此模式的用户非正常掉线超时时长为“30 * 2 + 2”秒。

    @@ -271,7 +271,7 @@

    MODE_60S

    -public static final ServerLauncher.SenseMode MODE_60S
    +public static final ServerToolKits.SenseMode MODE_60S
    对应于客户端的60秒心跳模式:此模式的用户非正常掉线超时时长为“60 * 2 + 2”秒。

    @@ -285,7 +285,7 @@

    MODE_120S

    -public static final ServerLauncher.SenseMode MODE_120S
    +public static final ServerToolKits.SenseMode MODE_120S
    对应于客户端的120秒心跳模式:此模式的用户非正常掉线超时时长为“120 * 2 + 2”秒。

    @@ -308,13 +308,13 @@

    values

    -public static ServerLauncher.SenseMode[] values()
    +public static ServerToolKits.SenseMode[] values()
    按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。该方法可用于迭代 常量,如下所示:
    -for (ServerLauncher.SenseMode c : ServerLauncher.SenseMode.values())
    +for (ServerToolKits.SenseMode c : ServerToolKits.SenseMode.values())
         System.out.println(c);
     

    @@ -327,7 +327,7 @@

    valueOf

    -public static ServerLauncher.SenseMode valueOf(java.lang.String name)
    +public static ServerToolKits.SenseMode valueOf(java.lang.String name)
    返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 @@ -354,38 +354,38 @@

    - + - + - - - + + +
    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) 上一个类  + 上一个类   下一个类 - 框架   - 无框架   + 框架   + 无框架     @@ -402,6 +402,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/ServerToolKits.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/ServerToolKits.html new file mode 100755 index 00000000..4dc267c1 --- /dev/null +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/ServerToolKits.html @@ -0,0 +1,367 @@ + + + + + + + +ServerToolKits (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    + +

    + +net.openmob.mobileimsdk.server.utils +
    +类 ServerToolKits

    +
    +java.lang.Object
    +  继承者 net.openmob.mobileimsdk.server.utils.ServerToolKits
    +
    +
    +
    +
    public class ServerToolKits
    extends java.lang.Object
    + + +

    +服务端实用方法工具箱。 +

    + +

    +

    +
    从以下版本开始:
    +
    3.0
    +
    版本:
    +
    1.0
    +
    作者:
    +
    Jack Jiang, 2016-09-24
    +
    +
    + +

    + + + + + + + + + + + +
    +嵌套类摘要
    +static classServerToolKits.SenseMode + +
    +          MobileIMSDK即时通讯核心框架预设的敏感度模式.
    +  + + + + + + + + + + +
    +构造方法摘要
    ServerToolKits() + +
    +           
    +  + + + + + + + + + + + + + + + + + + + + + + + +
    +方法摘要
    +static java.lang.StringclientInfoToString(org.apache.mina.core.session.IoSession session) + +
    +          获取对应Session的信息(如session中存放的user_id、登陆名、ip地址和端口等)。
    +static java.lang.StringfromIOBuffer_JSON(org.apache.mina.core.buffer.IoBuffer buffer) + +
    +          从MINA的原始数据对象中解析出MobileIMSDK的完整协议内容(Protocal对象的JSON表示形式)。
    +static ProtocalfromIOBuffer(org.apache.mina.core.buffer.IoBuffer buffer) + +
    +          从MINA的原始数据对象中解析出MobileIMSDK的完整协议内容(Protocal对象)。
    +static voidsetSenseMode(ServerToolKits.SenseMode mode) + +
    +          设置MobileIMSDK即时通讯核心框架预设的敏感度模式。
    + + + + + + + +
    从类 java.lang.Object 继承的方法
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +  +

    + + + + + + + + +
    +构造方法详细信息
    + +

    +ServerToolKits

    +
    +public ServerToolKits()
    +
    +
    + + + + + + + + +
    +方法详细信息
    + +

    +setSenseMode

    +
    +public static void setSenseMode(ServerToolKits.SenseMode mode)
    +
    +
    设置MobileIMSDK即时通讯核心框架预设的敏感度模式。 +

    + 请在 #startup()方法被调用前被设置,否则将不起效. +

    + 重要说明:服务端本模式的设定必须要与客户端的模式设制保持一致,否则 + 可能因参数的不一致而导至IM算法的不匹配,进而出现不可预知的问题。 +

    +

    +
    参数:
    mode - 预设的模感度类型
    另请参见:
    ServerToolKits.SenseMode
    +
    +
    +
    + +

    +clientInfoToString

    +
    +public static java.lang.String clientInfoToString(org.apache.mina.core.session.IoSession session)
    +
    +
    获取对应Session的信息(如session中存放的user_id、登陆名、ip地址和端口等)。 +

    + 本方法目前仅用于Debug时。 +

    +

    +
    参数:
    session - 目标会话对象引用 +
    返回:
    session信息内容的文本
    +
    +
    +
    + +

    +fromIOBuffer_JSON

    +
    +public static java.lang.String fromIOBuffer_JSON(org.apache.mina.core.buffer.IoBuffer buffer)
    +                                          throws java.lang.Exception
    +
    +
    从MINA的原始数据对象中解析出MobileIMSDK的完整协议内容(Protocal对象的JSON表示形式)。 +

    + 本方法将由MobileIMSDK框架内部算法按需调用,目前不建议也不需要开发者调用。 +

    +

    +
    参数:
    buffer - MINA的原始数据封装对象 +
    返回:
    解析后的MobileIMSDK的完整协议内容(Protocal对象的JSON表示形式) +
    抛出: +
    java.lang.Exception - 解析出错则抛出本异常
    另请参见:
    IoBuffer#getString(java.nio.charset.CharsetDecoder)}
    +
    +
    +
    + +

    +fromIOBuffer

    +
    +public static Protocal fromIOBuffer(org.apache.mina.core.buffer.IoBuffer buffer)
    +                             throws java.lang.Exception
    +
    +
    从MINA的原始数据对象中解析出MobileIMSDK的完整协议内容(Protocal对象)。 +

    + 本方法将由MobileIMSDK框架内部算法按需调用,目前不建议也不需要开发者调用。 +

    +

    +
    参数:
    buffer - MINA的原始数据封装对象 +
    返回:
    解析后的MobileIMSDK的完整协议内容(Protocal对象) +
    抛出: +
    java.lang.Exception - 解析出错则抛出本异常
    另请参见:
    fromIOBuffer_JSON(IoBuffer)
    +
    +
    + +
    + + + + + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/class-use/GlobalSendHelper.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/class-use/GlobalSendHelper.html new file mode 100755 index 00000000..c8f0b782 --- /dev/null +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/class-use/GlobalSendHelper.html @@ -0,0 +1,145 @@ + + + + + + + +类 net.openmob.mobileimsdk.server.utils.GlobalSendHelper 的使用 (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    +

    +类 net.openmob.mobileimsdk.server.utils.GlobalSendHelper
    的使用

    +
    +没有 net.openmob.mobileimsdk.server.utils.GlobalSendHelper 的用法 +

    +


    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/class-use/LocalSendHelper.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/class-use/LocalSendHelper.html new file mode 100755 index 00000000..3de8662a --- /dev/null +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/class-use/LocalSendHelper.html @@ -0,0 +1,145 @@ + + + + + + + +类 net.openmob.mobileimsdk.server.utils.LocalSendHelper 的使用 (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    +

    +类 net.openmob.mobileimsdk.server.utils.LocalSendHelper
    的使用

    +
    +没有 net.openmob.mobileimsdk.server.utils.LocalSendHelper 的用法 +

    +


    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/class-use/ServerToolKits.SenseMode.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/class-use/ServerToolKits.SenseMode.html new file mode 100755 index 00000000..4b5d72e1 --- /dev/null +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/class-use/ServerToolKits.SenseMode.html @@ -0,0 +1,206 @@ + + + + + + + +类 net.openmob.mobileimsdk.server.utils.ServerToolKits.SenseMode 的使用 (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    +

    +类 net.openmob.mobileimsdk.server.utils.ServerToolKits.SenseMode
    的使用

    +
    + + + + + + + + + +
    +使用 ServerToolKits.SenseMode 的软件包
    net.openmob.mobileimsdk.server.utils服务端代码的辅助工具类, since 3.0。 
    +  +

    + + + + + +
    +net.openmob.mobileimsdk.server.utilsServerToolKits.SenseMode 的使用
    +  +

    + + + + + + + + + + + + + +
    返回 ServerToolKits.SenseModenet.openmob.mobileimsdk.server.utils 中的方法
    +static ServerToolKits.SenseModeServerToolKits.SenseMode.valueOf(java.lang.String name) + +
    +          返回带有指定名称的该类型的枚举常量。
    +static ServerToolKits.SenseMode[]ServerToolKits.SenseMode.values() + +
    +          按照声明该枚举类型的常量的顺序,返回 +包含这些常量的数组。
    +  +

    + + + + + + + + + +
    参数类型为 ServerToolKits.SenseModenet.openmob.mobileimsdk.server.utils 中的方法
    +static voidServerToolKits.setSenseMode(ServerToolKits.SenseMode mode) + +
    +          设置MobileIMSDK即时通讯核心框架预设的敏感度模式。
    +  +

    +


    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/class-use/ServerToolKits.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/class-use/ServerToolKits.html new file mode 100755 index 00000000..fd8874a1 --- /dev/null +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/class-use/ServerToolKits.html @@ -0,0 +1,145 @@ + + + + + + + +类 net.openmob.mobileimsdk.server.utils.ServerToolKits 的使用 (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    +

    +类 net.openmob.mobileimsdk.server.utils.ServerToolKits
    的使用

    +
    +没有 net.openmob.mobileimsdk.server.utils.ServerToolKits 的用法 +

    +


    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/package-frame.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/package-frame.html new file mode 100755 index 00000000..2e5f961f --- /dev/null +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/package-frame.html @@ -0,0 +1,48 @@ + + + + + + + +net.openmob.mobileimsdk.server.utils (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + +net.openmob.mobileimsdk.server.utils + + + + +
    +类  + +
    +GlobalSendHelper +
    +LocalSendHelper +
    +ServerToolKits
    + + + + + + +
    +枚举  + +
    +ServerToolKits.SenseMode
    + + + + diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/package-summary.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/package-summary.html new file mode 100755 index 00000000..b643fbc8 --- /dev/null +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/package-summary.html @@ -0,0 +1,195 @@ + + + + + + + +net.openmob.mobileimsdk.server.utils (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +

    +软件包 net.openmob.mobileimsdk.server.utils +

    +服务端代码的辅助工具类, since 3.0。 +

    +请参见: +
    +          描述 +

    + + + + + + + + + + + + + + + + + +
    +类摘要
    GlobalSendHelper本类提供的是公开的数据发送方法(已封装跨机器通信的桥接处理逻辑)。
    LocalSendHelper本类提供的是公开的数据发送方法(数据接收者仅限于本机在线用户)。
    ServerToolKits服务端实用方法工具箱。
    +  + +

    + + + + + + + + + +
    +枚举摘要
    ServerToolKits.SenseModeMobileIMSDK即时通讯核心框架预设的敏感度模式.
    +  + +

    +

    +软件包 net.openmob.mobileimsdk.server.utils 的描述 +

    + +

    +服务端代码的辅助工具类, since 3.0。 +

    + +

    +

    +
    +
    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/package-tree.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/package-tree.html new file mode 100755 index 00000000..f127c60d --- /dev/null +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/package-tree.html @@ -0,0 +1,164 @@ + + + + + + + +net.openmob.mobileimsdk.server.utils 类分层结构 (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    +

    +软件包 net.openmob.mobileimsdk.server.utils 的分层结构 +

    +
    +
    +
    软件包分层结构:
    所有软件包
    +
    +

    +类分层结构 +

    + +

    +枚举分层结构 +

    +
      +
    • java.lang.Object
        +
      • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable) + +
      +
    +
    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/package-use.html b/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/package-use.html new file mode 100755 index 00000000..ca03e31e --- /dev/null +++ b/docs/api_docs/server/net/openmob/mobileimsdk/server/utils/package-use.html @@ -0,0 +1,171 @@ + + + + + + + +软件包 net.openmob.mobileimsdk.server.utils 的使用 (MobileIMSDK 3.0(Server端) API文档) + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    +

    +软件包 net.openmob.mobileimsdk.server.utils
    的使用

    +
    + + + + + + + + + +
    +使用 net.openmob.mobileimsdk.server.utils 的软件包
    net.openmob.mobileimsdk.server.utils服务端代码的辅助工具类, since 3.0。 
    +  +

    + + + + + + + + +
    +net.openmob.mobileimsdk.server.utils 使用的 net.openmob.mobileimsdk.server.utils 中的类
    ServerToolKits.SenseMode + +
    +          MobileIMSDK即时通讯核心框架预设的敏感度模式.
    +  +

    +


    + + + + + + + + + + + + + + + +
    +MobileIMSDK4Server 3.0(build 2017/06/27) +
    + + + +
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    + + diff --git a/docs/api_docs/server/overview-frame.html b/docs/api_docs/server/overview-frame.html index dfd9a74b..9c0e8295 100755 --- a/docs/api_docs/server/overview-frame.html +++ b/docs/api_docs/server/overview-frame.html @@ -2,13 +2,13 @@ - + -概述列表 (MobileIMSDK 2.1.6(Server端) API文档) +概述列表 (MobileIMSDK 3.0(Server端) API文档) - + @@ -20,7 +20,7 @@ +MobileIMSDK4Server 3.0(build 2017/06/27)
    -MobileIMSDK4j 2.1.6(build 2016/02/20)
    @@ -31,6 +31,8 @@ 软件包
    +net.nettime.mobileimsdk.server.bridge +
    net.openmob.mobileimsdk.server
    net.openmob.mobileimsdk.server.event @@ -45,6 +47,8 @@
    net.openmob.mobileimsdk.server.qos
    +net.openmob.mobileimsdk.server.utils +
    diff --git a/docs/api_docs/server/overview-summary.html b/docs/api_docs/server/overview-summary.html index 9cd2670d..b7ae6272 100755 --- a/docs/api_docs/server/overview-summary.html +++ b/docs/api_docs/server/overview-summary.html @@ -2,13 +2,13 @@ - + -概述 (MobileIMSDK 2.1.6(Server端) API文档) +概述 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="概述 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="概述 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -82,7 +82,7 @@

    -欢迎使用,MobileIMSDK 2.1.6(Server端) API文档! +欢迎使用,MobileIMSDK 3.0(Server端) API文档!

    @@ -92,8 +92,12 @@

    软件包 +net.nettime.mobileimsdk.server.bridge +实现跨IM实例进行消息互通的类, since 3.0。 + + net.openmob.mobileimsdk.server -服务端入口主类。 +服务端核心类。 net.openmob.mobileimsdk.server.event @@ -101,7 +105,7 @@

    net.openmob.mobileimsdk.server.processor -各种业务处理类。 +各种具体业务逻辑实现类, since 3.0。 net.openmob.mobileimsdk.server.protocal @@ -119,6 +123,10 @@

    net.openmob.mobileimsdk.server.qos Server端的QoS机制实现类。 + +net.openmob.mobileimsdk.server.utils +服务端代码的辅助工具类, since 3.0。 +

    @@ -146,7 +154,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -176,6 +184,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/overview-tree.html b/docs/api_docs/server/overview-tree.html index 6917a706..13380622 100755 --- a/docs/api_docs/server/overview-tree.html +++ b/docs/api_docs/server/overview-tree.html @@ -2,13 +2,13 @@ - + -类分层结构 (MobileIMSDK 2.1.6(Server端) API文档) +类分层结构 (MobileIMSDK 3.0(Server端) API文档) - + @@ -16,7 +16,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="类分层结构 (MobileIMSDK 2.1.6(Server端) API文档)"; + parent.document.title="类分层结构 (MobileIMSDK 3.0(Server端) API文档)"; } } @@ -50,7 +50,7 @@ -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -85,18 +85,23 @@

    所有软件包的分层结构

    -
    软件包分层结构:
    net.openmob.mobileimsdk.server, net.openmob.mobileimsdk.server.event, net.openmob.mobileimsdk.server.processor, net.openmob.mobileimsdk.server.protocal, net.openmob.mobileimsdk.server.protocal.c, net.openmob.mobileimsdk.server.protocal.s, net.openmob.mobileimsdk.server.qos
    +
    软件包分层结构:
    net.nettime.mobileimsdk.server.bridge, net.openmob.mobileimsdk.server, net.openmob.mobileimsdk.server.event, net.openmob.mobileimsdk.server.processor, net.openmob.mobileimsdk.server.protocal, net.openmob.mobileimsdk.server.protocal.c, net.openmob.mobileimsdk.server.protocal.s, net.openmob.mobileimsdk.server.qos, net.openmob.mobileimsdk.server.utils


    类分层结构

    接口分层结构 @@ -110,7 +115,7 @@

  • java.lang.Object
    @@ -137,7 +142,7 @@

    -MobileIMSDK4j 2.1.6(build 2016/02/20) +MobileIMSDK4Server 3.0(build 2017/06/27) @@ -167,6 +172,6 @@


    -
    Copyright © 2016 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    +
    Copyright © 2017 即时通讯网(52im.net) - 即时通讯技术社区. All rights reserved.
    diff --git a/docs/api_docs/server/package-list b/docs/api_docs/server/package-list index 3790aad1..54a18a1d 100755 --- a/docs/api_docs/server/package-list +++ b/docs/api_docs/server/package-list @@ -1,3 +1,4 @@ +net.nettime.mobileimsdk.server.bridge net.openmob.mobileimsdk.server net.openmob.mobileimsdk.server.event net.openmob.mobileimsdk.server.processor @@ -5,3 +6,4 @@ net.openmob.mobileimsdk.server.protocal net.openmob.mobileimsdk.server.protocal.c net.openmob.mobileimsdk.server.protocal.s net.openmob.mobileimsdk.server.qos +net.openmob.mobileimsdk.server.utils diff --git a/docs/api_docs/server/resources/background.gif b/docs/api_docs/server/resources/background.gif deleted file mode 100755 index f471940f..00000000 Binary files a/docs/api_docs/server/resources/background.gif and /dev/null differ diff --git a/docs/api_docs/server/resources/tab.gif b/docs/api_docs/server/resources/tab.gif deleted file mode 100755 index 1a73a83b..00000000 Binary files a/docs/api_docs/server/resources/tab.gif and /dev/null differ diff --git a/docs/api_docs/server/resources/titlebar.gif b/docs/api_docs/server/resources/titlebar.gif deleted file mode 100755 index 17443b3e..00000000 Binary files a/docs/api_docs/server/resources/titlebar.gif and /dev/null differ diff --git a/docs/api_docs/server/resources/titlebar_end.gif b/docs/api_docs/server/resources/titlebar_end.gif deleted file mode 100755 index 3ad78d46..00000000 Binary files a/docs/api_docs/server/resources/titlebar_end.gif and /dev/null differ diff --git a/preview/ios_demo_main_20170626.jpg b/preview/ios_demo_main_20170626.jpg new file mode 100644 index 00000000..d9e5667a Binary files /dev/null and b/preview/ios_demo_main_20170626.jpg differ diff --git a/preview/more_products/cs-im-servicer-android_20170509.jpg b/preview/more_products/cs-im-servicer-android_20170509.jpg new file mode 100755 index 00000000..313cbaaa Binary files /dev/null and b/preview/more_products/cs-im-servicer-android_20170509.jpg differ diff --git a/preview/more_products/cs-im-servicer-ios_20170509.jpg b/preview/more_products/cs-im-servicer-ios_20170509.jpg new file mode 100755 index 00000000..4a3f14db Binary files /dev/null and b/preview/more_products/cs-im-servicer-ios_20170509.jpg differ diff --git a/preview/more_products/cs-im-visitor-ios_20170509.jpg b/preview/more_products/cs-im-visitor-ios_20170509.jpg new file mode 100755 index 00000000..65556b95 Binary files /dev/null and b/preview/more_products/cs-im-visitor-ios_20170509.jpg differ diff --git a/preview/more_products/cs-im-visitor-web.jpg b/preview/more_products/cs-im-visitor-web.jpg new file mode 100755 index 00000000..01927d51 Binary files /dev/null and b/preview/more_products/cs-im-visitor-web.jpg differ diff --git a/preview/more_products/cs_im_servicer_web_20161227.jpg b/preview/more_products/cs_im_servicer_web_20161227.jpg new file mode 100755 index 00000000..1dd17d90 Binary files /dev/null and b/preview/more_products/cs_im_servicer_web_20161227.jpg differ diff --git a/preview/more_products/rainbowchat_v4_20170626.jpg b/preview/more_products/rainbowchat_v4_20170626.jpg new file mode 100755 index 00000000..e98b5551 Binary files /dev/null and b/preview/more_products/rainbowchat_v4_20170626.jpg differ diff --git a/preview/web_demo_20170630.jpg b/preview/web_demo_20170630.jpg new file mode 100755 index 00000000..8d6f5c30 Binary files /dev/null and b/preview/web_demo_20170630.jpg differ diff --git "a/preview/\346\210\252\345\233\276\347\233\256\345\275\225\345\206\205\345\256\271\350\257\264\346\230\216.txt" "b/preview/\346\210\252\345\233\276\347\233\256\345\275\225\345\206\205\345\256\271\350\257\264\346\230\216.txt" new file mode 100644 index 00000000..074d002b --- /dev/null +++ "b/preview/\346\210\252\345\233\276\347\233\256\345\275\225\345\206\205\345\256\271\350\257\264\346\230\216.txt" @@ -0,0 +1,6 @@ +【截图说明】: +more_products: +本目录下为部分基于MobileIMSDK的真实产品的截图,仅供参考。 + +more_screenshots: +为Demo早期版本的一些截图等。 \ No newline at end of file diff --git a/release_notes/release_note_v3.0.txt b/release_notes/release_note_v3.0.txt new file mode 100755 index 00000000..ebfa084e --- /dev/null +++ b/release_notes/release_note_v3.0.txt @@ -0,0 +1,30 @@ + +-------------------------------------------------------------------------------------- v3.02017-06-25 19:08 +MobileIMSDK v3.0˵ +Ҫ˵ + MobileIMSDK v3 ޸˺IJ㣬޷ MobileIMSDK v2.x ݣʹv2.xĿóȻǰ http://www.52im.net ۣ + +Ҫԡ +1. ϢĿķʽԭuser_idʽΪʹûķʽȡÿε½ɷuser_idķʽӶؼӦòͨŵAPIú߼룩 +2. ֧WebAPP滥ͨMobileIMSDK-WebΪһ̣ MobileIMSDK v3 ֮ڣ +3. ŻProtocalЭṹtypeuûԶЭֶΣӶûЭ͵ʹã + +Bug +1. [android]˵MobileIMSDKߵģʽ²ȷж¼⣻ +2. [Androidjava][bug]Demo״ε½ʱʹ˴ipٸijȷipʱȴܵ½⣻ +3. [AndroidjavaiOS]˿ͻˣAndroidiOSJava½ʱ˷ص֤codeΪ0ʱͻ˻뷴½ѭУ + +Ż +1. []˶ʱjavax.swing.TimerΪjava.util.Timer߿ɿԣ +2. []ع˷˴룬㷨⡢ǿɶԣ +3. []libMINA°2.0.13gson2.7ȣ +4. [android]SDKȻǿֵ֧Andriod 2.3.3ϰ汾(Android API Level 10+) +5. [iOS] Żdemouiios10xcode8µļ⡣ +6. [iOS] ŻˡMessageQoSEventеmessagesLost:(NSArray*)lostMessagesΪmessagesLost:(NSMutableArray*)lostMessages +7. [AndroidjavaiOS]ŻڵµϢܾΪδʵʱʹUIӶ飻 +8. []MINA2.0.13ҪSDKJava汾1.7ϰ汾 +9. [JavaAndroid]ClientCoreSDK.release()ͣLocalUDPDataRecieverе̡߳ + + + + diff --git "a/src_all/demos/Demo\347\244\272\344\276\213\346\272\220\347\240\201\350\257\264\346\230\216.txt" "b/src_all/demos/Demo\347\244\272\344\276\213\346\272\220\347\240\201\350\257\264\346\230\216.txt" new file mode 100644 index 00000000..c2a69820 --- /dev/null +++ "b/src_all/demos/Demo\347\244\272\344\276\213\346\272\220\347\240\201\350\257\264\346\230\216.txt" @@ -0,0 +1,5 @@ +【源码说明】: +1)MobileIMSDK4aDemoX 为Android版Demo的源码; +2)MobileIMSDK4jDemoX 为标准Java版Demo的源码(可运行于PC上的Java平台); +3)MobileIMSDKServerDemoX 为服务端Demo的源码(Java版); +4)MobileIMSDK4iDemo_x 为iOS版Demo的源码。 \ No newline at end of file diff --git a/src_all/demos/MobileIMSDK4aDemo/libs/MobileIMSDK4a.jar b/src_all/demos/MobileIMSDK4aDemo/libs/MobileIMSDK4a.jar deleted file mode 100755 index de8b823a..00000000 Binary files a/src_all/demos/MobileIMSDK4aDemo/libs/MobileIMSDK4a.jar and /dev/null differ diff --git a/src_all/demos/MobileIMSDK4aDemo/libs/MobileIMSDKServer_meta.jar b/src_all/demos/MobileIMSDK4aDemo/libs/MobileIMSDKServer_meta.jar deleted file mode 100755 index 6320a784..00000000 Binary files a/src_all/demos/MobileIMSDK4aDemo/libs/MobileIMSDKServer_meta.jar and /dev/null differ diff --git a/src_all/demos/MobileIMSDK4aDemo/res/drawable-xhdpi/copyright_img.png b/src_all/demos/MobileIMSDK4aDemo/res/drawable-xhdpi/copyright_img.png deleted file mode 100755 index 7c609bdc..00000000 Binary files a/src_all/demos/MobileIMSDK4aDemo/res/drawable-xhdpi/copyright_img.png and /dev/null differ diff --git a/src_all/demos/MobileIMSDK4aDemo/res/values/strings.xml b/src_all/demos/MobileIMSDK4aDemo/res/values/strings.xml deleted file mode 100755 index 7005733e..00000000 --- a/src_all/demos/MobileIMSDK4aDemo/res/values/strings.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - MobileIMSDK - - \ No newline at end of file diff --git a/src_all/demos/MobileIMSDK4aDemo/src/net/openmob/mobileimsdk/android/demo/event/ChatTransDataEventImpl.java b/src_all/demos/MobileIMSDK4aDemo/src/net/openmob/mobileimsdk/android/demo/event/ChatTransDataEventImpl.java deleted file mode 100755 index 0149f609..00000000 --- a/src_all/demos/MobileIMSDK4aDemo/src/net/openmob/mobileimsdk/android/demo/event/ChatTransDataEventImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2016 即时通讯网(52im.net) The MobileIMSDK Project. - * All rights reserved. - * Project URL:https://github.com/JackJiang2011/MobileIMSDK - * - * 即时通讯网(52im.net) - 即时通讯技术社区! PROPRIETARY/CONFIDENTIAL. - * Use is subject to license terms. - * - * ChatTransDataEventImpl.java at 2016-2-20 11:20:18, code by Jack Jiang. - * You can contact author with jack.jiang@52im.net or jb2011@163.com. - */ -package net.openmob.mobileimsdk.android.demo.event; - -import net.openmob.mobileimsdk.android.demo.MainActivity; -import net.openmob.mobileimsdk.android.event.ChatTransDataEvent; -import android.util.Log; -import android.widget.Toast; - -public class ChatTransDataEventImpl implements ChatTransDataEvent -{ - private final static String TAG = ChatTransDataEventImpl.class.getSimpleName(); - - private MainActivity mainGUI = null; - - @Override - public void onTransBuffer(String fingerPrintOfProtocal, int dwUserid, String dataContent) - { - Log.d(TAG, "【DEBUG_UI】收到来自用户"+dwUserid+"的消息:"+dataContent); - - //!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - if(mainGUI != null) - { - Toast.makeText(mainGUI, dwUserid+"说:"+dataContent, Toast.LENGTH_SHORT).show(); - this.mainGUI.showIMInfo_black(dwUserid+"说:"+dataContent); - } - } - - public ChatTransDataEventImpl setMainGUI(MainActivity mainGUI) - { - this.mainGUI = mainGUI; - return this; - } - - @Override - public void onErrorResponse(int errorCode, String errorMsg) - { - Log.d(TAG, "【DEBUG_UI】收到服务端错误消息,errorCode="+errorCode+", errorMsg="+errorMsg); - this.mainGUI.showIMInfo_red("Server反馈错误码:"+errorCode+",errorMsg="+errorMsg); - } -} diff --git a/src_all/demos/MobileIMSDK4aDemo/.classpath b/src_all/demos/MobileIMSDK4aDemoX/.classpath similarity index 100% rename from src_all/demos/MobileIMSDK4aDemo/.classpath rename to src_all/demos/MobileIMSDK4aDemoX/.classpath diff --git a/src_all/demos/MobileIMSDK4aDemo/.project b/src_all/demos/MobileIMSDK4aDemoX/.project similarity index 92% rename from src_all/demos/MobileIMSDK4aDemo/.project rename to src_all/demos/MobileIMSDK4aDemoX/.project index e0e5eeb0..eb9fcad7 100755 --- a/src_all/demos/MobileIMSDK4aDemo/.project +++ b/src_all/demos/MobileIMSDK4aDemoX/.project @@ -1,6 +1,6 @@ - MobileIMSDK4aDemo + MobileIMSDK4aDemoX diff --git a/src_all/demos/MobileIMSDK4aDemoX/.settings/net.sf.jautodoc.prefs b/src_all/demos/MobileIMSDK4aDemoX/.settings/net.sf.jautodoc.prefs new file mode 100755 index 00000000..b756b272 --- /dev/null +++ b/src_all/demos/MobileIMSDK4aDemoX/.settings/net.sf.jautodoc.prefs @@ -0,0 +1,5 @@ +eclipse.preferences.version=1 +header_text=/*\r\n * Copyright (C) ${year} \u5373\u65F6\u901A\u8BAF\u7F51(52im.net) & Jack Jiang.\r\n * The MobileIMSDK_X (MobileIMSDK v3.x) Project. \r\n * All rights reserved.\r\n * \r\n * > Github\u5730\u5740\: https\://github.com/JackJiang2011/MobileIMSDK\r\n * > \u6587\u6863\u5730\u5740\: http\://www.52im.net/forum-89-1.html\r\n * > \u5373\u65F6\u901A\u8BAF\u6280\u672F\u793E\u533A\uFF1Ahttp\://www.52im.net/\r\n * > \u5373\u65F6\u901A\u8BAF\u6280\u672F\u4EA4\u6D41\u7FA4\uFF1A320837163 (http\://www.52im.net/topic-qqgroup.html)\r\n * \r\n * "\u5373\u65F6\u901A\u8BAF\u7F51(52im.net) - \u5373\u65F6\u901A\u8BAF\u5F00\u53D1\u8005\u793E\u533A\!" \u63A8\u8350\u5F00\u6E90\u5DE5\u7A0B\u3002\r\n * \r\n * ${file_name} at ${date} ${time}, code by Jack Jiang.\r\n * You can contact author with jack.jiang@52im.net or jb2011@163.com.\r\n */ +project_specific_settings=true +replace_header=true +replacements=\n\n\nGets the\nSets the\nAdds the\nEdits the\nRemoves the\nInits the\nParses the\nCreates the\nBuilds the\nChecks if is\nPrints the\nChecks for\n\n\n diff --git a/src_all/demos/MobileIMSDK4aDemo/.settings/org.eclipse.core.resources.prefs b/src_all/demos/MobileIMSDK4aDemoX/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from src_all/demos/MobileIMSDK4aDemo/.settings/org.eclipse.core.resources.prefs rename to src_all/demos/MobileIMSDK4aDemoX/.settings/org.eclipse.core.resources.prefs diff --git a/src_all/demos/MobileIMSDK4aDemo/.settings/org.eclipse.jdt.core.prefs b/src_all/demos/MobileIMSDK4aDemoX/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from src_all/demos/MobileIMSDK4aDemo/.settings/org.eclipse.jdt.core.prefs rename to src_all/demos/MobileIMSDK4aDemoX/.settings/org.eclipse.jdt.core.prefs diff --git a/src_all/demos/MobileIMSDK4aDemo/AndroidManifest.xml b/src_all/demos/MobileIMSDK4aDemoX/AndroidManifest.xml similarity index 93% rename from src_all/demos/MobileIMSDK4aDemo/AndroidManifest.xml rename to src_all/demos/MobileIMSDK4aDemoX/AndroidManifest.xml index 44764616..470db515 100755 --- a/src_all/demos/MobileIMSDK4aDemo/AndroidManifest.xml +++ b/src_all/demos/MobileIMSDK4aDemoX/AndroidManifest.xml @@ -1,7 +1,7 @@ + android:versionCode="101" + android:versionName="v3.0b170626.1" > @@ -81,7 +81,6 @@ android:ems="10" android:hint="对方ID号" android:singleLine="true" - android:numeric="integer" android:paddingLeft="6dp" android:paddingRight="6dp" android:textSize="14sp" > diff --git a/src_all/demos/MobileIMSDK4aDemo/res/layout/demo_main_activity_list_item_layout.xml b/src_all/demos/MobileIMSDK4aDemoX/res/layout/demo_main_activity_list_item_layout.xml similarity index 100% rename from src_all/demos/MobileIMSDK4aDemo/res/layout/demo_main_activity_list_item_layout.xml rename to src_all/demos/MobileIMSDK4aDemoX/res/layout/demo_main_activity_list_item_layout.xml diff --git a/src_all/demos/MobileIMSDK4aDemo/res/layout/splash_screen_activity_layout.xml b/src_all/demos/MobileIMSDK4aDemoX/res/layout/splash_screen_activity_layout.xml similarity index 100% rename from src_all/demos/MobileIMSDK4aDemo/res/layout/splash_screen_activity_layout.xml rename to src_all/demos/MobileIMSDK4aDemoX/res/layout/splash_screen_activity_layout.xml diff --git a/src_all/demos/MobileIMSDK4aDemoX/res/values/strings.xml b/src_all/demos/MobileIMSDK4aDemoX/res/values/strings.xml new file mode 100755 index 00000000..3864cda0 --- /dev/null +++ b/src_all/demos/MobileIMSDK4aDemoX/res/values/strings.xml @@ -0,0 +1,5 @@ + + + MobileIMSDKX + + \ No newline at end of file diff --git a/src_all/demos/MobileIMSDK4aDemo/res/values/styles.xml b/src_all/demos/MobileIMSDK4aDemoX/res/values/styles.xml similarity index 100% rename from src_all/demos/MobileIMSDK4aDemo/res/values/styles.xml rename to src_all/demos/MobileIMSDK4aDemoX/res/values/styles.xml diff --git a/src_all/demos/MobileIMSDK4aDemo/src/net/openmob/mobileimsdk/android/demo/IMClientManager.java b/src_all/demos/MobileIMSDK4aDemoX/src/net/openmob/mobileimsdk/android/demo/IMClientManager.java similarity index 80% rename from src_all/demos/MobileIMSDK4aDemo/src/net/openmob/mobileimsdk/android/demo/IMClientManager.java rename to src_all/demos/MobileIMSDK4aDemoX/src/net/openmob/mobileimsdk/android/demo/IMClientManager.java index f0f2d181..e789d14b 100755 --- a/src_all/demos/MobileIMSDK4aDemo/src/net/openmob/mobileimsdk/android/demo/IMClientManager.java +++ b/src_all/demos/MobileIMSDK4aDemoX/src/net/openmob/mobileimsdk/android/demo/IMClientManager.java @@ -1,12 +1,16 @@ /* - * Copyright (C) 2016 即时通讯网(52im.net) The MobileIMSDK Project. + * Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. + * The MobileIMSDK_X (MobileIMSDK v3.x) Project. * All rights reserved. - * Project URL:https://github.com/JackJiang2011/MobileIMSDK + * + * > Github地址: https://github.com/JackJiang2011/MobileIMSDK + * > 文档地址: http://www.52im.net/forum-89-1.html + * > 即时通讯技术社区:http://www.52im.net/ + * > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) * - * 即时通讯网(52im.net) - 即时通讯技术社区! PROPRIETARY/CONFIDENTIAL. - * Use is subject to license terms. + * "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 * - * IMClientManager.java at 2016-2-20 11:20:18, code by Jack Jiang. + * IMClientManager.java at 2017-5-1 21:08:44, code by Jack Jiang. * You can contact author with jack.jiang@52im.net or jb2011@163.com. */ package net.openmob.mobileimsdk.android.demo; diff --git a/src_all/demos/MobileIMSDK4aDemo/src/net/openmob/mobileimsdk/android/demo/LoginActivity.java b/src_all/demos/MobileIMSDK4aDemoX/src/net/openmob/mobileimsdk/android/demo/LoginActivity.java similarity index 89% rename from src_all/demos/MobileIMSDK4aDemo/src/net/openmob/mobileimsdk/android/demo/LoginActivity.java rename to src_all/demos/MobileIMSDK4aDemoX/src/net/openmob/mobileimsdk/android/demo/LoginActivity.java index 49cf7af7..59107376 100755 --- a/src_all/demos/MobileIMSDK4aDemo/src/net/openmob/mobileimsdk/android/demo/LoginActivity.java +++ b/src_all/demos/MobileIMSDK4aDemoX/src/net/openmob/mobileimsdk/android/demo/LoginActivity.java @@ -1,12 +1,16 @@ /* - * Copyright (C) 2016 即时通讯网(52im.net) The MobileIMSDK Project. + * Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. + * The MobileIMSDK_X (MobileIMSDK v3.x) Project. * All rights reserved. - * Project URL:https://github.com/JackJiang2011/MobileIMSDK + * + * > Github地址: https://github.com/JackJiang2011/MobileIMSDK + * > 文档地址: http://www.52im.net/forum-89-1.html + * > 即时通讯技术社区:http://www.52im.net/ + * > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) * - * 即时通讯网(52im.net) - 即时通讯技术社区! PROPRIETARY/CONFIDENTIAL. - * Use is subject to license terms. + * "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 * - * LoginActivity.java at 2016-2-20 11:20:18, code by Jack Jiang. + * LoginActivity.java at 2017-5-1 21:08:44, code by Jack Jiang. * You can contact author with jack.jiang@52im.net or jb2011@163.com. */ package net.openmob.mobileimsdk.android.demo; @@ -102,7 +106,7 @@ private void initViews() // Demo程序的版本号 viewVersion.setText(getProgrammVersion()); - this.setTitle("MobileIMSDK Demo登陆"); + this.setTitle("MobileIMSDK v3 Demo登陆"); } private void initListeners() @@ -132,7 +136,7 @@ public void update(Observable observable, Object data) // 登陆成功 if(code == 0) { - //** 提示:登陆MobileIMSDK服务器成功后的事情在此实现即可 + //** 提示:登陆/连接 MobileIMSDK服务器成功后的事情在此实现即可 // 进入主界面 startActivity(new Intent(LoginActivity.this, MainActivity.class)); @@ -144,7 +148,7 @@ public void update(Observable observable, Object data) { new AlertDialog.Builder(LoginActivity.this) .setTitle("友情提示") - .setMessage("Sorry,登陆失败,错误码="+code) + .setMessage("Sorry,IM服务器连接失败,错误码="+code) .setPositiveButton("知道了", null) .show(); } @@ -173,10 +177,12 @@ private void doLogin() LocalUDPSocketProvider.getInstance().closeLocalUDPSocket(); ConfigEntity.serverIP = serverIP.trim(); - try{ + try + { ConfigEntity.serverUDPPort = Integer.parseInt(serverPort.trim()); } - catch (Exception e2){ + catch (Exception e2) + { Toast.makeText(getApplicationContext(), "请输入合法的端口号!", Toast.LENGTH_SHORT).show(); return; } @@ -207,7 +213,7 @@ private void doLoginImpl() IMClientManager.getInstance(this).getBaseEventListener() .setLoginOkForLaunchObserver(onLoginSucessObserver); - // 异步提交登陆名和密码 + // 异步提交登陆id和token new LocalUDPDataSender.SendLoginDataAsync( LoginActivity.this , editLoginName.getText().toString().trim() @@ -226,7 +232,7 @@ protected void fireAfterSendLogin(int code) { // Toast.makeText(getApplicationContext(), "数据发送成功!", Toast.LENGTH_SHORT).show(); - Log.d(MainActivity.class.getSimpleName(), "登陆信息已成功发出!"); + Log.d(MainActivity.class.getSimpleName(), "登陆/连接信息已成功发出!"); } else { diff --git a/src_all/demos/MobileIMSDK4aDemo/src/net/openmob/mobileimsdk/android/demo/MainActivity.java b/src_all/demos/MobileIMSDK4aDemoX/src/net/openmob/mobileimsdk/android/demo/MainActivity.java similarity index 85% rename from src_all/demos/MobileIMSDK4aDemo/src/net/openmob/mobileimsdk/android/demo/MainActivity.java rename to src_all/demos/MobileIMSDK4aDemoX/src/net/openmob/mobileimsdk/android/demo/MainActivity.java index f51d9ee4..9d32d9b4 100755 --- a/src_all/demos/MobileIMSDK4aDemo/src/net/openmob/mobileimsdk/android/demo/MainActivity.java +++ b/src_all/demos/MobileIMSDK4aDemoX/src/net/openmob/mobileimsdk/android/demo/MainActivity.java @@ -1,12 +1,16 @@ /* - * Copyright (C) 2016 即时通讯网(52im.net) The MobileIMSDK Project. + * Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. + * The MobileIMSDK_X (MobileIMSDK v3.x) Project. * All rights reserved. - * Project URL:https://github.com/JackJiang2011/MobileIMSDK + * + * > Github地址: https://github.com/JackJiang2011/MobileIMSDK + * > 文档地址: http://www.52im.net/forum-89-1.html + * > 即时通讯技术社区:http://www.52im.net/ + * > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) * - * 即时通讯网(52im.net) - 即时通讯技术社区! PROPRIETARY/CONFIDENTIAL. - * Use is subject to license terms. + * "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 * - * MainActivity.java at 2016-2-20 11:20:18, code by Jack Jiang. + * MainActivity.java at 2017-5-1 21:08:44, code by Jack Jiang. * You can contact author with jack.jiang@52im.net or jb2011@163.com. */ package net.openmob.mobileimsdk.android.demo; @@ -102,7 +106,8 @@ private void initViews() chatInfoListAdapter = new MyAdapter(this); chatInfoListView.setAdapter(chatInfoListAdapter); - this.setTitle("MobileIMSDK Demo"); + this.setTitle("MobileIMSDK v3 Demo(当前登陆:" + +ClientCoreSDK.getInstance().getInstance().getCurrentLoginUserId()+")"); } private void initListeners() @@ -140,20 +145,20 @@ private void initOthers() public void refreshMyid() { - int myid = ClientCoreSDK.getInstance().getCurrentUserId(); - this.viewMyid.setText(myid == -1 ? "连接断开" :""+myid); + boolean connectedToServer = ClientCoreSDK.getInstance().isConnectedToServer(); + this.viewMyid.setText(connectedToServer ? "通信正常":"连接断开"); } private void doSendMessage() { String msg = editContent.getText().toString().trim(); - if(msg.length() > 0) + String friendId = editId.getText().toString().trim(); + if(msg.length() > 0 && friendId.length() > 0) { - int friendId = Integer.parseInt(editId.getText().toString().trim()); showIMInfo_black("我对"+friendId+"说:"+msg); // 发送消息(Android系统要求必须要在独立的线程中发送哦) - new LocalUDPDataSender.SendCommonDataAsync(MainActivity.this, msg, friendId, true) + new LocalUDPDataSender.SendCommonDataAsync(MainActivity.this, msg, friendId)//, true) { @Override protected void onPostExecute(Integer code) @@ -166,7 +171,10 @@ protected void onPostExecute(Integer code) }.execute(); } else - Log.e(MainActivity.class.getSimpleName(), "txt2.len="+(msg.length())); + { + showIMInfo_red("接收者id或发送内容为空,发送没有继续!"); + Log.e(MainActivity.class.getSimpleName(), "msg.len="+msg.length()+",friendId.len="+friendId.length()); + } } private void doLogout() diff --git a/src_all/demos/MobileIMSDK4aDemo/src/net/openmob/mobileimsdk/android/demo/SplashScreenActivity.java b/src_all/demos/MobileIMSDK4aDemoX/src/net/openmob/mobileimsdk/android/demo/SplashScreenActivity.java similarity index 83% rename from src_all/demos/MobileIMSDK4aDemo/src/net/openmob/mobileimsdk/android/demo/SplashScreenActivity.java rename to src_all/demos/MobileIMSDK4aDemoX/src/net/openmob/mobileimsdk/android/demo/SplashScreenActivity.java index 33aed202..4ec2f8e4 100755 --- a/src_all/demos/MobileIMSDK4aDemo/src/net/openmob/mobileimsdk/android/demo/SplashScreenActivity.java +++ b/src_all/demos/MobileIMSDK4aDemoX/src/net/openmob/mobileimsdk/android/demo/SplashScreenActivity.java @@ -1,12 +1,16 @@ /* - * Copyright (C) 2016 即时通讯网(52im.net) The MobileIMSDK Project. + * Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. + * The MobileIMSDK_X (MobileIMSDK v3.x) Project. * All rights reserved. - * Project URL:https://github.com/JackJiang2011/MobileIMSDK + * + * > Github地址: https://github.com/JackJiang2011/MobileIMSDK + * > 文档地址: http://www.52im.net/forum-89-1.html + * > 即时通讯技术社区:http://www.52im.net/ + * > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) * - * 即时通讯网(52im.net) - 即时通讯技术社区! PROPRIETARY/CONFIDENTIAL. - * Use is subject to license terms. + * "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 * - * SplashScreenActivity.java at 2016-2-20 11:20:18, code by Jack Jiang. + * SplashScreenActivity.java at 2017-5-1 21:08:44, code by Jack Jiang. * You can contact author with jack.jiang@52im.net or jb2011@163.com. */ package net.openmob.mobileimsdk.android.demo; diff --git a/src_all/demos/MobileIMSDK4aDemo/src/net/openmob/mobileimsdk/android/demo/event/ChatBaseEventImpl.java b/src_all/demos/MobileIMSDK4aDemoX/src/net/openmob/mobileimsdk/android/demo/event/ChatBaseEventImpl.java similarity index 53% rename from src_all/demos/MobileIMSDK4aDemo/src/net/openmob/mobileimsdk/android/demo/event/ChatBaseEventImpl.java rename to src_all/demos/MobileIMSDK4aDemoX/src/net/openmob/mobileimsdk/android/demo/event/ChatBaseEventImpl.java index 1c1fb188..b5aa4302 100755 --- a/src_all/demos/MobileIMSDK4aDemo/src/net/openmob/mobileimsdk/android/demo/event/ChatBaseEventImpl.java +++ b/src_all/demos/MobileIMSDK4aDemoX/src/net/openmob/mobileimsdk/android/demo/event/ChatBaseEventImpl.java @@ -1,12 +1,16 @@ /* - * Copyright (C) 2016 即时通讯网(52im.net) The MobileIMSDK Project. + * Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. + * The MobileIMSDK_X (MobileIMSDK v3.x) Project. * All rights reserved. - * Project URL:https://github.com/JackJiang2011/MobileIMSDK + * + * > Github地址: https://github.com/JackJiang2011/MobileIMSDK + * > 文档地址: http://www.52im.net/forum-89-1.html + * > 即时通讯技术社区:http://www.52im.net/ + * > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) * - * 即时通讯网(52im.net) - 即时通讯技术社区! PROPRIETARY/CONFIDENTIAL. - * Use is subject to license terms. + * "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 * - * ChatBaseEventImpl.java at 2016-2-20 11:20:18, code by Jack Jiang. + * ChatBaseEventImpl.java at 2017-5-1 21:08:44, code by Jack Jiang. * You can contact author with jack.jiang@52im.net or jb2011@163.com. */ package net.openmob.mobileimsdk.android.demo.event; @@ -17,9 +21,15 @@ import net.openmob.mobileimsdk.android.event.ChatBaseEvent; import android.util.Log; +/** + * 与IM服务器的连接事件在此ChatBaseEvent子类中实现即可。 + * + * @author Jack Jiang, 20170501 + * @version.1.1 + */ public class ChatBaseEventImpl implements ChatBaseEvent { -private final static String TAG = ChatBaseEventImpl.class.getSimpleName(); + private final static String TAG = ChatBaseEventImpl.class.getSimpleName(); private MainActivity mainGUI = null; @@ -28,28 +38,28 @@ public class ChatBaseEventImpl implements ChatBaseEvent private Observer loginOkForLaunchObserver = null; @Override - public void onLoginMessage(int dwUserId, int dwErrorCode) + public void onLoginMessage(int dwErrorCode) { if (dwErrorCode == 0) { -// Log.i(TAG, "【DEBUG_UI】登录成功,当前分配的user_id=!"+dwUserId); + Log.i(TAG, "【DEBUG_UI】IM服务器登录/连接成功!"); // TODO 以下代码仅用于DEMO哦 if(this.mainGUI != null) { this.mainGUI.refreshMyid(); - this.mainGUI.showIMInfo_green("登录成功,id="+dwUserId); + this.mainGUI.showIMInfo_green("IM服务器登录/连接成功,dwErrorCode="+dwErrorCode); } } else { - Log.e(TAG, "【DEBUG_UI】登录失败,错误代码:" + dwErrorCode); + Log.e(TAG, "【DEBUG_UI】IM服务器登录/连接失败,错误代码:" + dwErrorCode); // TODO 以下代码仅用于DEMO哦 if(this.mainGUI != null) { this.mainGUI.refreshMyid(); - this.mainGUI.showIMInfo_red("登录失败,code="+dwErrorCode); + this.mainGUI.showIMInfo_red("IM服务器登录/连接失败,code="+dwErrorCode); } } @@ -64,13 +74,13 @@ public void onLoginMessage(int dwUserId, int dwErrorCode) @Override public void onLinkCloseMessage(int dwErrorCode) { - Log.e(TAG, "【DEBUG_UI】网络连接出错关闭了,error:" + dwErrorCode); + Log.e(TAG, "【DEBUG_UI】与IM服务器的网络连接出错关闭了,error:" + dwErrorCode); // TODO 以下代码仅用于DEMO哦 if(this.mainGUI != null) { this.mainGUI.refreshMyid(); - this.mainGUI.showIMInfo_red("服务器连接已断开,error="+dwErrorCode); + this.mainGUI.showIMInfo_red("与IM服务器的连接已断开,error="+dwErrorCode); } } diff --git a/src_all/demos/MobileIMSDK4aDemoX/src/net/openmob/mobileimsdk/android/demo/event/ChatTransDataEventImpl.java b/src_all/demos/MobileIMSDK4aDemoX/src/net/openmob/mobileimsdk/android/demo/event/ChatTransDataEventImpl.java new file mode 100755 index 00000000..4e2aabb6 --- /dev/null +++ b/src_all/demos/MobileIMSDK4aDemoX/src/net/openmob/mobileimsdk/android/demo/event/ChatTransDataEventImpl.java @@ -0,0 +1,59 @@ +/* + * Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. + * The MobileIMSDK_X (MobileIMSDK v3.x) Project. + * All rights reserved. + * + * > Github地址: https://github.com/JackJiang2011/MobileIMSDK + * > 文档地址: http://www.52im.net/forum-89-1.html + * > 即时通讯技术社区:http://www.52im.net/ + * > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) + * + * "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 + * + * ChatTransDataEventImpl.java at 2017-5-1 21:08:44, code by Jack Jiang. + * You can contact author with jack.jiang@52im.net or jb2011@163.com. + */ +package net.openmob.mobileimsdk.android.demo.event; + +import net.openmob.mobileimsdk.android.demo.MainActivity; +import net.openmob.mobileimsdk.android.event.ChatTransDataEvent; +import android.util.Log; +import android.widget.Toast; + +/** + * 与IM服务器的数据交互事件在此ChatTransDataEvent子类中实现即可。 + * + * @author Jack Jiang, 20170501 + * @version.1.1 + */ +public class ChatTransDataEventImpl implements ChatTransDataEvent +{ + private final static String TAG = ChatTransDataEventImpl.class.getSimpleName(); + + private MainActivity mainGUI = null; + + @Override + public void onTransBuffer(String fingerPrintOfProtocal, String userid, String dataContent, int typeu) + { + Log.d(TAG, "【DEBUG_UI】[typeu="+typeu+"]收到来自用户"+userid+"的消息:"+dataContent); + + if(mainGUI != null) + { + Toast.makeText(mainGUI, userid+"说:"+dataContent, Toast.LENGTH_SHORT).show(); + this.mainGUI.showIMInfo_black(userid+"说:"+dataContent); + } + } + + public ChatTransDataEventImpl setMainGUI(MainActivity mainGUI) + { + this.mainGUI = mainGUI; + return this; + } + + @Override + public void onErrorResponse(int errorCode, String errorMsg) + { + Log.d(TAG, "【DEBUG_UI】收到服务端错误消息,errorCode="+errorCode+", errorMsg="+errorMsg); + this.mainGUI.showIMInfo_red("Server反馈错误码:"+errorCode+",errorMsg="+errorMsg); + } +} diff --git a/src_all/demos/MobileIMSDK4aDemo/src/net/openmob/mobileimsdk/android/demo/event/MessageQoSEventImpl.java b/src_all/demos/MobileIMSDK4aDemoX/src/net/openmob/mobileimsdk/android/demo/event/MessageQoSEventImpl.java similarity index 65% rename from src_all/demos/MobileIMSDK4aDemo/src/net/openmob/mobileimsdk/android/demo/event/MessageQoSEventImpl.java rename to src_all/demos/MobileIMSDK4aDemoX/src/net/openmob/mobileimsdk/android/demo/event/MessageQoSEventImpl.java index 1a2e7339..a88073d7 100755 --- a/src_all/demos/MobileIMSDK4aDemo/src/net/openmob/mobileimsdk/android/demo/event/MessageQoSEventImpl.java +++ b/src_all/demos/MobileIMSDK4aDemoX/src/net/openmob/mobileimsdk/android/demo/event/MessageQoSEventImpl.java @@ -1,12 +1,16 @@ /* - * Copyright (C) 2016 即时通讯网(52im.net) The MobileIMSDK Project. + * Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. + * The MobileIMSDK_X (MobileIMSDK v3.x) Project. * All rights reserved. - * Project URL:https://github.com/JackJiang2011/MobileIMSDK + * + * > Github地址: https://github.com/JackJiang2011/MobileIMSDK + * > 文档地址: http://www.52im.net/forum-89-1.html + * > 即时通讯技术社区:http://www.52im.net/ + * > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) * - * 即时通讯网(52im.net) - 即时通讯技术社区! PROPRIETARY/CONFIDENTIAL. - * Use is subject to license terms. + * "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 * - * MessageQoSEventImpl.java at 2016-2-20 11:20:18, code by Jack Jiang. + * MessageQoSEventImpl.java at 2017-5-1 21:08:44, code by Jack Jiang. * You can contact author with jack.jiang@52im.net or jb2011@163.com. */ package net.openmob.mobileimsdk.android.demo.event; @@ -18,6 +22,12 @@ import net.openmob.mobileimsdk.server.protocal.Protocal; import android.util.Log; +/** + * 消息送达相关事件(由QoS机制通知上来的)在此MessageQoSEvent子类中实现即可。 + * + * @author Jack Jiang, 20170501 + * @version.1.1 + */ public class MessageQoSEventImpl implements MessageQoSEvent { private final static String TAG = MessageQoSEventImpl.class.getSimpleName(); diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100755 index 1e2260bb..00000000 --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/xcuserdata/jackjiang.xcuserdatad/UserInterfaceState.xcuserstate b/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/xcuserdata/jackjiang.xcuserdatad/UserInterfaceState.xcuserstate deleted file mode 100755 index bb195ca5..00000000 Binary files a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/xcuserdata/jackjiang.xcuserdatad/UserInterfaceState.xcuserstate and /dev/null differ diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/AppDelegate.h b/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/AppDelegate.h deleted file mode 100755 index d03a2f92..00000000 --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/AppDelegate.h +++ /dev/null @@ -1,36 +0,0 @@ -// ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. -// All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK -// -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. -// -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. -// ---------------------------------------------------------------------- -// -// AppDelegate.h -// RainbowCore4i -// -// Created by JackJiang on 14/10/21. -// Copyright (c) 2014年 openmob.net. All rights reserved. -// - -#import - -#define CurAppDelegate ((AppDelegate*)[[UIApplication sharedApplication] delegate]) - -@class MainViewController; - -@interface AppDelegate : UIResponder - -@property (strong, nonatomic) UIWindow *window; -@property (strong, nonatomic) MainViewController *viewController; - --(void)switchToMainViewController; - -- (UIView *) getMainView; -- (MainViewController *) getMainViewController; -- (void) refreshMyid; - -@end - diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/ChatInfoTableViewCell.h b/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/ChatInfoTableViewCell.h deleted file mode 100755 index fe8c08e8..00000000 --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/ChatInfoTableViewCell.h +++ /dev/null @@ -1,24 +0,0 @@ -// ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. -// All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK -// -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. -// -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. -// ---------------------------------------------------------------------- -// -// ChatInfoTableViewCell.h -// RainbowCore4i -// -// Created by JackJiang on 15/2/15. -// Copyright (c) 2015年 openmob.net. All rights reserved. -// - -#import - -@interface ChatInfoTableViewCell : UITableViewCell - -@property (weak, nonatomic) IBOutlet UILabel *lbContent; - -@end diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/ChatInfoTableViewCell.m b/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/ChatInfoTableViewCell.m deleted file mode 100755 index b2c2c6a5..00000000 --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/ChatInfoTableViewCell.m +++ /dev/null @@ -1,32 +0,0 @@ -// ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. -// All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK -// -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. -// -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. -// ---------------------------------------------------------------------- -// -// ChatInfoTableViewCell.m -// RainbowCore4i -// -// Created by JackJiang on 15/2/15. -// Copyright (c) 2015年 openmob.net. All rights reserved. -// - -#import "ChatInfoTableViewCell.h" - -@implementation ChatInfoTableViewCell - -- (void)awakeFromNib { - // Initialization code -} - -- (void)setSelected:(BOOL)selected animated:(BOOL)animated { - [super setSelected:selected animated:animated]; - - // Configure the view for the selected state -} - -@end diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/ChatInfoTableViewCellDTO.h b/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/ChatInfoTableViewCellDTO.h deleted file mode 100755 index eed8ac2a..00000000 --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/ChatInfoTableViewCellDTO.h +++ /dev/null @@ -1,25 +0,0 @@ -// ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. -// All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK -// -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. -// -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. -// ---------------------------------------------------------------------- -// -// ChatInfoTableViewCellDTO.h -// RainbowCore4i -// -// Created by JackJiang on 15/2/15. -// Copyright (c) 2015年 openmob.net. All rights reserved. -// - -#import - -@interface ChatInfoTableViewCellDTO : NSObject - -@property (nonatomic, assign) NSInteger colorType; -@property (nonatomic, retain) NSString *content; - -@end diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/ChatInfoTableViewCellDTO.m b/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/ChatInfoTableViewCellDTO.m deleted file mode 100755 index 5dcff897..00000000 --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/ChatInfoTableViewCellDTO.m +++ /dev/null @@ -1,22 +0,0 @@ -// ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. -// All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK -// -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. -// -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. -// ---------------------------------------------------------------------- -// -// ChatInfoTableViewCellDTO.m -// RainbowCore4i -// -// Created by JackJiang on 15/2/15. -// Copyright (c) 2015年 openmob.net. All rights reserved. -// - -#import "ChatInfoTableViewCellDTO.h" - -@implementation ChatInfoTableViewCellDTO - -@end diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Resources/images/copyright_img@2x.png b/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Resources/images/copyright_img@2x.png deleted file mode 100755 index 7c609bdc..00000000 Binary files a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Resources/images/copyright_img@2x.png and /dev/null differ diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/UIViewController+Ext.h b/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/UIViewController+Ext.h deleted file mode 100755 index 29a3753e..00000000 --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/UIViewController+Ext.h +++ /dev/null @@ -1,29 +0,0 @@ -// ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. -// All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK -// -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. -// -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. -// ---------------------------------------------------------------------- -// -// -// UIViewController+Ext.h -// MobileIMSDK4iDemo -// -// Created by JackJiang on 15/11/8. -// Copyright © 2015年 openmob.net. All rights reserved. -// - -#import - -@interface UIViewController (Ext) - -- (IBAction)E_textFieldDidEndOnExit:(id)sender; - -- (IBAction)E_clickBgToHideKeyboard:(id)sender; - -- (void) E_showToastInfo:(NSString *)title withContent:(NSString *)content onParent:(UIView *)parentView; - -@end diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/im_impl_demo/ChatBaseEventImpl.m b/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/im_impl_demo/ChatBaseEventImpl.m deleted file mode 100755 index c4fa6891..00000000 --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/im_impl_demo/ChatBaseEventImpl.m +++ /dev/null @@ -1,59 +0,0 @@ -// ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. -// All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK -// -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. -// -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. -// ---------------------------------------------------------------------- -// -// ChatBaseEventImpl.m -// RainbowCore4i -// -// Created by JackJiang on 14/10/28. -// Copyright (c) 2014年 openmob.net. All rights reserved. -// - -#import "ChatBaseEventImpl.h" -#import "AppDelegate.h" -#import "MainViewController.h" - -@implementation ChatBaseEventImpl - -- (void) onLoginMessage:(int) dwUserId withErrorCode:(int)dwErrorCode -{ - if (dwErrorCode == 0) - { - NSLog(@"【DEBUG_UI】登录成功,当前分配的user_id=%d!", dwUserId); - - // UI显示 - [CurAppDelegate refreshMyid]; - [[CurAppDelegate getMainViewController] showIMInfo_green:[NSString stringWithFormat:@"登录成功,id=%d", dwUserId]]; - } - else - { - NSLog(@"【DEBUG_UI】登录失败,错误代码:%d", dwErrorCode); - - // UI显示 - [[CurAppDelegate getMainViewController] showIMInfo_red:[NSString stringWithFormat:@"登录失败,code=%d", dwErrorCode]]; - } - - // 此观察者只有开启程序首次使用登陆界面时有用 - if(self.loginOkForLaunchObserver != nil) - { - self.loginOkForLaunchObserver(nil, [NSNumber numberWithInt:dwErrorCode]); - self.loginOkForLaunchObserver = nil; - } -} - -- (void) onLinkCloseMessage:(int)dwErrorCode -{ - NSLog(@"【DEBUG_UI】网络连接出错关闭了,error:%d", dwErrorCode); - - // UI显示 - [[CurAppDelegate getMainViewController] showIMInfo_red:[NSString stringWithFormat:@"服务器连接已断开,error=%d", dwErrorCode]]; -} - - -@end diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/im_impl_demo/ChatTransDataEventImpl.h b/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/im_impl_demo/ChatTransDataEventImpl.h deleted file mode 100755 index 11d2f3ff..00000000 --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/im_impl_demo/ChatTransDataEventImpl.h +++ /dev/null @@ -1,23 +0,0 @@ -// ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. -// All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK -// -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. -// -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. -// ---------------------------------------------------------------------- -// -// ChatTransDataEventImpl.h -// RainbowCore4i -// -// Created by JackJiang on 14/10/28. -// Copyright (c) 2014年 openmob.net. All rights reserved. -// - -#import -#import "ChatTransDataEvent.h" - -@interface ChatTransDataEventImpl : NSObject - -@end diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/im_impl_demo/MessageQoSEventImpl.h b/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/im_impl_demo/MessageQoSEventImpl.h deleted file mode 100755 index c09f5ee0..00000000 --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/im_impl_demo/MessageQoSEventImpl.h +++ /dev/null @@ -1,23 +0,0 @@ -// ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. -// All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK -// -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. -// -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. -// ---------------------------------------------------------------------- -// -// MessageQoSEventImpl.h -// RainbowCore4i -// -// Created by JackJiang on 14/10/28. -// Copyright (c) 2014年 openmob.net. All rights reserved. -// - -#import -#import "MessageQoSEvent.h" - -@interface MessageQoSEventImpl : NSObject - -@end diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/main.m b/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/main.m deleted file mode 100755 index 4587ca68..00000000 --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/main.m +++ /dev/null @@ -1,26 +0,0 @@ -// ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. -// All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK -// -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. -// -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. -// ---------------------------------------------------------------------- -// -// -// main.m -// RainbowCore4i -// -// Created by JackJiang on 14/10/21. -// Copyright (c) 2014年 openmob.net. All rights reserved. -// - -#import -#import "AppDelegate.h" - -int main(int argc, char * argv[]) { - @autoreleasepool { - return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); - } -} diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iLib/libMobileIMSDK4i_common.a b/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iLib/libMobileIMSDK4i_common.a deleted file mode 100755 index 8d7eea47..00000000 Binary files a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iLib/libMobileIMSDK4i_common.a and /dev/null differ diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iLib/usr/local/include/PErrorResponse.h b/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iLib/usr/local/include/PErrorResponse.h deleted file mode 100755 index 3d49470e..00000000 --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iLib/usr/local/include/PErrorResponse.h +++ /dev/null @@ -1,31 +0,0 @@ -// ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. -// All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK -// -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. -// -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. -// ---------------------------------------------------------------------- -// -// PErrorResponse.h -// MobileIMSDK4i -// -// Created by JackJiang on 14/10/22. -// Copyright (c) 2014年 openmob.net. All rights reserved. -// - -#import - -/** - * 错误信息DTO类。 - * - * @author Jack Jiang, 2014-10-22 - * @version 1.0 - */ -@interface PErrorResponse : NSObject - -@property (nonatomic, assign) int errorCode; -@property (nonatomic, retain) NSString* errorMsg; - -@end diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iLib/usr/local/include/PKeepAlive.h b/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iLib/usr/local/include/PKeepAlive.h deleted file mode 100755 index aaae4b34..00000000 --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iLib/usr/local/include/PKeepAlive.h +++ /dev/null @@ -1,28 +0,0 @@ -// ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. -// All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK -// -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. -// -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. -// ---------------------------------------------------------------------- -// -// PKeepAlive.h -// MobileIMSDK4i -// -// Created by JackJiang on 14/10/22. -// Copyright (c) 2014年 openmob.net. All rights reserved. -// - -#import - -/*! - * KeepAlive心跳包的DTO类。 - * - * @author Jack Jiang, 2014-10-22 - * @version 1.0 - */ -@interface PKeepAlive : NSObject - -@end diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iLib/usr/local/include/PKeepAliveResponse.h b/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iLib/usr/local/include/PKeepAliveResponse.h deleted file mode 100755 index 6371dfdd..00000000 --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iLib/usr/local/include/PKeepAliveResponse.h +++ /dev/null @@ -1,28 +0,0 @@ -// ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. -// All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK -// -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. -// -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. -// ---------------------------------------------------------------------- -// -// PKeepAliveResponse.h -// MobileIMSDK4i -// -// Created by JackJiang on 14/10/22. -// Copyright (c) 2014年 openmob.net. All rights reserved. -// - -#import - -/*! - * KeepAlive响应包的DTO类。 - * - * @author Jack Jiang, 2014-10-22 - * @version 1.0 - */ -@interface PKeepAliveResponse : NSObject - -@end diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iLib/usr/local/include/PLoginInfo.h b/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iLib/usr/local/include/PLoginInfo.h deleted file mode 100755 index 96b47e2d..00000000 --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iLib/usr/local/include/PLoginInfo.h +++ /dev/null @@ -1,41 +0,0 @@ -// ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. -// All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK -// -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. -// -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. -// ---------------------------------------------------------------------- -// -// PLoginInfo.h -// MobileIMSDK4i -// -// Created by JackJiang on 14/10/22. -// Copyright (c) 2014年 openmob.net. All rights reserved. -// - -#import - -/*! - * 登陆信息DTO类. - * - * @author Jack Jiang, 2014-10-22 - * @version 1.0 - */ -@interface PLoginInfo : NSObject - -/*! 登陆时提交的用户名:此用户名对框架来说可以随意,具体意义由上层逻辑决即可 */ -@property (nonatomic, retain) NSString* loginName; - -/*! 登陆时提交的密码:此密码对框架来说可以随意,具体意义由上层逻辑决即可 */ -@property (nonatomic, retain) NSString* loginPsw; - -/*! - * 额外信息字符串。本字段目前为保留字段,供上层应用自行放置需要的内容。 - * @since 2.1.6 - */ -@property (nonatomic, retain) NSString* extra; - - -@end diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iLib/usr/local/include/PLoginInfoResponse.h b/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iLib/usr/local/include/PLoginInfoResponse.h deleted file mode 100755 index bf29e862..00000000 --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iLib/usr/local/include/PLoginInfoResponse.h +++ /dev/null @@ -1,35 +0,0 @@ -// ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. -// All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK -// -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. -// -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. -// ---------------------------------------------------------------------- -// -// PLoginInfoResponse.h -// MobileIMSDK4i -// -// Created by JackJiang on 14/10/22. -// Copyright (c) 2014年 openmob.net. All rights reserved. -// - -#import - -/*! - * 服务端反馈的用户登陆结果数据封装类。 - * - * @author Jack Jiang,2014-10-29 - * @version 1.0 - * @since 2.1 - */ -@interface PLoginInfoResponse : NSObject - -/*! 错误码:0表示认证成功,否则是用户自定的错误码(该码应该是>1024的整数) */ -@property (nonatomic, assign) int code; - -/*! 用户登陆路成功后分配给客户的唯一id:此值只在code==0时才有意义 */ -@property (nonatomic, assign) int user_id; - -@end diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iLib/usr/local/include/Protocal.h b/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iLib/usr/local/include/Protocal.h deleted file mode 100755 index 91ae4a49..00000000 --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iLib/usr/local/include/Protocal.h +++ /dev/null @@ -1,147 +0,0 @@ -// ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. -// All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK -// -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. -// -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. -// ---------------------------------------------------------------------- -// -// Protocal.h -// MobileIMSDK4i -// -// Created by JackJiang on 14/10/22. -// Copyright (c) 2014年 openmob.net. All rights reserved. -// - -#import - -/*! - * 协议报文对象. - *

    - * 重要说明:因本类中的属性retryCount仅用于本地(不需要通过网络把值传给接收方),因为在对象转JSON时应去掉此属性 - * ,那么接收方收到本对象并反序列化时该属性正好就是默认值0. - * - * @author Jack Jiang, 2014-10-22 - * @version 1.0 - */ -@interface Protocal : NSObject - -/*! - * 协议类型. - * - * @see @link ProtocalType @/link - */ -@property (nonatomic, assign) int type; -/*! 协议数据内容 */ -@property (nonatomic, retain) NSString *dataContent; - -/*! 消息发出方的id(当用户登陆时,此值可不设置) */ -@property (nonatomic, assign) int from; -/*! 消息接收方的id(当用户退出时,此值可不设置) */ -@property (nonatomic, assign) int to; - -/*! 用于QoS消息包的质量保证时作为消息的指纹特征码(理论上全局唯一) */ -@property (nonatomic, retain) NSString *fp; - -/*! - * true表示本包需要进行QoS质量保证,否则不需要. - *

    - * 注:目前只支持客户发给客户端的质量保证,暂不支持服务端主动发起的包哦(比如上下线通知等)。 - * - * @warning 当本属性申明为BOOL类型时,在模拟器iPhone 4s、iPhone 5时,利用官方的NSJSONSerialization - * 类转成JSON时,会被解析成0或1,而在iPhone 5s和iPhone 6上会被解析成true或false,符合JSON规范的应 - * 是true和false. 经过实验,把申明改成bool型时,在4s、5、5s、6上都能正常解析成true和false,暂时原因不明! - */ -@property (nonatomic, assign) bool QoS; -//@property (nonatomic) BOOL QoS; - -/*! - * 本字段仅用于QoS时:表示丢包重试次数。 - * - * @return - */ -- (int) getRetryCount; - -/*! - * 本方法仅用于QoS时:选出包重试次数+1。 - *

    - * 本方法理论上由MobileIMSDK内部调用,应用层无需额外调用。 - */ -- (void) increaseRetryCount; - -/*! - * 将本对象转换成JSON字符串. - * - * @return - */ -- (NSString *) toGsonString; - -/*! - * 将本对象转换成JSON表示的byte数组(以便网络传输). - * - * @return - * @see toMutableDictionary: - * @see toGsonString: - */ -- (NSData *) toBytes; - -/*! - * 克隆本对象. - *

    - * 克隆一个Protocal对象(该对象已重置retryCount数值为0). - * - * @return 本对象新的复制体 - */ -- (Protocal *) clone; - -/*! - * 创建Protocal对象的快捷方法(QoS标记默认为false)。 - * - * @param type 协议类型 - * @param dataContent 协议数据内容 - * @param from 消息发出方的id(当用户登陆时,此值可不设置) - * @param to 消息接收方的id(当用户退出时,此值可不设置) - * - * @return 新建的Protocal对象 - */ -+ (Protocal *) initWithType:(int)type content:(NSString *)dataContent from:(int)from to:(int)to; - -/*! - * 创建Protocal对象的快捷方法. - * - * @param type 协议类型 - * @param dataContent 协议数据内容 - * @param from 消息发出方的id(当用户登陆时,此值可不设置) - * @param to 消息接收方的id(当用户退出时,此值可不设置) - * @param QoS 是否需要QoS支持,true表示是,否则不需要 - * @param fingerPrint 协议包的指纹特征码,当 QoS字段=true时且本字段为null时方法中将自动生成指纹码否则使用本参数指定的指纹码 - * - * @return 新建的Protocal对象 - */ -+ (Protocal *) initWithType:(int)type content:(NSString *)dataContent from:(int)from to:(int)to qos:(BOOL)QoS fp:(NSString *)fingerPrint; - -/*! - * 返回QoS需要的消息包的指纹特征码. - *

    - * 重要说明:使用系统时间戳作为指纹码,则意味着只在Protocal生成的环境中可能唯一. - * 它存在重复的可能性有2种: - *

      - *
    • 1) 比如在客户端生成时如果生成过快的话(时间戳最小单位是1毫秒,如1毫秒内生成 - * 多个指纹码),理论上是有重复可能性;
    • - *
    • 2) 不同的客户端因为系统时间并不完全一致,理论上也是可能存在重复的,所以唯一性应是:好友+指纹码才对.
    • - *
    - * - *

    - * * 目前使用的UUID基本能保证全局唯一,但它有36位长(加上分隔符32+4),目前为了保持框架的算法可读性 - * 暂时不进行优化,以后可考虑使用2进制方式或者Protobuffer实现。 - * - * @return 指纹特征码实际上就是系统的当时时间戳 - * @see ToolKits.generateUUID() - */ -+ (NSString *) genFingerPrint; - -//+ (Protocal *) fromBytes_JSON:(NSData *) fullProtocalJASOnBytes; - -@end diff --git a/src_all/demos/MobileIMSDK4iDemo/doc/IMG_0260.PNG b/src_all/demos/MobileIMSDK4iDemo/doc/IMG_0260.PNG deleted file mode 100755 index e1623d74..00000000 Binary files a/src_all/demos/MobileIMSDK4iDemo/doc/IMG_0260.PNG and /dev/null differ diff --git a/src_all/demos/MobileIMSDK4iDemo/MBProgressHUD/MBProgressHUD.h b/src_all/demos/MobileIMSDK4iDemo_x/MBProgressHUD/MBProgressHUD.h similarity index 100% rename from src_all/demos/MobileIMSDK4iDemo/MBProgressHUD/MBProgressHUD.h rename to src_all/demos/MobileIMSDK4iDemo_x/MBProgressHUD/MBProgressHUD.h diff --git a/src_all/demos/MobileIMSDK4iDemo/MBProgressHUD/MBProgressHUD.m b/src_all/demos/MobileIMSDK4iDemo_x/MBProgressHUD/MBProgressHUD.m similarity index 100% rename from src_all/demos/MobileIMSDK4iDemo/MBProgressHUD/MBProgressHUD.m rename to src_all/demos/MobileIMSDK4iDemo_x/MBProgressHUD/MBProgressHUD.m diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo.xcodeproj/project.pbxproj b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo.xcodeproj/project.pbxproj old mode 100755 new mode 100644 similarity index 98% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo.xcodeproj/project.pbxproj rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo.xcodeproj/project.pbxproj index 72b41563..15dddb57 --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo.xcodeproj/project.pbxproj +++ b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo.xcodeproj/project.pbxproj @@ -7,7 +7,6 @@ objects = { /* Begin PBXBuildFile section */ - EA20C71B1BC413E9004509AF /* libMobileIMSDK4i_common.a in Frameworks */ = {isa = PBXBuildFile; fileRef = EA20C71A1BC413E9004509AF /* libMobileIMSDK4i_common.a */; }; EA3969C81A0DEFA40099FBF9 /* green_light@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = EA3969C71A0DEFA40099FBF9 /* green_light@2x.png */; }; EA48F5421BEF816C007AE6A1 /* UIViewController+Ext.m in Sources */ = {isa = PBXBuildFile; fileRef = EA48F5411BEF816C007AE6A1 /* UIViewController+Ext.m */; }; EA48F5461BEF8FE0007AE6A1 /* IMClientManager.m in Sources */ = {isa = PBXBuildFile; fileRef = EA48F5451BEF8FE0007AE6A1 /* IMClientManager.m */; }; @@ -39,12 +38,12 @@ EAD3047B19F60C2D00B75F51 /* MainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = EAD3047A19F60C2D00B75F51 /* MainViewController.m */; }; EAD304A819F6118000B75F51 /* MainViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = EAD304A719F6118000B75F51 /* MainViewController.xib */; }; EADDE6C71A0A2AB4002FFB8E /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EADDE6C61A0A2AB4002FFB8E /* SystemConfiguration.framework */; }; + EAE3B0D21D59C10700D94245 /* libMobileIMSDK4iX_common.a in Frameworks */ = {isa = PBXBuildFile; fileRef = EAE3B0D11D59C10700D94245 /* libMobileIMSDK4iX_common.a */; }; EAF526F51BF447E2006E31CB /* copyright_img@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = EAF526F31BF447E2006E31CB /* copyright_img@2x.png */; }; EAF526F61BF447E2006E31CB /* logo_img@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = EAF526F41BF447E2006E31CB /* logo_img@2x.png */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ - EA20C71A1BC413E9004509AF /* libMobileIMSDK4i_common.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libMobileIMSDK4i_common.a; sourceTree = ""; }; EA2746AA1BC40BAA004157D4 /* libMobileIMSDK4i_common.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libMobileIMSDK4i_common.a; path = MobileIMSDK4iLib/libMobileIMSDK4i_common.a; sourceTree = ""; }; EA3969C71A0DEFA40099FBF9 /* green_light@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "green_light@2x.png"; sourceTree = ""; }; EA48F5401BEF816C007AE6A1 /* UIViewController+Ext.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "UIViewController+Ext.h"; path = "MobileIMSDK4iDemo/UIViewController+Ext.h"; sourceTree = ""; }; @@ -118,6 +117,7 @@ EADDE6E31A0A309E002FFB8E /* ProtocalType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ProtocalType.h; sourceTree = ""; }; EADDE6E41A0A309E002FFB8E /* ToolKits.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ToolKits.h; sourceTree = ""; }; EADDE6E51A0A309E002FFB8E /* UDPUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UDPUtils.h; sourceTree = ""; }; + EAE3B0D11D59C10700D94245 /* libMobileIMSDK4iX_common.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libMobileIMSDK4iX_common.a; sourceTree = ""; }; EAF526F31BF447E2006E31CB /* copyright_img@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "copyright_img@2x.png"; sourceTree = ""; }; EAF526F41BF447E2006E31CB /* logo_img@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "logo_img@2x.png"; sourceTree = ""; }; /* End PBXFileReference section */ @@ -127,12 +127,12 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - EA20C71B1BC413E9004509AF /* libMobileIMSDK4i_common.a in Frameworks */, EADDE6C71A0A2AB4002FFB8E /* SystemConfiguration.framework in Frameworks */, EA82573B19FF5E1C0063AC95 /* Foundation.framework in Frameworks */, EA82573A19FF5E160063AC95 /* QuartzCore.framework in Frameworks */, EA82573919FF5E110063AC95 /* UIKit.framework in Frameworks */, EA82573819FF5E080063AC95 /* CoreGraphics.framework in Frameworks */, + EAE3B0D21D59C10700D94245 /* libMobileIMSDK4iX_common.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -304,7 +304,7 @@ EADDE6731A0A15C5002FFB8E /* MobileIMSDK4iLib */ = { isa = PBXGroup; children = ( - EA20C71A1BC413E9004509AF /* libMobileIMSDK4i_common.a */, + EAE3B0D11D59C10700D94245 /* libMobileIMSDK4iX_common.a */, EADDE6C81A0A309E002FFB8E /* usr */, ); path = MobileIMSDK4iLib; @@ -386,7 +386,7 @@ isa = PBXProject; attributes = { LastUpgradeCheck = 0600; - ORGANIZATIONNAME = cngeeker.com; + ORGANIZATIONNAME = 52im.net; TargetAttributes = { EAD3046E19F60C2D00B75F51 = { CreatedOnToolsVersion = 6.0.1; @@ -566,6 +566,7 @@ "$(PROJECT_DIR)/MobileIMSDK4iLib", "$(PROJECT_DIR)/MobileIMSDK4iLib/usr", ); + PRODUCT_BUNDLE_IDENTIFIER = net.52im.MobileIMSDK4iDemoX; PRODUCT_NAME = MobileIMSDK4iDemo; PROVISIONING_PROFILE = ""; }; @@ -589,6 +590,7 @@ "$(PROJECT_DIR)/MobileIMSDK4iLib", "$(PROJECT_DIR)/MobileIMSDK4iLib/usr", ); + PRODUCT_BUNDLE_IDENTIFIER = net.52im.MobileIMSDK4iDemoX; PRODUCT_NAME = MobileIMSDK4iDemo; PROVISIONING_PROFILE = ""; }; diff --git a/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..ac3bb766 --- /dev/null +++ b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/xcshareddata/MobileIMSDK4iDemo.xccheckout b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/xcshareddata/MobileIMSDK4iDemo.xccheckout old mode 100755 new mode 100644 similarity index 100% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/xcshareddata/MobileIMSDK4iDemo.xccheckout rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/xcshareddata/MobileIMSDK4iDemo.xccheckout diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/xcshareddata/MobileIMSDK4iDemo.xcscmblueprint b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/xcshareddata/MobileIMSDK4iDemo.xcscmblueprint old mode 100755 new mode 100644 similarity index 73% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/xcshareddata/MobileIMSDK4iDemo.xcscmblueprint rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/xcshareddata/MobileIMSDK4iDemo.xcscmblueprint index 7a5598e8..92970e47 --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/xcshareddata/MobileIMSDK4iDemo.xcscmblueprint +++ b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/xcshareddata/MobileIMSDK4iDemo.xcscmblueprint @@ -1,17 +1,22 @@ { - "DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "8d3d87f2-9396-e34a-88e2-f2e6eb1106e5++6215", + "DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "8d3d87f2-9396-e34a-88e2-f2e6eb1106e5++8281", "DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : { "8d3d87f2-9396-e34a-88e2-f2e6eb1106e5++6215" : { + }, + "8d3d87f2-9396-e34a-88e2-f2e6eb1106e5++8281" : { + } }, "DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : { "8d3d87f2-9396-e34a-88e2-f2e6eb1106e5++6215" : 0, + "8d3d87f2-9396-e34a-88e2-f2e6eb1106e5++8281" : 0, "9ed5075a-f848-b344-865b-7ca12b13ffea++78" : 0 }, "DVTSourceControlWorkspaceBlueprintIdentifierKey" : "99D11F29-B740-478D-A77A-77FD77279A6E", "DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : { "8d3d87f2-9396-e34a-88e2-f2e6eb1106e5++6215" : "MobileIMSDK4iDemo", + "8d3d87f2-9396-e34a-88e2-f2e6eb1106e5++8281" : "MobileIMSDK4iDemo_x\/", "9ed5075a-f848-b344-865b-7ca12b13ffea++78" : "RainbowCore4i" }, "DVTSourceControlWorkspaceBlueprintNameKey" : "MobileIMSDK4iDemo", @@ -23,6 +28,11 @@ "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Subversion", "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "8d3d87f2-9396-e34a-88e2-f2e6eb1106e5++6215" }, + { + "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "http:\/\/dmhbl.com:4040\/svn\/Rainbow", + "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Subversion", + "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "8d3d87f2-9396-e34a-88e2-f2e6eb1106e5++8281" + }, { "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "http:\/\/dmhbl.com:4040\/svn\/EFIMCore", "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Subversion", diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/xcshareddata/RainbowCore4i.xccheckout b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/xcshareddata/RainbowCore4i.xccheckout old mode 100755 new mode 100644 similarity index 100% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/xcshareddata/RainbowCore4i.xccheckout rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/xcshareddata/RainbowCore4i.xccheckout diff --git a/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/xcuserdata/jackjiang.xcuserdatad/UserInterfaceState.xcuserstate b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/xcuserdata/jackjiang.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 00000000..ce5a4854 Binary files /dev/null and b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/xcuserdata/jackjiang.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/xcuserdata/jackjiang.xcuserdatad/WorkspaceSettings.xcsettings b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/xcuserdata/jackjiang.xcuserdatad/WorkspaceSettings.xcsettings old mode 100755 new mode 100644 similarity index 100% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/xcuserdata/jackjiang.xcuserdatad/WorkspaceSettings.xcsettings rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo.xcodeproj/project.xcworkspace/xcuserdata/jackjiang.xcuserdatad/WorkspaceSettings.xcsettings diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo.xcodeproj/xcuserdata/jackjiang.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo.xcodeproj/xcuserdata/jackjiang.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist old mode 100755 new mode 100644 similarity index 100% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo.xcodeproj/xcuserdata/jackjiang.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo.xcodeproj/xcuserdata/jackjiang.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo.xcodeproj/xcuserdata/jackjiang.xcuserdatad/xcschemes/RainbowCore4i.xcscheme b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo.xcodeproj/xcuserdata/jackjiang.xcuserdatad/xcschemes/RainbowCore4i.xcscheme old mode 100755 new mode 100644 similarity index 100% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo.xcodeproj/xcuserdata/jackjiang.xcuserdatad/xcschemes/RainbowCore4i.xcscheme rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo.xcodeproj/xcuserdata/jackjiang.xcuserdatad/xcschemes/RainbowCore4i.xcscheme diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo.xcodeproj/xcuserdata/jackjiang.xcuserdatad/xcschemes/xcschememanagement.plist b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo.xcodeproj/xcuserdata/jackjiang.xcuserdatad/xcschemes/xcschememanagement.plist old mode 100755 new mode 100644 similarity index 100% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo.xcodeproj/xcuserdata/jackjiang.xcuserdatad/xcschemes/xcschememanagement.plist rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo.xcodeproj/xcuserdata/jackjiang.xcuserdatad/xcschemes/xcschememanagement.plist diff --git a/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/AppDelegate.h b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/AppDelegate.h new file mode 100644 index 00000000..247364bb --- /dev/null +++ b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/AppDelegate.h @@ -0,0 +1,41 @@ +// ---------------------------------------------------------------------- +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. +// All rights reserved. +// +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) +// +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. +// ---------------------------------------------------------------------- +// +// AppDelegate.h +// MibileIMSDK4iDemo_X (A demo for MobileIMSDK v3.0 at Summer 2017) +// +// Created by JackJiang on 14/10/21. +// Copyright (c) 2017年 52im.net. All rights reserved. +// + +#import + +#define CurAppDelegate ((AppDelegate*)[[UIApplication sharedApplication] delegate]) + +@class MainViewController; + +@interface AppDelegate : UIResponder + +@property (strong, nonatomic) UIWindow *window; +@property (strong, nonatomic) MainViewController *viewController; + +-(void)switchToMainViewController; + +- (UIView *) getMainView; +- (MainViewController *) getMainViewController; +- (void) refreshConnecteStatus; + +@end + diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/AppDelegate.m b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/AppDelegate.m old mode 100755 new mode 100644 similarity index 82% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/AppDelegate.m rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/AppDelegate.m index f1976292..6d10d65c --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/AppDelegate.m +++ b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/AppDelegate.m @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // AppDelegate.m -// RainbowCore4i +// MibileIMSDK4iDemo_X (A demo for MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/21. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import "AppDelegate.h" @@ -73,9 +78,9 @@ - (MainViewController *) getMainViewController return self.viewController; } -- (void) refreshMyid +- (void) refreshConnecteStatus { - [self.viewController refreshMyid]; + [self.viewController refreshConnecteStatus]; } - (void)applicationWillResignActive:(UIApplication *)application { diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Base.lproj/LaunchScreen.xib b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Base.lproj/LaunchScreen.xib old mode 100755 new mode 100644 similarity index 64% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Base.lproj/LaunchScreen.xib rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Base.lproj/LaunchScreen.xib index 4600de07..41a61000 --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Base.lproj/LaunchScreen.xib +++ b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Base.lproj/LaunchScreen.xib @@ -1,6 +1,6 @@ - + @@ -12,66 +12,59 @@ - - + + - + - + - - - - - - + + + - - - + + - + - - - - - + - - - + + + + + - - - - - - - - - - - - + + + + + + + + + + + - + diff --git a/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/ChatInfoTableViewCell.h b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/ChatInfoTableViewCell.h new file mode 100644 index 00000000..4f8f161f --- /dev/null +++ b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/ChatInfoTableViewCell.h @@ -0,0 +1,29 @@ +// ---------------------------------------------------------------------- +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. +// All rights reserved. +// +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) +// +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. +// ---------------------------------------------------------------------- +// +// ChatInfoTableViewCell.h +// MibileIMSDK4iDemo_X (A demo for MobileIMSDK v3.0 at Summer 2017) +// +// Created by JackJiang on 15/2/15. +// Copyright (c) 2017年 52im.net. All rights reserved. +// + +#import + +@interface ChatInfoTableViewCell : UITableViewCell + +@property (weak, nonatomic) IBOutlet UILabel *lbContent; + +@end diff --git a/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/ChatInfoTableViewCell.m b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/ChatInfoTableViewCell.m new file mode 100644 index 00000000..ad8ef5b2 --- /dev/null +++ b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/ChatInfoTableViewCell.m @@ -0,0 +1,37 @@ +// ---------------------------------------------------------------------- +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. +// All rights reserved. +// +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) +// +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. +// ---------------------------------------------------------------------- +// +// ChatInfoTableViewCell.m +// MibileIMSDK4iDemo_X (A demo for MobileIMSDK v3.0 at Summer 2017) +// +// Created by JackJiang on 15/2/15. +// Copyright (c) 2017年 52im.net. All rights reserved. +// + +#import "ChatInfoTableViewCell.h" + +@implementation ChatInfoTableViewCell + +- (void)awakeFromNib { + // Initialization code +} + +- (void)setSelected:(BOOL)selected animated:(BOOL)animated { + [super setSelected:selected animated:animated]; + + // Configure the view for the selected state +} + +@end diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/ChatInfoTableViewCell.xib b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/ChatInfoTableViewCell.xib similarity index 100% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/ChatInfoTableViewCell.xib rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/ChatInfoTableViewCell.xib diff --git a/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/ChatInfoTableViewCellDTO.h b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/ChatInfoTableViewCellDTO.h new file mode 100644 index 00000000..c242c6b6 --- /dev/null +++ b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/ChatInfoTableViewCellDTO.h @@ -0,0 +1,30 @@ +// ---------------------------------------------------------------------- +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. +// All rights reserved. +// +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) +// +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. +// ---------------------------------------------------------------------- +// +// ChatInfoTableViewCellDTO.h +// MibileIMSDK4iDemo_X (A demo for MobileIMSDK v3.0 at Summer 2017) +// +// Created by JackJiang on 15/2/15. +// Copyright (c) 2017年 52im.net. All rights reserved. +// + +#import + +@interface ChatInfoTableViewCellDTO : NSObject + +@property (nonatomic, assign) NSInteger colorType; +@property (nonatomic, retain) NSString *content; + +@end diff --git a/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/ChatInfoTableViewCellDTO.m b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/ChatInfoTableViewCellDTO.m new file mode 100644 index 00000000..2f667109 --- /dev/null +++ b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/ChatInfoTableViewCellDTO.m @@ -0,0 +1,27 @@ +// ---------------------------------------------------------------------- +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. +// All rights reserved. +// +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) +// +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. +// ---------------------------------------------------------------------- +// +// ChatInfoTableViewCellDTO.m +// MibileIMSDK4iDemo_X (A demo for MobileIMSDK v3.0 at Summer 2017) +// +// Created by JackJiang on 15/2/15. +// Copyright (c) 2017年 52im.net. All rights reserved. +// + +#import "ChatInfoTableViewCellDTO.h" + +@implementation ChatInfoTableViewCellDTO + +@end diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/IMClientManager.h b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/IMClientManager.h old mode 100755 new mode 100644 similarity index 55% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/IMClientManager.h rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/IMClientManager.h index a205bf2b..5c1d6cbd --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/IMClientManager.h +++ b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/IMClientManager.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // IMClientManager.h -// MobileIMSDK4iDemo +// MibileIMSDK4iDemo_X (A demo for MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 15/11/8. -// Copyright © 2015年 openmob.net. All rights reserved. +// Copyright © 2017年 52im.net. All rights reserved. // #import diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/IMClientManager.m b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/IMClientManager.m old mode 100755 new mode 100644 similarity index 82% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/IMClientManager.m rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/IMClientManager.m index 05c32241..df7669fb --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/IMClientManager.m +++ b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/IMClientManager.m @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // IMClientManager.m -// MobileIMSDK4iDemo +// MibileIMSDK4iDemo_X (A demo for MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 15/11/8. -// Copyright © 2015年 openmob.net. All rights reserved. +// Copyright © 2017年 52im.net. All rights reserved. // #import "IMClientManager.h" diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Images-3.xcassets/AppIcon.appiconset/Contents.json b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Images-3.xcassets/AppIcon.appiconset/Contents.json old mode 100755 new mode 100644 similarity index 84% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Images-3.xcassets/AppIcon.appiconset/Contents.json rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Images-3.xcassets/AppIcon.appiconset/Contents.json index 6a09f22e..440b264b --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Images-3.xcassets/AppIcon.appiconset/Contents.json +++ b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Images-3.xcassets/AppIcon.appiconset/Contents.json @@ -1,5 +1,15 @@ { "images" : [ + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "3x" + }, { "size" : "29x29", "idiom" : "iphone", diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Images-3.xcassets/AppIcon.appiconset/Icon-60@2x .png b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Images-3.xcassets/AppIcon.appiconset/Icon-60@2x .png similarity index 100% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Images-3.xcassets/AppIcon.appiconset/Icon-60@2x .png rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Images-3.xcassets/AppIcon.appiconset/Icon-60@2x .png diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Images-3.xcassets/AppIcon.appiconset/Icon.png b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Images-3.xcassets/AppIcon.appiconset/Icon.png similarity index 100% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Images-3.xcassets/AppIcon.appiconset/Icon.png rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Images-3.xcassets/AppIcon.appiconset/Icon.png diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Images-3.xcassets/AppIcon.appiconset/Icon@2x.png b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Images-3.xcassets/AppIcon.appiconset/Icon@2x.png similarity index 100% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Images-3.xcassets/AppIcon.appiconset/Icon@2x.png rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Images-3.xcassets/AppIcon.appiconset/Icon@2x.png diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Images-3.xcassets/Contents.json b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Images-3.xcassets/Contents.json similarity index 100% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Images-3.xcassets/Contents.json rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Images-3.xcassets/Contents.json diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Images-3.xcassets/LaunchImage-1.launchimage/Contents.json b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Images-3.xcassets/LaunchImage-1.launchimage/Contents.json similarity index 100% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Images-3.xcassets/LaunchImage-1.launchimage/Contents.json rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Images-3.xcassets/LaunchImage-1.launchimage/Contents.json diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Images-3.xcassets/LaunchImage-1.launchimage/Default-568h@2x.png b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Images-3.xcassets/LaunchImage-1.launchimage/Default-568h@2x.png similarity index 100% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Images-3.xcassets/LaunchImage-1.launchimage/Default-568h@2x.png rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Images-3.xcassets/LaunchImage-1.launchimage/Default-568h@2x.png diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Images-3.xcassets/LaunchImage-1.launchimage/Default-640-960.png b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Images-3.xcassets/LaunchImage-1.launchimage/Default-640-960.png similarity index 100% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Images-3.xcassets/LaunchImage-1.launchimage/Default-640-960.png rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Images-3.xcassets/LaunchImage-1.launchimage/Default-640-960.png diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Images-3.xcassets/LaunchImage-1.launchimage/lauch_image-320-480.png b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Images-3.xcassets/LaunchImage-1.launchimage/lauch_image-320-480.png similarity index 100% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Images-3.xcassets/LaunchImage-1.launchimage/lauch_image-320-480.png rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Images-3.xcassets/LaunchImage-1.launchimage/lauch_image-320-480.png diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Info.plist b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Info.plist old mode 100755 new mode 100644 similarity index 86% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Info.plist rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Info.plist index a5690360..49fe6a77 --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/Info.plist +++ b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/Info.plist @@ -4,6 +4,8 @@ CFBundleDevelopmentRegion en + CFBundleDisplayName + MobileIMSDKDemoX CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIcons @@ -11,7 +13,7 @@ CFBundleIcons~ipad CFBundleIdentifier - net.openmob.$(PRODUCT_NAME:rfc1034identifier) + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName @@ -19,11 +21,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 2.1.6 + 3.0 CFBundleSignature ???? CFBundleVersion - b151211.1 + b170620.1 LSRequiresIPhoneOS UILaunchStoryboardName diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/LoginViewController.h b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/LoginViewController.h old mode 100755 new mode 100644 similarity index 57% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/LoginViewController.h rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/LoginViewController.h index c401fa6c..fe9c5895 --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/LoginViewController.h +++ b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/LoginViewController.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // LoginViewController.h -// MobileIMSDK4iDemo +// MibileIMSDK4iDemo_X (A demo for MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 15/11/8. -// Copyright © 2015年 openmob.net. All rights reserved. +// Copyright © 2017年 52im.net. All rights reserved. // #import diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/LoginViewController.m b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/LoginViewController.m old mode 100755 new mode 100644 similarity index 78% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/LoginViewController.m rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/LoginViewController.m index 819ac561..29582d2b --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/LoginViewController.m +++ b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/LoginViewController.m @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // LoginViewController.m -// MobileIMSDK4iDemo +// MibileIMSDK4iDemo_X (A demo for MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 15/11/8. -// Copyright © 2015年 openmob.net. All rights reserved. +// Copyright © 2017年 52im.net. All rights reserved. // #import "LoginViewController.h" @@ -64,7 +69,7 @@ - (void)initForGUI { // 设置顶部导航标题栏为不透明,否则在ios7以上系统会挡住下方的页面内容 self.navigationController.navigationBar.translucent = NO; - self.title = @"MobileIMSDK Demo登陆"; + self.title = @"MobileIMSDK_X Demo登陆"; // 显示Demo程序的版本号 NSBundle *mainBundle = [NSBundle mainBundle]; @@ -97,7 +102,11 @@ - (void)initForLogin // 登陆成功 if(code == 0) { - //** 提示:登陆MobileIMSDK服务器成功后的事情在此实现即可 + // TODO 提示:登陆MobileIMSDK服务器成功后的事情在此实现即可 + // TODO 提示:登陆MobileIMSDK服务器成功后的事情在此实现即可 + // TODO 提示:登陆MobileIMSDK服务器成功后的事情在此实现即可 + // TODO 提示:登陆MobileIMSDK服务器成功后的事情在此实现即可 + // TODO 提示:登陆MobileIMSDK服务器成功后的事情在此实现即可 // 进入主界面 [CurAppDelegate switchToMainViewController]; @@ -112,6 +121,10 @@ - (void)initForLogin otherButtonTitles:nil] show]; } + + //## try to bug FIX ! 20160810:此observer本身执行完成才设置为nil,解决之前过早被nil而导致有时怎么也无法跳过登陆界面的问题 + // * 取消设置好服务端反馈的登陆结果观察者(当客户端收到服务端反馈过来的登陆消息时将被通知)【1】 + [[[IMClientManager sharedInstance] getBaseEventListener] setLoginOkForLaunchObserver:nil]; }; } @@ -147,35 +160,35 @@ - (void)doLogin } //** 登陆名和密码 - NSString *loginNameStr = self.loginName.text; - if ([loginNameStr length] == 0) + NSString *loginUserIdStr = self.loginName.text; + if ([loginUserIdStr length] == 0) { [self E_showToastInfo:@"提示" withContent:@"请输入登陆名!" onParent:self.view]; return; } - NSString *loginPswStr = self.loginPsw.text; - if ([loginPswStr length] == 0) + NSString *loginTokenStr = self.loginPsw.text; + if ([loginTokenStr length] == 0) { [self E_showToastInfo:@"提示" withContent:@"请输入登密码!" onParent:self.view]; return; } //** 向服务端发送登陆信息 - [self doLoginImpl:loginNameStr withPassword:loginPswStr]; + [self doLoginImpl:loginUserIdStr withToken:loginTokenStr]; } /* * 真正的登陆信息发送实现方法。 */ -- (void)doLoginImpl:(NSString *)loginNameStr withPassword:(NSString *)loginPswStr +- (void)doLoginImpl:(NSString *)loginUserIdStr withToken:(NSString *)loginTokenStr { // * 立即显示登陆处理进度提示(并将同时启动超时检查线程) [self.onLoginProgress showProgressing:YES onParent:self.view]; - // * 设置好服务端反馈的登陆结果观察者(当客户端收到服务端反馈过来的登陆消息时将被通知) + // * 设置好服务端反馈的登陆结果观察者(当客户端收到服务端反馈过来的登陆消息时将被通知)【2】 [[[IMClientManager sharedInstance] getBaseEventListener] setLoginOkForLaunchObserver:self.onLoginSucessObserver]; // * 发送登陆数据包(提交登陆名和密码) - int code = [[LocalUDPDataSender sharedInstance] sendLogin:loginNameStr withPassword:loginPswStr]; + int code = [[LocalUDPDataSender sharedInstance] sendLogin:loginUserIdStr withToken:loginTokenStr]; if(code == COMMON_CODE_OK) { [self E_showToastInfo:@"提示" withContent:@"登陆请求已发出。。。" onParent:self.view]; diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/LoginViewController.xib b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/LoginViewController.xib old mode 100755 new mode 100644 similarity index 91% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/LoginViewController.xib rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/LoginViewController.xib index 917f8cdc..6de9c137 --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/LoginViewController.xib +++ b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/LoginViewController.xib @@ -24,10 +24,11 @@ - - + + + - + @@ -77,7 +78,7 @@ - - - - @@ -111,15 +108,13 @@ - - - + diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/MainViewController.h b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/MainViewController.h old mode 100755 new mode 100644 similarity index 64% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/MainViewController.h rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/MainViewController.h index cf5f3b2b..f69b261c --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/MainViewController.h +++ b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/MainViewController.h @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // ViewController.h -// RainbowCore4i +// MibileIMSDK4iDemo_X (A demo for MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/21. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import @@ -20,8 +25,10 @@ @interface MainViewController : UIViewController -/** 服务端分配给我的id(登陆成功后) */ -@property (weak, nonatomic) IBOutlet UILabel *myId; +/** 通信状态显示 */ +@property (weak, nonatomic) IBOutlet UILabel *connectStatus; +/** 我的登陆账号 */ +@property (weak, nonatomic) IBOutlet UILabel *myUserId; /** 要发送消息的对方id */ @property (weak, nonatomic) IBOutlet UITextField *friendId; @@ -55,7 +62,7 @@ * * @param myid */ -- (void) refreshMyid; +- (void) refreshConnecteStatus; - (void) showIMInfo_black:(NSString*)txt; - (void) showIMInfo_blue:(NSString*)txt; diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/MainViewController.m b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/MainViewController.m old mode 100755 new mode 100644 similarity index 92% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/MainViewController.m rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/MainViewController.m index 650e3b18..3f90d82b --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/MainViewController.m +++ b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/MainViewController.m @@ -1,18 +1,23 @@ // ---------------------------------------------------------------------- -// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project. +// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang. +// The MobileIMSDK_X (MobileIMSDK v3.x) Project. // All rights reserved. -// Project URL: https://github.com/JackJiang2011/MobileIMSDK // -// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +// > Github地址: https://github.com/JackJiang2011/MobileIMSDK +// > 文档地址: http://www.52im.net/forum-89-1.html +// > 即时通讯技术社区:http://www.52im.net/ +// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html) // -// You can contact author with jack.jiang@openmob.net or jb2011@163.com. +// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 +// +// 如需联系作者,请发邮件至 jack.jiang@52im.net 或 jb2011@163.com. // ---------------------------------------------------------------------- // // ViewController.m -// RainbowCore4i +// MibileIMSDK4iDemo_X (A demo for MobileIMSDK v3.0 at Summer 2017) // // Created by JackJiang on 14/10/21. -// Copyright (c) 2014年 openmob.net. All rights reserved. +// Copyright (c) 2017年 52im.net. All rights reserved. // #import "MainViewController.h" @@ -82,7 +87,7 @@ - (void)viewDidLoad // 设置顶部导航标题栏为不透明,否则在ios7以上系统会挡住下方的页面内容 self.navigationController.navigationBar.translucent = NO; - self.title = @"MobileIMSDK Demo"; + self.title = @"MobileIMSDK_X Demo"; // chat info time hhmmssFormat = [[NSDateFormatter alloc] init]; @@ -108,12 +113,15 @@ -(void)viewWillAppear:(BOOL)animated [super viewWillAppear:animated]; // Refresh MobileIMSDK userId to show - [self refreshMyid]; + [self refreshConnecteStatus]; // just for debug START // Refresh MobileIMSDK background status to show [self refreshMobileIKSDKThreadStatusForDEBUG]; // just for debug END + + // 将当前账号显示出来 + self.myUserId.text = [ClientCoreSDK sharedInstance].currentLoginUserId; } - (IBAction)signOut:(id)sender @@ -129,10 +137,10 @@ - (IBAction)send:(id)sender [self doSendMessage]; } -- (void) refreshMyid +- (void) refreshConnecteStatus { - int myLocalId = [ClientCoreSDK sharedInstance].currentUserId; - self.myId.text = (myLocalId == -1 ? @"连接断开" : [NSString stringWithFormat:@"%d", myLocalId]); + BOOL connectedToServer = [ClientCoreSDK sharedInstance].connectedToServer; + self.connectStatus.text = (connectedToServer ? @"通信正常" : @"连接断开"); } - (void)doSendMessage @@ -155,7 +163,7 @@ - (void)doSendMessage [self showIMInfo_black:[NSString stringWithFormat:@"我对%@说:%@", friendIdStr, dicStr]]; // 发送消息 - int code = [[LocalUDPDataSender sharedInstance] sendCommonDataWithStr:dicStr toUserId:[friendIdStr intValue] qos:YES fp:nil]; + int code = [[LocalUDPDataSender sharedInstance] sendCommonDataWithStr:dicStr toUserId:friendIdStr qos:YES fp:nil withTypeu:-1]; if(code == COMMON_CODE_OK) { // [self showToastInfo:@"提示" withContent:@"您的消息已成功发出。。。"]; @@ -174,7 +182,7 @@ - (void)doLogout if(code == COMMON_CODE_OK) { [self E_showToastInfo:@"提示" withContent:@"注销登陆请求已完成。。。" onParent:self.view]; - [self refreshMyid]; + [self refreshConnecteStatus]; } else { diff --git a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/MainViewController.xib b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/MainViewController.xib old mode 100755 new mode 100644 similarity index 74% rename from src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/MainViewController.xib rename to src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/MainViewController.xib index c8316aea..8370d1ee --- a/src_all/demos/MobileIMSDK4iDemo/MobileIMSDK4iDemo/MainViewController.xib +++ b/src_all/demos/MobileIMSDK4iDemo_x/MobileIMSDK4iDemo/MainViewController.xib @@ -11,13 +11,14 @@ + - + @@ -27,25 +28,39 @@ - - + + -