
AnyEvent::XMPP::Ext::Pubsub - Implements XEP-0060: Publish-Subscribe

my $con = AnyEvent::XMPP::Connection->new (...); $con->add_extension (my $ps = AnyEvent::XMPP::Ext::Pubsub->new); ...

This module implements all tasks of handling the publish subscribe mechanism. (partially implemented)

This is the constructor for a pubsub object. It takes no further arguments.
$con is the connection already established, $uri is the name of the node to be created $cb is the callbackTry to remove a node.
$con is the connection already established, $uri is the name of the node to be created $cb is the callbackTry to create a node.
$con is the connection already established, $uri is the name of the node to be created $cb is the callbackTry to retrieve items.
$con is the connection already established, $uri is the name of the node to be created $cb is the callbackTry to unsubscribe from a node.
$con is the connection already established, $uri is the name of the node to be created $create_cb is the callback $cb is the callbackTry to publish an item.
$con is the connection already established, $uri is the name of the node to be created $cb is the callbackTry to retrieve items.
$con is the connection already established, $uri is the name of the node to be created $id is the id of the entry to be retrieved $cb is the cbTry to retrieve item.

Robin Redeker, <elmex at ta-sa.org>, JID: <elmex at jabber.org>

Chris Miceli - additional work on the pubsub extension

Copyright 2007, 2008 Robin Redeker, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.