# Copyright (c) 2006 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.3 2006/01/09 17:05:50 gavin Exp $ package Net::EPP::Frame::Command::Login; use base qw(Net::EPP::Frame::Command); use strict; =pod =head1 NAME Net::EPP::Frame::Command::Login - an instance of L for the EPP CloginE> command. =head1 OBJECT HIERARCHY L +----L +----L +----L +----L =cut 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('svcs')); $self->getNode('login')->addChild($self->createElement('options')); } =pod =head1 METHODS my $node = $frame->clID; This method returns the L object corresponding to the CclIDE> element. my $node = $frame->pw; This method returns the L object corresponding to the CpwE> element. my $node = $frame->svcs; This method returns the L object corresponding to the CsvcsE> element. my $node = $frame->options; This method returns the L object corresponding to the CoptionsE> element. =cut sub clID { $_[0]->getNode('clID') } sub pw { $_[0]->getNode('pw') } sub svcs { $_[0]->getNode('svcs') } sub options { $_[0]->getNode('options') } =pod =head1 AUTHOR Gavin Brown (L) for CentralNic Ltd (http://www.centralnic.com/). =head1 COPYRIGHT This module is (c) 2006 CentralNic Ltd. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =head1 SEE ALSO =over =item * L =back =cut 1;