libepp_nicbr
Public Member Functions | List of all members
DomainRenew Class Reference

EPP DomainRenew Class. More...

#include <DomainRenew.H>

Inheritance diagram for DomainRenew:
Action BrDomainRenew

Public Member Functions

 DomainRenew (const ActionType type=DOMAIN_RENEW)
 Constructor.
 
void set_xml_template (const string &xml_template)
 Sets XML template. More...
 
void set_response (const string &xml_payload, DomParser *parser)
 Pure virtual method to set response from a XML document. More...
 
DomainRenewCmdget_command ()
 Returns raw pointer to the command. More...
 
DomainRenewRspget_response ()
 Returns raw pointer to the response. More...
 
- Public Member Functions inherited from Action
virtual ~Action ()
 virtual destructor
 
string get_xml ()
 Returns XML. More...
 
ActionType who_am_i ()
 Returns Action type. More...
 
Responseget_response ()
 Returns raw pointer to the response. More...
 
Commandget_command ()
 Returns raw pointer to the command. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Action
 Action (const ActionType &type)
 Constructor that forces childs to set their types. More...
 
void set_xml_template_common (const string &xml_template)
 Sets the xml template and parses the tags (protected) More...
 
- Protected Attributes inherited from Action
auto_ptr< Command_command
 Generic command.
 
auto_ptr< Response_response
 Generic response.
 
ActionType _type
 Action type.
 
string _xml
 XML command.
 

Detailed Description

EPP DomainRenew Class.

Member Function Documentation

DomainRenewCmd* DomainRenew::get_command ( )
inline

Returns raw pointer to the command.

Returns
raw pointer to the command

References Action::_command.

Referenced by cmd_domain_renew().

DomainRenewRsp* DomainRenew::get_response ( )
inline

Returns raw pointer to the response.

Returns
raw pointer to the response

References Action::_response.

Referenced by set_response().

void DomainRenew::set_response ( const string &  xml_payload,
DomParser parser 
)
inlinevirtual

Pure virtual method to set response from a XML document.

Parameters
xml_payloadXML document
parserreference to the XML parser

Implements Action.

References get_response(), and DomParser::parse_domain_renew_rsp().

void DomainRenew::set_xml_template ( const string &  xml_template)
virtual

Sets XML template.

Parameters
xml_templateXML command template

Implements Action.


The documentation for this class was generated from the following file: