Uploaded image for project: 'Smack'
  1. Smack
  2. SMACK-254

Offer an alternative to loading the Roster on login

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: Core
    • Labels:
      None

      Description

      Currently, Smack requests the roster as part of the login() method. This often is convenient, but is annoying if a more light-weight connection is required.

      We, for example, use Smack for automated tests which run frequently. Most of the tests have no need for the roster. Retrieving the roster for every login causes useless overhead for those tests.

      An additional login() method that does not "pre-load" the roster would solve our issue. The roster should be loaded during the first call to getRoster() if it wasn't pre-loaded.

        Attachments

          Activity

            People

            Assignee:
            gaston Gaston Dombiak
            Reporter:
            guus Guus der Kinderen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: