#include <Login.H>
Public Member Functions | |
Login (const ActionType type=LOGIN) | |
Constructor. | |
void | set_xml_template (const string &xml_template) |
Sets the xml template and parses the tags. | |
void | set_response (const string &xml_payload, DomParser *parser) |
Sets the response attribute. | |
LoginCmd * | get_command () |
Returns raw pointer to the command. |
LoginCmd* Login::get_command | ( | ) | [inline] |
Returns raw pointer to the command.
Reimplemented from Action.
References Action::_command.
Referenced by cmd_login().
void Login::set_response | ( | const string & | xml_payload, | |
DomParser * | parser | |||
) | [inline, virtual] |
Sets the response attribute.
xml_payload | XML document | |
parser | reference to the XML parser |
Implements Action.
References Action::_response, Action::get_response(), DomParser::parse_login_rsp(), and Response::reset().
void Login::set_xml_template | ( | const string & | xml_template | ) | [virtual] |
Sets the xml template and parses the tags.
xml_template | XML command template |
Implements Action.