1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Smack 4.1.1 发布,XMPP 开发包 下载

本帖由 漂亮的石头2015-05-14 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    486,326
    赞:
    46
    Smack 4.1.1 发布,此版本主要修复了一下 Bug:


    • DIGEST-MD5 challenge/response parsing must handle linear white spaces after the comma


    • SynchronizationPoint should use signalAll


    • Integer overflow if both client and server don't specify a max resumption time


    • isSmResumptionPossible() returns wrong values


    • DeliveryReceipts auto add should use packet interceptors and should not be requested for messages with ACKs.


    • Memory leak caused by RosterEntry declaring a strong reference to XMPPConnection


    • ReconnectionManager's RANDOM_INCREASING_DELAY is erroneously using a fixed value.


    • Add method to set ProxyInfo in ConnectionConfiguration.Builder


    • RosterEntry.setName() does not change the name

    详细信息请查看更新日志

    此版本现已提供下载

    Smack是一个开源,易于使用的XMPP(jabber)的 Java 客户端类库。

    示例代码:

    // 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);
    co
    Smack 4.1.1 发布,XMPP 开发包下载地址
     
正在加载...