使用 ejabberd 16 和 XMPP 的聊天应用 Android
Chat App Android using ejabberd 16 and XMPP
谁能详细告诉我以下方法的具体用途是什么?
XMPPTCPConnection.setUseStreamManagementDefault(false);
XMPPTCPConnection.setUseStreamManagementResumptiodDefault(false);
XMPPTCPConnection.setUseStreamManagementResumption(false);
我希望用户在失去互联网连接时下线。
我在服务器上实现了 mod_ping 如下
[{send_pings, true}, {ping_interval, 2},
{ping_ack_timeout, 2},
{timeout_action, kill}]
XMPPTCPConnection.setUseStreamManagementDefault(false);
// Set if Stream Management should be used by default for new connections.
XMPPTCPConnection.setUseStreamManagementResumptiodDefault(false);
// Set if Stream Management resumption should be used by default for new connections.
XMPPTCPConnection.setUseStreamManagementResumption(false);
// Set if Stream Management resumption should be used if supported by the server.
查看更多详情here
谁能详细告诉我以下方法的具体用途是什么?
XMPPTCPConnection.setUseStreamManagementDefault(false);
XMPPTCPConnection.setUseStreamManagementResumptiodDefault(false);
XMPPTCPConnection.setUseStreamManagementResumption(false);
我希望用户在失去互联网连接时下线。
我在服务器上实现了 mod_ping 如下
[{send_pings, true}, {ping_interval, 2},
{ping_ack_timeout, 2},
{timeout_action, kill}]
XMPPTCPConnection.setUseStreamManagementDefault(false);
// Set if Stream Management should be used by default for new connections.
XMPPTCPConnection.setUseStreamManagementResumptiodDefault(false);
// Set if Stream Management resumption should be used by default for new connections.
XMPPTCPConnection.setUseStreamManagementResumption(false);
// Set if Stream Management resumption should be used if supported by the server.
查看更多详情here