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::IQ; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 NAME |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
Net::Jabber::IQ - Jabber Info/Query Library |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 DESCRIPTION |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Net::Jabber::IQ inherits all of its methods from Net::XMPP::IQ. |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 AUTHOR |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
Ryan Eatmon |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 COPYRIGHT |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
This module is free software; you can redistribute it and/or modify |
39
|
|
|
|
|
|
|
it under the same terms as Perl itself. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=cut |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
require 5.003; |
44
|
49
|
|
|
49
|
|
270
|
use strict; |
|
49
|
|
|
|
|
96
|
|
|
49
|
|
|
|
|
2316
|
|
45
|
49
|
|
|
49
|
|
692
|
use Carp; |
|
49
|
|
|
|
|
101
|
|
|
49
|
|
|
|
|
2904
|
|
46
|
49
|
|
|
49
|
|
274
|
use Net::XMPP::IQ; |
|
49
|
|
|
|
|
97
|
|
|
49
|
|
|
|
|
1204
|
|
47
|
49
|
|
|
49
|
|
241
|
use base qw( Net::XMPP::IQ ); |
|
49
|
|
|
|
|
95
|
|
|
49
|
|
|
|
|
4015
|
|
48
|
|
|
|
|
|
|
|
49
|
49
|
|
|
49
|
|
266
|
use vars qw( $VERSION ); |
|
49
|
|
|
|
|
102
|
|
|
49
|
|
|
|
|
21230
|
|
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
$VERSION = "2.0"; |
52
|
|
|
|
|
|
|
|
53
|
2
|
|
|
2
|
0
|
6627
|
sub GetQuery { my $self = shift; $self->GetChild(@_); } |
|
2
|
|
|
|
|
27
|
|
54
|
4
|
|
|
4
|
0
|
11062
|
sub DefinedQuery { my $self = shift; $self->DefinedChild(@_); } |
|
4
|
|
|
|
|
31
|
|
55
|
3
|
|
|
3
|
0
|
23850
|
sub NewQuery { my $self = shift; $self->RemoveFirstChild(); $self->NewFirstChild(@_); } |
|
3
|
|
|
|
|
38
|
|
|
3
|
|
|
|
|
57
|
|
56
|
0
|
|
|
0
|
0
|
0
|
sub AddQuery { my $self = shift; $self->AddChild(@_); } |
|
0
|
|
|
|
|
0
|
|
57
|
0
|
|
|
0
|
0
|
0
|
sub RemoveQuery { my $self = shift; $self->RemoveFirstChild(@_); } |
|
0
|
|
|
|
|
0
|
|
58
|
|
|
|
|
|
|
|
59
|
1
|
|
|
1
|
0
|
1796
|
sub GetX { my $self = shift; $self->GetChild(@_); } |
|
1
|
|
|
|
|
7
|
|
60
|
2
|
|
|
2
|
0
|
5188
|
sub DefinedX { my $self = shift; $self->DefinedChild(@_); } |
|
2
|
|
|
|
|
16
|
|
61
|
1
|
|
|
1
|
0
|
527
|
sub NewX { my $self = shift; $self->NewChild(@_); } |
|
1
|
|
|
|
|
11
|
|
62
|
0
|
|
|
0
|
0
|
0
|
sub AddX { my $self = shift; $self->AddChild(@_); } |
|
0
|
|
|
|
|
0
|
|
63
|
0
|
|
|
0
|
0
|
0
|
sub RemoveX { my $self = shift; $self->RemoveChild(@_); } |
|
0
|
|
|
|
|
0
|
|
64
|
|
|
|
|
|
|
|
65
|
12
|
|
|
12
|
|
258689
|
sub _new_jid { my $self = shift; return new Net::Jabber::JID(@_); } |
|
12
|
|
|
|
|
117
|
|
66
|
12
|
|
|
12
|
|
67837
|
sub _new_packet { my $self = shift; return new Net::Jabber::Stanza(@_); } |
|
12
|
|
|
|
|
102
|
|
67
|
2
|
|
|
2
|
|
10002
|
sub _iq { my $self = shift; return new Net::Jabber::IQ(@_); } |
|
2
|
|
|
|
|
15
|
|
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
1; |