#include <AsnCreateRsp.H>
Public Member Functions | |
AsnCreateRsp (bool reset=true) | |
Default constructor. | |
void | set_asn (const int asn) |
Sets asn. | |
int | get_asn () const |
Returns asn. | |
void | set_roid (const string &roid) |
Sets repository object ID. | |
string | get_roid () const |
Returns repository object ID. | |
void | set_crDate (const string &crDate) |
Sets creation date. | |
string | get_crDate () const |
Returns creation date. | |
void | set_exDate (const string &exDate) |
Sets expiration date. | |
string | get_exDate () const |
Returns expiration date. | |
void | reset () |
reset attributes | |
Protected Attributes | |
int | _asn |
autonomous system number | |
string | _roid |
server-unique id for the created IP network | |
string | _crDate |
date and time of object creation | |
string | _exDate |
date and time identifying the end of the AS object's registration period |
int AsnCreateRsp::get_asn | ( | ) | const [inline] |
string AsnCreateRsp::get_crDate | ( | ) | const [inline] |
string AsnCreateRsp::get_exDate | ( | ) | const [inline] |
Returns expiration date.
References _exDate.
string AsnCreateRsp::get_roid | ( | ) | const [inline] |
void AsnCreateRsp::set_asn | ( | const int | asn | ) | [inline] |
void AsnCreateRsp::set_crDate | ( | const string & | crDate | ) | [inline] |
void AsnCreateRsp::set_exDate | ( | const string & | exDate | ) | [inline] |
Sets expiration date.
exDate | date and time identifying the end of the AS object's registration period |
References _exDate.
void AsnCreateRsp::set_roid | ( | const string & | roid | ) | [inline] |
Sets repository object ID.
roid | contains the server-unique id for the created asn |
References _roid.