Rechercher une page de manuel
AnyEvent::XMPP::Ext::Pubsub.3pm
Langue: en
Version: 2009-02-12 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
AnyEvent::XMPP::Ext::Pubsub - Implements XEP-0060: Publish-SubscribeSYNOPSIS
my $con = AnyEvent::XMPP::Connection->new (...); $con->add_extension (my $ps = AnyEvent::XMPP::Ext::Pubsub->new); ...
DESCRIPTION
This module implements all tasks of handling the publish subscribe mechanism. (partially implemented)METHODS
- new
- This is the constructor for a pubsub object. It takes no further arguments.
- delete_node($con, $node, $service, $cb) $con is the connection already established, $node is the name of the node to be created $service the pubsub service to use, can be undef $cb is the callback
- Try to remove a node.
- create_node ($con, $node, $service, $cb) $con is the connection already established, $node is the name of the node to be created $service pubsub service, can be undef $cb is the callback
- Try to create a node.
- subscribe_node($con, $node, $cb) $con is the connection already established, $node is the name of the node to be created $cb is the callback
- Try to retrieve items.
- unsubscribe_node($con, $node, $service, $bc)> $con is the connection already established, $node is the name of the node to be created $service is the pubsubservice $cb is the callback
- Try to unsubscribe from a node.
- publish_item($con, $node, $create_cb, $service, $bc) $con is the connection already established, $node is the name of the node to be created $create_cb is the callback $service the pubsub service, can be undef $cb is the callback
- Try to publish an item.
- retrive_items($con, $node, $cb) $con is the connection already established, $node is the name of the node to be created $cb is the callback
- Try to retrieve items.
- retrive_item($con, $node, $id, $cb) $con is the connection already established, $node is the name of the node to be created $id is the id of the entry to be retrieved $cb is the cb
- Try to retrieve item.
AUTHOR
Robin Redeker, "<elmex at ta-sa.org>", JID: "<elmex at jabber.org>"CONTRIBUTORS
Chris Miceli - additional work on the pubsub extensionCOPYRIGHT & LICENSE
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.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre