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
$uri
$cb
Try to remove a node.
Try to create a node.
Try to retrieve items.
Try to unsubscribe from a node.
$create_cb
Try to publish an item.
$id
Try to retrieve item.
Robin Redeker, <elmex at ta-sa.org>, JID: <elmex at jabber.org>
<elmex at ta-sa.org>
<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.
To install AnyEvent::XMPP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AnyEvent::XMPP
CPAN shell
perl -MCPAN -e shell install AnyEvent::XMPP
For more information on module installation, please visit the detailed CPAN module installation guide.