| 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 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 68 | 49 | ▶ | use Carp; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 69 | 49 | ▶ | use Net::XMPP::Client; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 70 | 49 | ▶ | use Net::Jabber::Protocol; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 71 | 49 | ▶ | use base qw( Net::XMPP::Client Net::Jabber::Protocol ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 72 | 49 | ▶ | use vars qw( $VERSION ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 73 | |||
| 74 | 49 | $VERSION = "2.0"; | |
| 75 | |||
| 76 | 49 | 1; | |