File Coverage

blib/lib/Net/Jabber/Client.pm
Criterion Covered Total %
statement 18 18 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod n/a
total 24 24 100.0


line stmt bran cond sub pod time code
1             ##############################################################################
2             #
3             # This library is free software; you can redistribute it and/or
4             # modify it under the terms of the GNU Library General Public
5             # License as published by the Free Software Foundation; either
6             # version 2 of the License, or (at your option) any later version.
7             #
8             # This library is distributed in the hope that it will be useful,
9             # but WITHOUT ANY WARRANTY; without even the implied warranty of
10             # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11             # Library General Public License for more details.
12             #
13             # You should have received a copy of the GNU Library General Public
14             # License along with this library; if not, write to the
15             # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16             # Boston, MA 02111-1307, USA.
17             #
18             # Copyright (C) 1998-2004 Jabber Software Foundation http://jabber.org/
19             #
20             ##############################################################################
21              
22             package Net::Jabber::Client;
23              
24             =head1 NAME
25              
26             Net::Jabber::Client - Jabber Client Library
27              
28             =head1 SYNOPSIS
29              
30             Net::Jabber::Client is a module that provides a developer easy access
31             to the Jabber Instant Messaging protocol.
32              
33             =head1 DESCRIPTION
34              
35             Client.pm inherits its methods from Net::XMPP::Client,
36             Net::XMPP::Protocol and Net::Jabber::Protocol. The Protocol modules
37             provide enough high level APIs and automation of the low level APIs
38             that writing a Jabber Client in Perl is trivial. For those that wish
39             to work with the low level you can do that too, but those functions are
40             covered in the documentation for each module.
41              
42             Net::Jabber::Client provides functions to connect to a Jabber server,
43             login, send and receive messages, set personal information, create a
44             new user account, manage the roster, and disconnect. You can use all
45             or none of the functions, there is no requirement.
46              
47             For more information on how the details for how Net::Jabber is written
48             please see the help for Net::Jabber itself.
49              
50             For a full list of high level functions available please see:
51              
52             Net::XMPP::Client
53             Net::XMPP::Protocol
54             Net::Jabber::Protocol
55              
56             =head1 AUTHOR
57              
58             Ryan Eatmon
59              
60             =head1 COPYRIGHT
61              
62             This module is free software; you can redistribute it and/or modify
63             it under the same terms as Perl itself.
64              
65             =cut
66              
67 49     49   327 use strict;
  49         131  
  49         2591  
68 49     49   309 use Carp;
  49         207  
  49         4520  
69 49     49   361 use Net::XMPP::Client;
  49         107  
  49         1296  
70 49     49   306 use Net::Jabber::Protocol;
  49         110  
  49         1256  
71 49     49   292 use base qw( Net::XMPP::Client Net::Jabber::Protocol );
  49         116  
  49         7352  
72 49     49   339 use vars qw( $VERSION );
  49         505  
  49         3311  
73              
74             $VERSION = "2.0";
75              
76             1;