| Net-EPP documentation | Contained in the Net-EPP distribution. |
Net::EPP::Frame::Command::Login - an instance of Net::EPP::Frame::Command
for the EPP <login> command.
L<XML::LibXML::Node>
+----L<XML::LibXML::Document>
+----L<Net::EPP::Frame>
+----L<Net::EPP::Frame::Command>
+----L<Net::EPP::Frame::Command::Login>
my $node = $frame->clID;
This method returns the XML::LibXML::Element object corresponding to the
<clID> element.
my $node = $frame->pw;
This method returns the XML::LibXML::Element object corresponding to the
<pw> element.
my $node = $frame->newPW;
This method returns the XML::LibXML::Element object corresponding to the
<newPW> element.
my $node = $frame->svcs;
This method returns the XML::LibXML::Element object corresponding to the
<svcs> element.
my $node = $frame->options;
This method returns the XML::LibXML::Element object corresponding to the
<options> element.
my $node = $frame->version;
This method returns the XML::LibXML::Element object corresponding to the
<version> element.
my $node = $frame->lang;
This method returns the XML::LibXML::Element object corresponding to the
<lang> element.
CentralNic Ltd (http://www.centralnic.com/).
This module is (c) 2011 CentralNic Ltd. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| 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: Login.pm,v 1.5 2011/12/03 11:44:52 gavin Exp $ package Net::EPP::Frame::Command::Login; use base qw(Net::EPP::Frame::Command); use strict;
sub _addCommandElements { my $self = shift; $self->getNode('login')->addChild($self->createElement('clID')); $self->getNode('login')->addChild($self->createElement('pw')); $self->getNode('login')->addChild($self->createElement('options')); $self->getNode('options')->addChild($self->createElement('version')); $self->getNode('options')->addChild($self->createElement('lang')); $self->getNode('login')->addChild($self->createElement('svcs')); }
sub clID { $_[0]->getNode('clID') } sub pw { $_[0]->getNode('pw') } sub newPW { $_[0]->getNode('newPW') } sub svcs { $_[0]->getNode('svcs') } sub options { $_[0]->getNode('options') } sub version { $_[0]->getNode('version') } sub lang { $_[0]->getNode('lang') }
1;