libepp_nicbr
|
EPP DefRegCreate Class. More...
#include <DefRegCreate.H>
Public Member Functions | |
DefRegCreate (const ActionType type=DEF_REG_CREATE) | |
Constructor. | |
void | set_xml_template (const string &xml_template) |
Sets XML template. More... | |
void | set_response (const string &xml_payload, DomParser *parser) |
Pure virtual method to set response from a XML document. More... | |
DefRegCreateCmd * | get_command () |
Returns raw pointer to the command. More... | |
DefRegCreateRsp * | get_response () |
Returns raw pointer to the response. More... | |
![]() | |
virtual | ~Action () |
virtual destructor | |
string | get_xml () |
Returns XML. More... | |
ActionType | who_am_i () |
Returns Action type. More... | |
Response * | get_response () |
Returns raw pointer to the response. More... | |
Command * | get_command () |
Returns raw pointer to the command. More... | |
Additional Inherited Members | |
![]() | |
Action (const ActionType &type) | |
Constructor that forces childs to set their types. More... | |
void | set_xml_template_common (const string &xml_template) |
Sets the xml template and parses the tags (protected) More... | |
![]() | |
auto_ptr< Command > | _command |
Generic command. | |
auto_ptr< Response > | _response |
Generic response. | |
ActionType | _type |
Action type. | |
string | _xml |
XML command. | |
EPP DefRegCreate Class.
|
inline |
Returns raw pointer to the command.
References Action::_command.
Referenced by cmd_def_reg_create().
|
inline |
Returns raw pointer to the response.
References Action::_response.
Referenced by set_response().
|
inlinevirtual |
Pure virtual method to set response from a XML document.
xml_payload | XML document |
parser | reference to the XML parser |
Implements Action.
References get_response(), DomParser::parse_def_reg_create_rsp(), and DefRegCreateRsp::reset().
|
virtual |