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::Presence; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 NAME |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
Net::Jabber::Presence - Jabber Presence Module |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 DESCRIPTION |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Net::Jabber::Presence inherits all of its methods from |
31
|
|
|
|
|
|
|
Net::XMPP::Presence. |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 AUTHOR |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Ryan Eatmon |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 COPYRIGHT |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
This module is free software; you can redistribute it and/or modify |
40
|
|
|
|
|
|
|
it under the same terms as Perl itself. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=cut |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
require 5.003; |
45
|
49
|
|
|
49
|
|
273
|
use strict; |
|
49
|
|
|
|
|
106
|
|
|
49
|
|
|
|
|
1935
|
|
46
|
49
|
|
|
49
|
|
394
|
use Carp; |
|
49
|
|
|
|
|
101
|
|
|
49
|
|
|
|
|
2935
|
|
47
|
49
|
|
|
49
|
|
286
|
use Net::XMPP::Presence; |
|
49
|
|
|
|
|
119
|
|
|
49
|
|
|
|
|
1741
|
|
48
|
49
|
|
|
49
|
|
263
|
use base qw( Net::XMPP::Presence ); |
|
49
|
|
|
|
|
99
|
|
|
49
|
|
|
|
|
4111
|
|
49
|
|
|
|
|
|
|
|
50
|
49
|
|
|
49
|
|
276
|
use vars qw( $VERSION ); |
|
49
|
|
|
|
|
113
|
|
|
49
|
|
|
|
|
15192
|
|
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
$VERSION = "2.0"; |
53
|
|
|
|
|
|
|
|
54
|
0
|
|
|
0
|
0
|
0
|
sub GetX { my $self = shift; $self->GetChild(@_); } |
|
0
|
|
|
|
|
0
|
|
55
|
0
|
|
|
0
|
0
|
0
|
sub DefinedX { my $self = shift; $self->DefinedChild(@_); } |
|
0
|
|
|
|
|
0
|
|
56
|
0
|
|
|
0
|
0
|
0
|
sub NewX { my $self = shift; $self->NewChild(@_); } |
|
0
|
|
|
|
|
0
|
|
57
|
0
|
|
|
0
|
0
|
0
|
sub AddX { my $self = shift; $self->AddChild(@_); } |
|
0
|
|
|
|
|
0
|
|
58
|
0
|
|
|
0
|
0
|
0
|
sub RemoveX { my $self = shift; $self->RemoveChild(@_); } |
|
0
|
|
|
|
|
0
|
|
59
|
|
|
|
|
|
|
|
60
|
6
|
|
|
6
|
|
118167
|
sub _new_jid { my $self = shift; return new Net::Jabber::JID(@_); } |
|
6
|
|
|
|
|
46
|
|
61
|
3
|
|
|
3
|
|
8983
|
sub _new_packet { my $self = shift; return new Net::Jabber::Stanza(@_); } |
|
3
|
|
|
|
|
32
|
|
62
|
1
|
|
|
1
|
|
3717
|
sub _presence { my $self = shift; return new Net::Jabber::Presence(@_); } |
|
1
|
|
|
|
|
6
|
|
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
1; |