Net::EPP::Frame::Command::Poll::Ack - an instance of L<Net::EPP::Frame::Command>


Net-EPP documentation Contained in the Net-EPP distribution.

Index


Code Index:

NAME

Top

Net::EPP::Frame::Command::Poll::Ack - an instance of Net::EPP::Frame::Command for the EPP <Poll> acknowledge command.

OBJECT HIERARCHY

Top

    L<XML::LibXML::Node>
    +----L<XML::LibXML::Document>
        +----L<Net::EPP::Frame>
            +----L<Net::EPP::Frame::Command>
                +----L<Net::EPP::Frame::Command::Poll>

METHODS

Top

	$frame->setMsgID($id);

This method sets the msgID attribute on the <poll> element that is used to specify the message ID being acknowleged.

AUTHOR

Top

CentralNic Ltd (http://www.centralnic.com/).

COPYRIGHT

Top

SEE ALSO

Top

* Net::EPP::Frame

Net-EPP documentation Contained in the Net-EPP distribution.
# Copyright (c) 2011 CentralNic Ltd. All rights reserved. This program is
# free software; you can redistribute it and/or modify it under the same
# terms as Perl itself.
# 
# $Id: Ack.pm,v 1.2 2011/12/03 11:44:52 gavin Exp $
package Net::EPP::Frame::Command::Poll::Ack;
use base qw(Net::EPP::Frame::Command::Poll);
use strict;

sub new {
	my $package = shift;
	my $self = bless($package->SUPER::new('poll'), $package);
	$self->getCommandNode->setAttribute('op' => 'ack');
	return $self;
}

sub setMsgID {
	my ($self, $id) = @_;
	$self->getCommandNode->setAttribute('msgID' => $id);
	return 1;
}

1;