52ky 发表于 2022-6-16 11:17:53

Smack类库详细介绍.pdf

Smack 类库详细介绍
Smack 是一个使用 XMPP 服务器进行聊天和即时消息交换的库。 Smack 的主要优点:
简单易用且功能强大的 API。只需三行代码即可向用户发送文本消息 XMPPConnection connection = new XMPPConnection(“jabber.org”);
connection.login("mtucker" , "password");
connection.createChat(“jsmith@jivesoftware.com”).sendMessage(“你好!”);

(Detailed introduction to smack class library
Smack is a library for chat and instant message exchange using XMPP server. Smack's key benefits:
An easy-to-use and powerful API. Only three lines of code are required to send a text message xmppconnection connection = new xmppconnection ("jabber.org");
connection. login("mtucker" , "password");
connection. createChat(“ jsmith@jivesoftware.com ”). SendMessage ("Hello!");)




页: [1]
查看完整版本: Smack类库详细介绍.pdf