libepp_nicbr
|
EPP DomainCheckRsp Class. More...
#include <DomainCheckRsp.H>
Classes | |
struct | Availability |
Public Member Functions | |
DomainCheckRsp (bool reset=true) | |
Default constructor. | |
void | insert_availability (const string &domain, const string &available, const string &reason) |
Inserts availability information for a domain name to the list. More... | |
map< string, Availability, less< string > > | get_availability_list () const |
Returns the domain's availability list. More... | |
void | set_launch (const LaunchCheckRsp &launch) |
Sets the launch result set. More... | |
LaunchCheckRsp | get_launch () const |
Returns the launch result set. More... | |
void | reset () |
Resets object attributes. | |
![]() | |
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 | |
map< string, Availability, less< string > > | _availability_list |
Domain response list. | |
LaunchCheckRsp | _launch |
Launch result set. | |
![]() | |
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 DomainCheckRsp Class.
map< string, Availability, less<string> > DomainCheckRsp::get_availability_list | ( | ) | const |
Returns the domain's availability list.
Referenced by BrDomainCheckRsp::copy_parent_data().
|
inline |
void DomainCheckRsp::insert_availability | ( | const string & | domain, |
const string & | available, | ||
const string & | reason | ||
) |
Inserts availability information for a domain name to the list.
domain | domain name |
available | domain availability ["0" | "1"] |
reason | reason of unavailability |
|
inline |