mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-10 18:59:41 +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:
parent
9cd16fe3dd
commit
8c14f0cb55
10 changed files with 665 additions and 4 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue