AsnRenewCmd Class Reference

EPP AsnRenew Class. More...

#include <AsnRenewCmd.H>

Inheritance diagram for AsnRenewCmd:

Command

List of all members.

Public Member Functions

 AsnRenewCmd (bool reset=true)
 Default constructor.
void set_asn (const int asn)
 Sets asn.
int get_asn () const
 Returns asn.
void set_expDate (const string &expDate)
 Sets expiration date.
string get_expDate () const
 Returns expiration date.
void set_period (const int time, const string &unit)
 Sets period.
RegistrationPeriod get_period () const
 Returns period.
void reset ()
 Reset object attributes.

Protected Attributes

int _asn
 autonomous system number
string _expDate
 date on which the current validity period ends
RegistrationPeriod _period
 number of units to be added to the registration period of the AS object


Detailed Description

EPP AsnRenew Class.

Member Function Documentation

int AsnRenewCmd::get_asn (  )  const [inline]

Returns asn.

Returns:
autonomous system number

References _asn.

Referenced by cmd_asn_renew().

string AsnRenewCmd::get_expDate (  )  const [inline]

Returns expiration date.

Returns:
date on which the current validity period ends

References _expDate.

Referenced by cmd_asn_renew().

RegistrationPeriod AsnRenewCmd::get_period (  )  const [inline]

Returns period.

Returns:
number of units to be added to the registration period

References _period.

Referenced by cmd_asn_renew().

void AsnRenewCmd::reset (  )  [inline]

Reset object attributes.

reset attributes

Reimplemented from Command.

References _asn, _expDate, and _period.

Referenced by AsnRenewCmd().

void AsnRenewCmd::set_asn ( const int  asn  )  [inline]

Sets asn.

Parameters:
asn autonomous system number

References _asn.

Referenced by cmd_asn_renew().

void AsnRenewCmd::set_expDate ( const string &  expDate  )  [inline]

Sets expiration date.

Parameters:
expDate date on which the current validity period ends

References _expDate.

Referenced by cmd_asn_renew().

void AsnRenewCmd::set_period ( const int  time,
const string &  unit 
) [inline]

Sets period.

Parameters:
time amount of time
unit measure unit

References _period.

Referenced by cmd_asn_renew().


The documentation for this class was generated from the following file:

Generated on Thu Jan 21 14:44:03 2010 for libepp_nicbr by  doxygen 1.5.9