Hi!

On Thu, Aug 6, 2009 at 12:30, Bernd
Fondermann<bernd.fonderm...@googlemail.com> wrote:
> As a lazy guy, who doesn't want to look into how smack-pubsub works
> ATM, please tell me, what's this lib doing /beyond/ supporting the
> creation of pubsub stanzas?

It gives a nice interface to most of the features without the need to
deal with XML directly. A few examples:

Want to create a node?
pubsubManager.createNode("NodeName");

Want to subscribe?
node.subscribe("j...@domain");

Want to get all your subscriptions (on a server)?
pubsubManager.getSubscriptions();

Affiliations?
pubsubManager.getAffiliations();

etc.

These things seem to work properly now. Maybe I mixed unmatching smack
and smackx versions in my previous example, or I simply fixed a bug.
Anyway the extension works like a charm.

Cheers,
Michael "learning Swing right now" J.

Reply via email to