1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 20:47:57 +01:00
No description
Find a file
Florian Schmaus 874a22489e Remove resource binding out of sasl auth
Follow XEP-170 recommendations: Resource binding *after* compression.

Fixes also a bunch of race conditions related to the wait()/notify()
pattern used in the early stages of a Connection where
createPacketCollectorAndSend(Packet).nextResultOrThrow() can not be
used. Those wait()/notify() patterns are currently
- SASL authentication
- compression
- resource binding

Fixes SMACK-454
2014-04-28 07:58:34 +02:00
bosh Remove resource binding out of sasl auth 2014-04-28 07:58:34 +02:00
compression-jzlib Reworked compression-jzlib and compressionHandlers 2014-03-10 10:20:52 +01:00
config Substitute MXParser with a call to XmlPullParserFactory 2014-02-20 13:48:36 +01:00
core Remove resource binding out of sasl auth 2014-04-28 07:58:34 +02:00
debug Fix or suppress warnings 2014-04-03 23:06:26 +02:00
documentation Add missing HOXT entry in toc.html 2014-04-26 19:19:29 +02:00
experimental Added support for HOXT (XEP-0332) 2014-03-20 12:36:04 +02:00
extensions Move Packet 'properties' from core to extensions 2014-04-26 19:13:27 +02:00
jingle Refactoring: All connection classes begin with XMPP now 2014-04-09 20:03:07 +02:00
legacy Use Locale.US when doing String operations 2014-04-03 22:50:13 +02:00
resolver-dnsjava Use gradle dynamic versioning for dnsjava 2014-03-28 14:46:30 +01:00
resolver-javax Move DNS resolving into connect() 2014-03-19 13:14:03 +01:00
resources Change keyringfile example to real file 2014-04-17 13:47:19 +02:00
tcp Remove resource binding out of sasl auth 2014-04-28 07:58:34 +02:00
.gitignore Migrate from Ant to Gradle (SMACK-265) 2014-02-14 18:46:33 +01:00
build.gradle Smack 4.0.0-rc2-SNAPSHOT 2014-04-22 21:35:54 +02:00
README.md Refactoring: All connection classes begin with XMPP now 2014-04-09 20:03:07 +02:00
settings.gradle Created 'tcp' subproject for TCPConnection 2014-03-01 14:31:34 +01:00

Smack

About

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

Communicate with XMPP servers to perform real-time collaboration, including instant messaging and group chat.

Key Advantages :

  • Extremely simple to use, yet powerful API. Sending a text message to a user can be accomplished in only a few lines of code:

    XMPPConnection connection = new XMPPTCPConnection("jabber.org");
    connection.connect();
    connection.login("mtucker", "password");
    Chat chat = ChatManager.getInstanceFor(connection)
        .createChat("jsmith@jivesoftware.com", new MessageListener() {
    
        public void processMessage(Chat chat, Message message) {
            System.out.println("Received message: " + message);
        }
    });
    chat.sendMessage("Howdy!");
    
  • Doesn't force you to code at the packet level, as other libraries do. Smack provides intelligent higher level constructs such as the Chat and Roster classes, which let you program more efficiently.

  • Does not require that you're familiar with the XMPP XML format, or even that you're familiar with XML.

  • Provides easy machine to machine communication. Smack lets you set any number of properties on each message, including properties that are Java objects.

  • Open Source under the Apache License, which means you can incorporate Smack into your commercial or non-commercial applications.

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.

Smack - an Ignite Realtime community project.

Bug Reporting

Only a few usrs have acces 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 a forum account
  3. Press New in your toolbar and choose Discussion
  4. Choose the Smack Dev 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 developeres hang around in #smack (freenode, IRC). Remeber that it may take some time (~hours) to get a response.

You can also reach us via the Smack Developers Forum.

Resources

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.