NAME

Net::RRP::Request::Mod - rrp mod request representation.

SYNOPSIS

 use Net::RRP::Request::Mod;
 my $modRequest = new Net::RRP::Request::Mod
    ( entity  => new Net::RRP::Entity::Domain 
      ( DomainName => [ 'domain.ru' ],
	NameServer => [ 'ns1.domain.ru' ] ) );
 my $modRequest1 = new Net::RRP::Request::Mod ();
 $modRequest1->setEntity ( new Net::RRP::Entity::Domain
			   ( DomainName => [ 'domain.ru' ],
			     NameServer => [ 'ns1.domain.ru' ] ) );

DESCRIPTION

This is a rrp mod request representation class.

getName

return a 'Mod'

setEntity

throw Net::RRP::Exception::InvalidEntityValue unless entity is Net::RRP::Entity::Domain or Net::RRP::Entity::NameServer

setOption

Support for Registrar and Serial options, throw Net::RRP::Exception::InvalidCommandOption if other option

AUTHOR AND COPYRIGHT

Net::RRP::Request::Mod (C) Michael Kulakov, Zenon N.S.P. 2000
                       125124, 19, 1-st Jamskogo polja st,
                       Moscow, Russian Federation

                       mkul@cpan.org

All rights reserved.

You may distribute this package under the terms of either the GNU
General Public License or the Artistic License, as specified in the
Perl README file.

SEE ALSO

Net::RRP::Request(3), Net::RRP::Codec(3), Net::RRP::Entity::Domain(3), Net::RRP::Entity::NameServer(3), RFC 2832, Net::RRP::Exception::InvalidCommandOption(3), Net::RRP::Exception::InvalidEntityValue(3)