#include <ContactCheck.H>
Public Member Functions | |
ContactCheck (const ActionType type=CONTACT_CHECK) | |
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. | |
ContactCheckCmd * | get_command () |
Returns raw pointer to the command. | |
ContactCheckRsp * | get_response () |
Returns raw pointer to the response. |
ContactCheckCmd* ContactCheck::get_command | ( | ) | [inline] |
Returns raw pointer to the command.
Reimplemented from Action.
Reimplemented in BrOrgCheck.
References Action::_command.
Referenced by cmd_contact_check().
ContactCheckRsp* ContactCheck::get_response | ( | ) | [inline] |
Returns raw pointer to the response.
Reimplemented from Action.
Reimplemented in BrOrgCheck.
References Action::_response.
Referenced by set_response().
void ContactCheck::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_contact_check_rsp(), and ContactCheckRsp::reset().
void ContactCheck::set_xml_template | ( | const string & | xml_template | ) | [virtual] |
Sets XML template.
xml_template | XML command template |
Implements Action.
Reimplemented in BrOrgCheck.