DRDE/ACTK1_0/OTE/LPECheckResponse.hpp

37 lines
1.4 KiB
C++
Raw Normal View History

2014-01-15 18:29:15 +00:00
#ifndef __LPE_CHECK_RESPONSE_HPP
#define __LPE_CHECK_RESPONSE_HPP
#include "se/CheckResponse.hpp"
/**
* Use this to access availability data for domains as provided in an EPP
* domain check response compliant with RFCs 3730 and 3731. Such a service
* element is sent by a compliant EPP server in response to a valid domain
* check command, implemented by the DomainCheckCommand class.
*
* @see DomainCheckCommand
*/
2014-01-15 21:41:16 +00:00
class LPECheckResponse : public CheckResponse
2014-01-15 18:29:15 +00:00
{
public:
2014-01-15 21:41:16 +00:00
LPECheckResponse ();
2014-01-15 18:29:15 +00:00
protected:
const std::string& chkDataCountExpr() const { return DOM_CHKDATA_COUNT_EXPR(); };
const std::string& chkDataIndexExpr() const { return DOM_CHKDATA_IND_EXPR(); };
const std::string& chkDataTextExpr() const { return DOM_CHKDATA_IDENT_EXPR(); };
const std::string& chkDataAvailExpr() const { return DOM_CHKDATA_AVAIL_EXPR(); };
const std::string& chkDataReasonExpr() const { return DOM_CHKDATA_REASON_EXPR(); };
static std::string exprReplace (const std::string &expr);
private:
static const std::string& DOM_CHKDATA_COUNT_EXPR();
static const std::string& DOM_CHKDATA_IND_EXPR();
static const std::string& DOM_CHKDATA_IDENT_EXPR();
static const std::string& DOM_CHKDATA_AVAIL_EXPR();
static const std::string& DOM_CHKDATA_REASON_EXPR();
};
2014-01-15 23:53:32 +00:00
#endif // __LPE_CHECK_RESPONSE_HPP