#include <AsnRenewCmd.H>
Inheritance diagram for AsnRenewCmd:
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 |
int AsnRenewCmd::get_asn | ( | ) | const [inline] |
Returns asn.
string AsnRenewCmd::get_expDate | ( | ) | const [inline] |
Returns expiration date.
RegistrationPeriod AsnRenewCmd::get_period | ( | ) | const [inline] |
Returns period.
void AsnRenewCmd::reset | ( | ) | [inline] |
void AsnRenewCmd::set_asn | ( | const int | asn | ) | [inline] |
Sets asn.
asn | autonomous system number |
void AsnRenewCmd::set_expDate | ( | const string & | expDate | ) | [inline] |
Sets expiration date.
expDate | date on which the current validity period ends |
void AsnRenewCmd::set_period | ( | const int & | time, | |
const string & | unit | |||
) | [inline] |
Sets period.
time | amount of time | |
unit | measure unit |