| Net-RRP documentation | view source | Contained in the Net-RRP distribution. |
Net::RRP::Entity::NameServer - rrp domain entity representation.
use Net::RRP::Entity::NameServer; 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' ] );
This is a rrp name server entity representation class.
return a 'NameServer'
Add check constraint to attributes. Only NameServer and IPAddress attributes can exists.
return a "primary" attribute value
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.
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.
Net::RRP::Entity(3), Net::RRP::Codec(3), RFC 2832, Net::RRP::Exception::InvalidAttributeName(3)
| Net-RRP documentation | view source | Contained in the Net-RRP distribution. |