libepp_nicbr
Public Member Functions | Protected Attributes | List of all members
AsnRenewCmd Class Reference

EPP AsnRenew Class. More...

#include <AsnRenewCmd.H>

Inheritance diagram for AsnRenewCmd:
Command

Public Member Functions

 AsnRenewCmd (bool reset=true)
 Default constructor.
 
void set_asn (const int asn)
 Sets asn. More...
 
int get_asn () const
 Returns asn. More...
 
void set_expDate (const string &expDate)
 Sets expiration date. More...
 
string get_expDate () const
 Returns expiration date. More...
 
void set_period (const int time, const string &unit)
 Sets period. More...
 
RegistrationPeriod get_period () const
 Returns period. More...
 
void reset ()
 
- Public Member Functions inherited from Command
 Command (bool reset=true)
 Default constructor.
 
void reset ()
 Reset object attributes. More...
 
virtual ~Command ()
 virtual destructor
 
void set_clTRID (const string &clTRID)
 Sets clTRID. More...
 
string get_clTRID () const
 Returns clTRID. More...
 

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
 
- Protected Attributes inherited from Command
string _clTRID
 Client Transaction ID.
 

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::set_asn ( const int  asn)
inline

Sets asn.

Parameters
asnautonomous system number

References _asn.

Referenced by cmd_asn_renew().

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

Sets expiration date.

Parameters
expDatedate 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
timeamount of time
unitmeasure unit

References _period.

Referenced by cmd_asn_renew().


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