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


Manual Reference Pages  -  ANYEVENT::XMPP::EXT::PUBSUB (3)

.ds Aq ’

NAME

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

CONTENTS

SYNOPSIS



   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

<B>newB> This is the constructor for a pubsub object. It takes no further arguments.
<B>delete_node($con, B>$uri<B>, B>$cb<B>)B> $con is the connection already established, $uri is the name of the node to be created $cb is the callback Try to remove a node.
<B>create_node ($con, B>$uri<B>, B>$cb<B>)B> $con is the connection already established, $uri is the name of the node to be created $cb is the callback Try to create a node.
<B>subscribe_node($con, B>$uri<B>, B>$cb<B>)B> $con is the connection already established, $uri is the name of the node to be created $cb is the callback Try to retrieve items.
<B>unsubscribe_nodeB>($con, $uri, $bc)> $con is the connection already established, $uri is the name of the node to be created $cb is the callback Try to unsubscribe from a node.
<B>publish_item($con, B>$uri<B>, B>$create_cb<B>, B>$cb<B>)B> $con is the connection already established, $uri is the name of the node to be created $create_cb is the callback $cb is the callback Try to publish an item.
<B>retrive_items($con, B>$uri<B>, B>$cb<B>)B> $con is the connection already established, $uri is the name of the node to be created $cb is the callback Try to retrieve items.
<B>retrive_item($con, B>$uri<B>, B>$id<B>, B>$cb<B>)B> $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 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 extension

COPYRIGHT & 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.

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


perl v5.20.3 ANYEVENT::XMPP::EXT::PUBSUB (3) 2012-12-25

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