| 1 | package Net::EPP::Frame::Command::Poll::Ack; | ||
| 2 | 1 | ▶ | use base qw(Net::EPP::Frame::Command::Poll); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | =pod | ||
| 6 | |||
| 7 | =head1 NAME | ||
| 8 | |||
| 9 | Net::EPP::Frame::Command::Poll::Ack - an instance of L<Net::EPP::Frame::Command> | ||
| 10 | for the EPP C<E<lt>PollE<gt>> acknowledge command. | ||
| 11 | |||
| 12 | =head1 OBJECT HIERARCHY | ||
| 13 | |||
| 14 | L<XML::LibXML::Node> | ||
| 15 | +----L<XML::LibXML::Document> | ||
| 16 | +----L<Net::EPP::Frame> | ||
| 17 | +----L<Net::EPP::Frame::Command> | ||
| 18 | +----L<Net::EPP::Frame::Command::Poll> | ||
| 19 | |||
| 20 | =cut | ||
| 21 | |||
| 22 | 0 | ▶ | sub new { |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 23 | 0 | my $package = shift; | |
| 24 | 0 | my $self = bless($package->SUPER::new('poll'), $package); | |
| 25 | 0 | $self->getCommandNode->setAttribute('op' => 'ack'); | |
| 26 | 0 | return $self; | |
| 27 | } | ||
| 28 | |||
| 29 | =pod | ||
| 30 | |||
| 31 | =head1 METHODS | ||
| 32 | |||
| 33 | $frame->setMsgID($id); | ||
| 34 | |||
| 35 | This method sets the C<msgID> attribute on the C<E<lt>pollE<gt>> element that | ||
| 36 | is used to specify the message ID being acknowleged. | ||
| 37 | |||
| 38 | =cut | ||
| 39 | |||
| 40 | 0 | ▶ | sub setMsgID { |
|
Subroutine
setMsgID: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 41 | 0 | my ($self, $id) = @_; | |
| 42 | 0 | $self->getCommandNode->setAttribute('msgID' => $id); | |
| 43 | 0 | return 1; | |
| 44 | } | ||
| 45 | |||
| 46 | 1 | 1; | |