2014-01-21 23:01:41 +00:00
|
|
|
#ifndef __LPEDOMAIN_CHECK_COMMAND_HPP
|
|
|
|
#define __LPEDOMAIN_CHECK_COMMAND_HPP
|
2014-01-15 18:29:15 +00:00
|
|
|
|
2014-01-21 23:01:41 +00:00
|
|
|
#include "se/DomainCheckCommand.hpp"
|
2014-01-15 18:29:15 +00:00
|
|
|
#include "se/StandardObjectType.hpp"
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
/**
|
2014-01-21 23:01:41 +00:00
|
|
|
* A DomainCheckCommand is used to check the availability of domain objects
|
2014-01-15 18:29:15 +00:00
|
|
|
* in a Registry. Instances of this class generate RFC3730 and RFC3731
|
|
|
|
* compliant domain check EPP command service elements via the toXML method.
|
|
|
|
*
|
2014-01-21 23:01:41 +00:00
|
|
|
* @see DomainCheckResponse
|
2014-01-15 18:29:15 +00:00
|
|
|
*/
|
2014-01-21 23:01:41 +00:00
|
|
|
class LPECheckCommand : public DomainCheckCommand
|
2014-01-15 18:29:15 +00:00
|
|
|
{
|
|
|
|
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)
|
2014-01-21 23:01:41 +00:00
|
|
|
: DomainCheckCommand ( name) {};
|
2014-01-15 18:29:15 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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)
|
2014-01-21 23:01:41 +00:00
|
|
|
: DomainCheckCommand ( names) {};
|
2014-01-15 18:29:15 +00:00
|
|
|
};
|
|
|
|
|
2014-01-21 23:01:41 +00:00
|
|
|
#endif // __LPEDOMAIN_CHECK_COMMAND_HPP
|