line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Copyright (c) 2016 CentralNic Ltd. All rights reserved. This program is |
2
|
|
|
|
|
|
|
# free software; you can redistribute it and/or modify it under the same |
3
|
|
|
|
|
|
|
# terms as Perl itself. |
4
|
|
|
|
|
|
|
# |
5
|
|
|
|
|
|
|
# $Id: Ack.pm,v 1.2 2011/12/03 11:44:52 gavin Exp $ |
6
|
|
|
|
|
|
|
package Net::EPP::Frame::Command::Poll::Ack; |
7
|
1
|
|
|
1
|
|
3
|
use base qw(Net::EPP::Frame::Command::Poll); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
55
|
|
8
|
1
|
|
|
1
|
|
3
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
128
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=pod |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 NAME |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
Net::EPP::Frame::Command::Poll::Ack - an instance of L |
15
|
|
|
|
|
|
|
for the EPP CPollE> acknowledge command. |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 OBJECT HIERARCHY |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
L |
20
|
|
|
|
|
|
|
+----L |
21
|
|
|
|
|
|
|
+----L |
22
|
|
|
|
|
|
|
+----L |
23
|
|
|
|
|
|
|
+----L |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=cut |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
sub new { |
28
|
0
|
|
|
0
|
0
|
|
my $package = shift; |
29
|
0
|
|
|
|
|
|
my $self = bless($package->SUPER::new('poll'), $package); |
30
|
0
|
|
|
|
|
|
$self->getCommandNode->setAttribute('op' => 'ack'); |
31
|
0
|
|
|
|
|
|
return $self; |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=pod |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 METHODS |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
$frame->setMsgID($id); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
This method sets the C attribute on the CpollE> element that |
41
|
|
|
|
|
|
|
is used to specify the message ID being acknowleged. |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=cut |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
sub setMsgID { |
46
|
0
|
|
|
0
|
0
|
|
my ($self, $id) = @_; |
47
|
0
|
|
|
|
|
|
$self->getCommandNode->setAttribute('msgID' => $id); |
48
|
0
|
|
|
|
|
|
return 1; |
49
|
|
|
|
|
|
|
} |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=pod |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 AUTHOR |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
CentralNic Ltd (http://www.centralnic.com/). |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 COPYRIGHT |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
This module is (c) 2016 CentralNic Ltd. This module is free software; you can |
60
|
|
|
|
|
|
|
redistribute it and/or modify it under the same terms as Perl itself. |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head1 SEE ALSO |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=over |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=item * L |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=back |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=cut |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
1; |