1AnyEvent::XMPP::Ext::PuUbsseurb(C3o)ntributed Perl DocumAennytEavteinotn::XMPP::Ext::Pubsub(3)
2
3
4

NAME

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

SYNOPSIS

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

DESCRIPTION

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

METHODS

18       new This is the constructor for a pubsub object.  It takes no further
19           arguments.
20
21       delete_node($con, $uri, $cb) $con is the connection already
22       established, $uri is the name of the node to be created $cb is the
23       callback
24           Try to remove a node.
25
26       create_node ($con, $uri, $cb) $con is the connection already
27       established, $uri is the name of the node to be created $cb is the
28       callback
29           Try to create a node.
30
31       subscribe_node($con, $uri, $cb) $con is the connection already
32       established, $uri is the name of the node to be created $cb is the
33       callback
34           Try to retrieve items.
35
36       unsubscribe_node($con, $uri, $bc)> $con is the connection already
37       established, $uri is the name of the node to be created $cb is the
38       callback
39           Try to unsubscribe from a node.
40
41       publish_item($con, $uri, $create_cb, $cb) $con is the connection
42       already established, $uri is the name of the node to be created
43       $create_cb is the callback $cb is the callback
44           Try to publish an item.
45
46       retrive_items($con, $uri, $cb) $con is the connection already
47       established, $uri is the name of the node to be created $cb is the
48       callback
49           Try to retrieve items.
50
51       retrive_item($con, $uri, $id, $cb) $con is the connection already
52       established, $uri is the name of the node to be created $id is the id
53       of the entry to be retrieved $cb is the cb
54           Try to retrieve item.
55

AUTHOR

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

CONTRIBUTORS

60       Chris Miceli - additional work on the pubsub extension
61
63       Copyright 2007, 2008 Robin Redeker, all rights reserved.
64
65       This program is free software; you can redistribute it and/or modify it
66       under the same terms as Perl itself.
67
68
69
70perl v5.30.1                      2020-01-29    AnyEvent::XMPP::Ext::Pubsub(3)
Impressum