ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/Net-XMPP2/lib/Net/XMPP2/Ext/Pubsub.pm
Revision: 1.1
Committed: Tue Jul 24 21:01:06 2007 UTC (19 years, 2 months ago) by elmex
Branch: MAIN
CVS Tags: HEAD
Log Message:
added pubsub file

File Contents

# Content
1 package Net::XMPP2::Ext::Pubsub;
2 use strict;
3 use Net::XMPP2::Util;
4 use Net::XMPP2::Namespaces qw/xmpp_ns/;
5
6 =head1 NAME
7
8 Net::XMPP2::Ext::Pubsub - Implements XEP-0060: Publish-Subscribe
9
10 =head1 SYNOPSIS
11
12 my $con = Net::XMPP2::Connection->new (...);
13 $con->add_extension (my $ps = Net::XMPP2::Ext::Pubsub->new);
14 ...
15
16 =head1 DESCRIPTION
17
18 This module implements all tasks of handling the publish subscribe
19 mechanism. (NOT IMPLEMENTED YET!)
20
21 =cut
22
23 =head1 METHODS
24
25 =over 4
26
27 =item B<new>
28
29 This is the constructor for a pubsub object.
30 It takes no further arguments.
31
32 =cut
33
34 sub new {
35 my $this = shift;
36 my $class = ref($this) || $this;
37 my $self = bless { @_ }, $class;
38 $self->init;
39 $self
40 }
41
42 sub init {
43 my ($self) = @_;
44 }
45
46 =back
47
48 =head1 AUTHOR
49
50 Robin Redeker, C<< <elmex at ta-sa.org> >>, JID: C<< <elmex at jabber.org> >>
51
52 =head1 COPYRIGHT & LICENSE
53
54 Copyright 2007 Robin Redeker, all rights reserved.
55
56 This program is free software; you can redistribute it and/or modify it
57 under the same terms as Perl itself.
58
59 =cut
60
61 1; # End of Net::XMPP2::Ext::Pubsub