#include <DomainCreate.H>
Public Member Functions | |
DomainCreate (const ActionType type=DOMAIN_CREATE) | |
Constructor. | |
void | set_xml_template (const string &xml_template) |
Sets XML template. | |
void | set_response (const string &xml_payload, DomParser *parser) |
Pure virtual method to set response from a XML document. | |
DomainCreateCmd * | get_command () |
Returns raw pointer to the command. | |
DomainCreateRsp * | get_response () |
Returns raw pointer to the response. |
DomainCreateCmd* DomainCreate::get_command | ( | ) | [inline] |
Returns raw pointer to the command.
Reimplemented from Action.
Reimplemented in BrDomainCreate.
References Action::_command.
Referenced by cmd_domain_create().
DomainCreateRsp* DomainCreate::get_response | ( | ) | [inline] |
Returns raw pointer to the response.
Reimplemented from Action.
Reimplemented in BrDomainCreate.
References Action::_response.
Referenced by set_response().
void DomainCreate::set_response | ( | const string & | xml_payload, | |
DomParser * | parser | |||
) | [inline, virtual] |
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_domain_create_rsp(), and DomainCreateRsp::reset().
void DomainCreate::set_xml_template | ( | const string & | xml_template | ) | [virtual] |
Sets XML template.
xml_template | XML command template |
Implements Action.
Reimplemented in BrDomainCreate.