#include <Action.H>
Inheritance diagram for Action:
Public Member Functions | |
virtual | ~Action () |
virtual destructor | |
virtual void | set_xml_template (const string &xml_template)=0 |
Sets the xml template and parses the tags (pure virtual). | |
string | get_xml () |
Returns XML. | |
ActionType | who_am_i () |
Returns Action type. | |
virtual void | set_response (const string &xml_payload, DomParser *parser)=0 |
Pure virtual method to set response from a XML document. | |
Response * | get_response () |
Returns raw pointer to the response. | |
Command * | get_command () |
Returns raw pointer to the command. | |
Protected Member Functions | |
Action (const ActionType &type) | |
Constructor that forces childs to set their types. | |
void | set_xml_template_common (const string &xml_template) |
Sets the xml template and parses the tags (protected). | |
Protected Attributes | |
auto_ptr< Command > | _command |
Generic command. | |
auto_ptr< Response > | _response |
Generic response. | |
ActionType | _type |
Action type. | |
string | _xml |
XML command. |
|
Constructor that forces childs to set their types.
|
|
Returns raw pointer to the command.
Reimplemented in BrDomainCheck, BrDomainCreate, BrDomainInfo, BrDomainRenew, BrDomainUpdate, BrOrgCheck, BrOrgCreate, BrOrgInfo, BrOrgUpdate, ContactCheck, ContactCreate, ContactInfo, ContactUpdate, DomainCheck, DomainCreate, DomainInfo, DomainRenew, DomainUpdate, Login, and Poll. |
|
Returns raw pointer to the response.
Reimplemented in BrDomainCheck, BrDomainCreate, BrDomainInfo, BrDomainRenew, BrDomainUpdate, BrOrgInfo, ContactCheck, ContactCreate, ContactInfo, DomainCheck, DomainCreate, DomainInfo, DomainRenew, and Poll. |
|
Returns XML.
|
|
Pure virtual method to set response from a XML document.
Implemented in ContactCheck, ContactCreate, ContactInfo, ContactUpdate, DomainCheck, DomainCreate, DomainInfo, DomainRenew, DomainUpdate, Login, Logout, and Poll. |
|
Sets the xml template and parses the tags (pure virtual).
Implemented in BrDomainCheck, BrDomainCreate, BrDomainInfo, BrDomainUpdate, BrOrgCheck, BrOrgCreate, BrOrgInfo, BrOrgUpdate, ContactCheck, ContactCreate, ContactInfo, ContactUpdate, DomainCheck, DomainCreate, DomainInfo, DomainRenew, DomainUpdate, Login, Logout, and Poll. |
|
Sets the xml template and parses the tags (protected).
|
|
Returns Action type.
|