1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-10 17:49:38 +02:00

Added XEP-199 aka. "XMPP Ping" support to smack. Fixes SMACK-388.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13384 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Florian Schmaus 2013-01-04 11:43:35 +00:00 committed by flow
parent 9cd16fe3dd
commit 8c14f0cb55
10 changed files with 665 additions and 4 deletions

View file

@ -30,5 +30,8 @@
<!-- Port of the local Socks5 proxy -->
<packetCollectorSize>10000</packetCollectorSize>
<!-- Default interval in which the Ping Manager sends ping request to the server (30 minutes) -->
<defaultPingInterval>1800000</defaultPingInterval>
</smack>

View file

@ -237,6 +237,13 @@
<className>org.jivesoftware.smackx.provider.AdHocCommandDataProvider</className>
</iqProvider>
<!-- Ping (XEP-199) Manager -->
<iqProvider>
<elementName>ping</elementName>
<namespace>urn:xmpp:ping</namespace>
<className>org.jivesoftware.smackx.provider.PingProvider</className>
</iqProvider>
<extensionProvider>
<elementName>bad-action</elementName>
<namespace>http://jabber.org/protocol/commands</namespace>