1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-22 10:37:59 +01:00
No description
Find a file
Florian Schmaus 3582de0654 Fix initializing clientHandledStanzasCount
From XEP-198: Stream Management § 4. Acks:

"""
Note: There are two values of 'h' for any given stream: one maintained
by the client to keep track of stanzas it has handled from the server,
and one maintained by the server to keep track of stanzas it has handled
from the client. The client initializes its value to zero when it sends
<enable/> to the server, and the server initializes its value to zero
when it sends <enabled/> to the client (it is expected that the server
will respond immediately to <enable/> and set its counter to zero at
that time).
"""

Previously smack initialized both to 0 just before sending enabled. But
according to the note from XEP-198 the server's counter is initialized
by the server "when it sends <enabled/> to the client, so we need to set
clientHandledStanzasCount to 0 when we receive <enabled/>. Because the
server started counted right after he send <enabled/>.

Thanks to Kim "zash" Alvefur for pointing this out.
2015-01-15 18:36:08 +01:00
config Enable more 'checkstyle' checks 2014-08-15 23:17:45 +02:00
documentation Don't append closing body in XHTMLText.toString() 2015-01-07 15:00:28 +01:00
resources Smack 4.0.6 2014-11-23 20:05:44 +01:00
smack-android Enable OSGi compliance via 'DynamicImport-Package: *' 2015-01-03 13:14:02 +01:00
smack-android-extensions Don't use synchonrizedMap() for INSTANCES 2014-12-27 20:55:30 +01:00
smack-bosh Rename IQ.ELEMENT to IQ.IQ_ELEMENT 2015-01-11 21:54:46 +01:00
smack-compression-jzlib Make compressionMethod final in XMPPInputOutputStream 2014-12-19 11:15:01 +01:00
smack-core Mark (add|remove)PacketListener deprecated 2015-01-14 17:32:52 +01:00
smack-debug Rework incoming packet listeners and Roster 2015-01-07 14:35:23 +01:00
smack-debug-slf4j Add 'resumed' bool ConnectionListener's authenticated() 2015-01-07 21:11:09 +01:00
smack-experimental Add ServiceDiscoveryManager.serverSupportsFeature() 2015-01-10 19:36:33 +01:00
smack-extensions Add MultiUserChat.requestVoice() 2015-01-13 13:31:45 +01:00
smack-java7 Enable OSGi compliance via 'DynamicImport-Package: *' 2015-01-03 13:14:02 +01:00
smack-jingle-old Add and use AbstractConnectionClosedListener 2015-01-07 20:11:00 +01:00
smack-legacy Make DataForm type an enum 2015-01-10 20:10:46 +01:00
smack-resolver-dnsjava Enable OSGi compliance via 'DynamicImport-Package: *' 2015-01-03 13:14:02 +01:00
smack-resolver-javax Enable OSGi compliance via 'DynamicImport-Package: *' 2015-01-03 13:14:02 +01:00
smack-resolver-minidns Enable OSGi compliance via 'DynamicImport-Package: *' 2015-01-03 13:14:02 +01:00
smack-sasl-javax Enable OSGi compliance via 'DynamicImport-Package: *' 2015-01-03 13:14:02 +01:00
smack-sasl-provided Fix SASL EXTERNAL with client cert provided JID 2015-01-13 13:31:30 +01:00
smack-tcp Fix initializing clientHandledStanzasCount 2015-01-15 18:36:08 +01:00
.gitignore Add IntelliJ and Mac OS X files to gitignore 2014-11-01 12:52:19 +01:00
.travis.yml Travis CI: Use Android builder 2014-10-08 16:01:19 +02:00
build.gradle Enable OSGi compliance via 'DynamicImport-Package: *' 2015-01-03 13:14:02 +01:00
LICENSE Add LICENSE 2014-12-27 13:36:27 +01:00
README.md Fix typos in README.md 2014-10-19 11:51:53 +02:00
settings.gradle Add ServerPingWithAlarmManager to smack-android 2014-09-22 10:13:33 +02:00
version.gradle Smack 4.1.0-beta2-SNAPSHOT 2015-01-14 09:32:13 +01:00

Smack

Build Status Project Stats Flattr this git repo

About

Smack is an Open Source, cross-platform, easy to use Java XMPP client library.

Smack is an Open Source XMPP (Jabber) client library for instant messaging and presence. A pure Java library, it can be embedded into your applications to create anything from a full XMPP client to simple XMPP integrations such as sending notification messages and presence-enabling devices.

Confused? Have a look at the Overview.

Smack - an Ignite Realtime community project.

Bug Reporting

Only a few users have access for for filling bugs in the tracker. New users should:

  1. Create a forums account (only e-mail is a requirement, you can skip all the other fields).
  2. Login to the forum account
  3. Press New in your toolbar and choose Discussion
  4. Choose the Smack Developers Forum of Smack and add the tag 'bug_report' to your new post

Please search for your issues in the bug tracker before reporting.

Contact

The developers hang around in #smack (freenode, IRC) and open_chat@conference.igniterealtime.org (XMPP MUC room). Remember that it may take some time (~hours) to get a response.

You can also reach us via the Smack Users Forum if you have questions or need support, or the Smack Developers Forum if you want to discuss Smack development.

Resources

Donate

If you find Smack useful and feel like donating, then you can use one of the following systems:

Ignite Realtime

Ignite Realtime is an Open Source community composed of end-users and developers around the world who are interested in applying innovative, open-standards-based Real Time Collaboration to their businesses and organizations. We're aimed at disrupting proprietary, non-open standards-based systems and invite you to participate in what's already one of the biggest and most active Open Source communities.