GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::XMPP2::Ext::Pubsub(3) User Contributed Perl Documentation Net::XMPP2::Ext::Pubsub(3)

Net::XMPP2::Ext::Pubsub - Implements XEP-0060: Publish-Subscribe

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

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

new
This is the constructor for a pubsub object. It takes no further arguments.
delete_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 remove a node.
create_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 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.
publish_item($con, $node, $create_cb, $bc) $con is the connection already established, $node is the name of the node to be created $create_cb is the callback $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.

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

Chris Miceli - additional work on the pubsub extension

Copyright 2007 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.

2008-08-01 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.