libepp_nicbr
|
EPP AnsInfoRsp Class. More...
#include <AsnInfoRsp.H>
Public Member Functions | |
AsnInfoRsp (bool reset=true) | |
Default constructor. | |
void | set_asn (const int asn) |
Sets asn. More... | |
int | get_asn () const |
Returns asn. More... | |
void | set_roid (const string &roid) |
Sets repository object ID. More... | |
string | get_roid () const |
Returns repository object ID. More... | |
void | set_organization (const string &organization) |
Sets organization associated with the AS. More... | |
string | get_organization () const |
Returns organization associated with the AS. More... | |
void | insert_contact (const string &type, const string &identification) |
Inserts a contact in the map of other contacts. More... | |
map< string, string, less< string > > | get_contacts () |
Returns map of other contacts. More... | |
void | set_clId (const string &clId) |
Sets sponsoring client. More... | |
string | get_clId () const |
Returns sponsoring client. More... | |
void | set_crId (const string &crId) |
Sets client that created the AS. More... | |
string | get_crId () const |
Returns client that created the AS. More... | |
void | set_crDate (const string &crDate) |
Sets date of the AS creation. More... | |
string | get_crDate () const |
Returns date of the AS creation. More... | |
void | set_exDate (const string &exDate) |
Sets AS's expiration date. More... | |
string | get_exDate () const |
Returns AS's expiration date. More... | |
void | set_upId (const string &upId) |
Sets last client that updated the AS. More... | |
string | get_upId () const |
Returns last client that updated the AS. More... | |
void | set_upDate (const string &upDate) |
Sets date of the last update. More... | |
string | get_upDate () const |
Returns date of the last update. More... | |
void | set_trDate (const string &trDate) |
Sets most recent successful AS object transfer. More... | |
string | get_trDate () const |
Returns most recent successful AS object transfer. More... | |
void | insert_asIn (const string &policy) |
Inserts an AS input policy. More... | |
vector< string > | get_asIn () const |
Returns list of all AS input policies. More... | |
void | insert_asOut (const string &policy) |
Inserts an AS output policy. More... | |
vector< string > | get_asOut () const |
Returns list of all AS output policies. More... | |
void | reset () |
![]() | |
Response (bool reset=true) | |
Default constructor. | |
void | set_clTRID (const string &clTRID) |
Sets the client transaction ID. More... | |
void | set_svTRID (const string &svTRID) |
Sets the server transaction ID. More... | |
void | set_result_lang (const string &result_lang) |
Sets the result message language. More... | |
void | insert_result (const ResultCode &code, const string &msg, const string &value="", const string &xmlns="", const string &reason="") |
Sets a result element. More... | |
string | get_clTRID () const |
Returns the client transaction ID. More... | |
string | get_svTRID () const |
Returns the servers transaction ID. More... | |
string | get_result_lang () |
Returns the result message language. More... | |
map< ResultCode, ResultInfo > | get_result_list () const |
Returns the list of result elements. More... | |
void | reset () |
reset attributes | |
virtual | ~Response () |
virtual destructor | |
Protected Attributes | |
int | _asn |
Autonomous System Number. | |
string | _roid |
string | _organization |
map< string, string, less< string > > | _contacts |
identifiers for contact objects associated with the AS object | |
string | _clId |
identifier of the sponsoring client | |
string | _crId |
identifier of the client that created the AS object | |
string | _crDate |
date and time of the AS object creation | |
string | _exDate |
date and time identifying the end of the AS object registration period | |
string | _upId |
identifier of the client that last updated the AS object | |
string | _upDate |
date and time of the most recent AS object modification | |
string | _trDate |
most recent successful AS object transfer | |
vector< string > | _asIn |
as-in policy | |
vector< string > | _asOut |
![]() | |
string | _clTRID |
Client transaction ID. | |
string | _svTRID |
Server transaction ID. | |
string | _result_lang |
Result language. | |
map< ResultCode, ResultInfo > | _result_list |
Result elements list. | |
Additional Inherited Members | |
![]() | |
enum | ResultCode { UNSET = -1, OK = 1000, OK_ACTION_PENDING = 1001, OK_NO_MESSAGES = 1300, OK_ACK_DEQUEUE = 1301, OK_ENDING_SESSION = 1500, UNKNOWN_COMMAND = 2000, COMMAND_SYNTAX_ERROR = 2001, COMMAND_USE_ERROR = 2002, PARAMETER_MISSING = 2003, PARAMETER_RANGE_ERROR = 2004, PARAMETER_SYNTAX_ERROR = 2005, UNIMPLEMENTED_VERSION = 2100, UNIMPLEMENTED_COMMAND = 2101, UNIMPLEMENTED_OPTION = 2102, UNIMPLEMENTED_EXTENSION = 2103, BILLING_FAILURE = 2104, NOT_RENEWABLE = 2105, NOT_TRANSFERABLE = 2106, AUTHENTICATION_ERROR = 2200, AUTHORIZATION_ERROR = 2201, INVALID_AUTHORIZATION_INFO = 2202, PENDING_TRANSFER = 2300, NOT_PENDING_TRANSFER = 2301, OBJECT_EXISTS = 2302, OBJECT_DOESNT_EXIST = 2303, STATUS_PROHIBITS_OPERATION = 2304, ASSOCIATION_PROHIBITS_OPERATION = 2305, PARAMETER_POLICY_ERROR = 2306, UNIMPLEMENTED_SERVICE = 2307, DATA_MGMT_POLICY_VIOLATION = 2308, COMMAND_FAILED = 2400, COMMAND_FAILED_CLOSING_CONN = 2500, AUTHENTICATION_ERROR_CLOSING_CONN = 2501, SESSION_LIMIT_EXCEEDED = 2502 } |
Result Codes - See RFC 3730 - Session 3. | |
EPP AnsInfoRsp Class.
|
inline |
|
inline |
|
inline |
Returns list of all AS output policies.
|
inline |
Returns sponsoring client.
References _clId.
|
inline |
|
inline |
|
inline |
Returns client that created the AS.
References _crId.
|
inline |
Returns AS's expiration date.
References _exDate.
|
inline |
Returns organization associated with the AS.
References _organization.
|
inline |
Returns repository object ID.
References _roid.
|
inline |
Returns most recent successful AS object transfer.
References _trDate.
|
inline |
Returns date of the last update.
References _upDate.
|
inline |
Returns last client that updated the AS.
References _upId.
|
inline |
|
inline |
Inserts an AS output policy.
policy | AS policy |
|
inline |
Inserts a contact in the map of other contacts.
type | contact type |
identification | contact identification |
References _contacts.
|
inline |
|
inline |
Sets sponsoring client.
clId | identifier of the client that created the AS object |
References _clId.
|
inline |
Sets date of the AS creation.
crDate | date and time of the AS object creation |
References _crDate.
|
inline |
Sets client that created the AS.
crId | identifier of the client that created the AS object |
References _crId.
|
inline |
Sets AS's expiration date.
exDate | date and time identifying the end of the AS object registration period |
References _exDate.
|
inline |
Sets organization associated with the AS.
organization | identifier for the organization object associated with the AS object as the AS manager |
References _organization.
|
inline |
Sets repository object ID.
roid | Repository Object IDentifier assigned to the AS object when the it was created |
References _roid.
|
inline |
Sets most recent successful AS object transfer.
trDate | most recent successful AS object transfer |
References _trDate.
|
inline |
Sets date of the last update.
upDate | date and time of the most recent AS object modification |
References _upDate.
|
inline |
Sets last client that updated the AS.
upId | identifier of the client that last updated the AS object |
References _upId.
|
protected |
identifier for the organization object associated with the AS object as the AS manager
Referenced by get_organization(), and set_organization().
|
protected |
Repository Object IDentifier assigned to the AS object when the it was created
Referenced by get_roid(), and set_roid().