2014-01-15 18:29:15 +00:00
|
|
|
#ifndef __LPE_CHECK_COMMAND_HPP
|
|
|
|
#define __LPE_CHECK_COMMAND_HPP
|
|
|
|
|
2014-01-15 21:41:16 +00:00
|
|
|
#include "OTE/LPECheckCommand.hpp"
|
2014-01-15 18:29:15 +00:00
|
|
|
#include "se/StandardObjectType.hpp"
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
/**
|
|
|
|
* A LPECheckCommand is used to check the availability of domain objects
|
|
|
|
* in a Registry. Instances of this class generate RFC3730 and RFC3731
|
|
|
|
* compliant domain check EPP command service elements via the toXML method.
|
|
|
|
*
|
|
|
|
* @see LPECheckResponse
|
|
|
|
*/
|
|
|
|
class LPECheckCommand : public CheckCommand
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
/**
|
|
|
|
* Check the availability of the single identified domain.
|
|
|
|
*
|
|
|
|
* @param name The name of the domain to check the availability of.
|
|
|
|
*/
|
|
|
|
LPECheckCommand (const std::string &name)
|
|
|
|
: CheckCommand (StandardObjectType::DOMAIN(), name) {};
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Check the availability of at least one domain.
|
|
|
|
*
|
|
|
|
* @param names The names of the domains to check the availability of.
|
|
|
|
*/
|
|
|
|
LPECheckCommand (std::vector<std::string> &names)
|
|
|
|
: CheckCommand (StandardObjectType::DOMAIN(), names) {};
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __DOMAIN_CHECK_COMMAND_HPP
|