#include <Poll.H>
Public Member Functions | |
Poll (const ActionType type=POLL) | |
Constructor. | |
void | set_xml_template (const string &xml_template) |
Sets XML template. | |
void | set_response (const string &xml_payload, DomParser *parser) |
Sets the response attribute. | |
PollCmd * | get_command () |
Returns raw pointer to the command. | |
PollRsp * | get_response () |
Returns raw pointer to the response. |
EPP Poll Class.
PollCmd* Poll::get_command | ( | ) | [inline] |
Returns raw pointer to the command.
Reimplemented from Action.
References Action::_command.
Referenced by cmd_poll().
PollRsp* Poll::get_response | ( | ) | [inline] |
Returns raw pointer to the response.
Reimplemented from Action.
References Action::_response.
Referenced by set_response().
void Poll::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 get_response(), DomParser::parse_poll_rsp(), and PollRsp::reset().
void Poll::set_xml_template | ( | const string & | xml_template | ) | [virtual] |