Java的XMPP開發包,Smack 4.1.4 發布
Smack是一個開源的XMPP (Jabber)客戶端庫用于收發即時消息。一個純Java庫,它可以嵌入到你的應用程序創建一個完整的XMPP客戶端。例如發送通知消息。
// Create a connection to the jabber.org server. Connection conn1 = new XMPPConnection("jabber.org"); conn1.connect();// Create a connection to the jabber.org server on a specific port. ConnectionConfiguration config = new ConnectionConfiguration("jabber.org", 5222); Connection conn2 = new XMPPConnection(config); conn2.connect();</pre>
The Ignite Realtime community is proud to announce the availability of Smack 4.1.4. This release includes some important fixes. Most notably MultiUserChat's UserStatusListener would not always get triggered in previous releases. Also the JOSN/GCM provider did not correctly parse JSON/GCM extensions. Smack 4.1.4 includes fixes for those and addresses a few other bugs. Since it is a patch level release, Smack 4.1.4 can be used as drop-in replacement for any previous version of Smack 4.1. Users are encouraged to update existing projects depending on Smack.
This is also a friendly reminder that Smack 3 has critical security vulnerabilities. Please check if you are affected by those if you are still using Smack 3 and update as soon as possible.
</div> 來自:https://community.igniterealtime.org/blogs/ignite/2015/09/14/smack-414-released
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!相關資訊
相關經驗