NAME
Net::RRP::Entity::NameServer - rrp domain entity representation.
SYNOPSIS
my
$nameServerEntity
= new Net::RRP::Entity::NameServer (
NameServer
=> [
'ns1.domain.ru'
],
IPAddress
=> [
'1.1.1.1'
] );
my
$nameServerEntity1
= new Net::RRP::Entity::NameServer ();
$nameServerEntity1
->setAttribute (
NameServer
=> [
'ns1.domain.ru'
] );
$nameServerEntity1
->setAttribute (
IPAddress
=> [
'1.1.1.1'
] );
DESCRIPTION
This is a rrp name server entity representation class.
getName
return a 'NameServer'
setAttribute
Add check constraint to attributes. Only NameServer and IPAddress attributes can exists.
getPrimaryAttributeValue
return a "primary" attribute value
AUTHOR AND COPYRIGHT
Net::RRP::Entity::NameServer (C) Michael Kulakov, Zenon N.S.P. 2000
125124, 19, 1-st Jamskogo polja st,
Moscow, Russian Federation
mkul
@cpan
.org
All rights reserved.
General Public License or the Artistic License, as specified in the
Perl README file.
SEE ALSO
Net::RRP::Entity(3), Net::RRP::Codec(3), RFC 2832, Net::RRP::Exception::InvalidAttributeName(3)