Net::RRP::Request::Renew - rrp renew request representation.


Net-RRP documentation  | view source Contained in the Net-RRP distribution.

Index


NAME

Top

Net::RRP::Request::Renew - rrp renew request representation.

SYNOPSIS

Top

 use Net::RRP::Request::Renew;
 my $renewRequest = new Net::RRP::Request::Renew 
    ( entity  => new Net::RRP::Entity::Domain ( DomainName => 'domain.ru' )
      options => { Period => 10, CurrentExpirationYear => 2000 } );

DESCRIPTION

Top

This is a rrp renew request representation class.

getName

return a 'Renew'

setEntity

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

setOption

Pass only Period && CurrentExpirationYear option. Throw Net::RRP::Exception::InvalidCommandOption at other case.

AUTHOR AND COPYRIGHT

Top

SEE ALSO

Top

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)


Net-RRP documentation  | view source Contained in the Net-RRP distribution.