mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-02 14:55:58 +01:00
5c6f257027
Use ScheduledExecutorService. Set ping received when pinging another entity. Refactored PacketListener and ConnectionListeners as anonymous inner-classes git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13531 b35dd754-fafc-0310-a699-88a17e54d16e
37 lines
1.6 KiB
XML
37 lines
1.6 KiB
XML
<?xml version="1.0"?>
|
|
<!-- Smack configuration file. -->
|
|
<smack>
|
|
|
|
<!-- Classes that will be loaded when Smack starts -->
|
|
<startupClasses>
|
|
<className>org.jivesoftware.smackx.ServiceDiscoveryManager</className>
|
|
<className>org.jivesoftware.smack.PrivacyListManager</className>
|
|
<className>org.jivesoftware.smackx.XHTMLManager</className>
|
|
<className>org.jivesoftware.smackx.muc.MultiUserChat</className>
|
|
<className>org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamManager</className>
|
|
<className>org.jivesoftware.smackx.bytestreams.socks5.Socks5BytestreamManager</className>
|
|
<className>org.jivesoftware.smackx.filetransfer.FileTransferManager</className>
|
|
<className>org.jivesoftware.smackx.LastActivityManager</className>
|
|
<className>org.jivesoftware.smack.ReconnectionManager</className>
|
|
<className>org.jivesoftware.smackx.commands.AdHocCommandManager</className>
|
|
</startupClasses>
|
|
|
|
<!-- Packet reply timeout in milliseconds -->
|
|
<packetReplyTimeout>5000</packetReplyTimeout>
|
|
|
|
<!-- Keep-alive interval in milliseconds -->
|
|
<keepAliveInterval>30000</keepAliveInterval>
|
|
|
|
<!-- Enable/Disable local Socks5 proxy -->
|
|
<localSocks5ProxyEnabled>true</localSocks5ProxyEnabled>
|
|
|
|
<!-- Port of the local Socks5 proxy -->
|
|
<localSocks5ProxyPort>7777</localSocks5ProxyPort>
|
|
|
|
<!-- Port of the local Socks5 proxy -->
|
|
<packetCollectorSize>10000</packetCollectorSize>
|
|
|
|
<!-- Default interval (seconds) in which the Ping Manager sends ping request to the server (30 minutes) -->
|
|
<defaultPingInterval>1800</defaultPingInterval>
|
|
|
|
</smack>
|