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

EPP DomainTransfer Class. More...

#include <DomainTransfer.H>

Inheritance diagram for DomainTransfer:
Action

Public Member Functions

 DomainTransfer (const ActionType type=DOMAIN_TRANSFER)
 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...
 
DomainTransferCmdget_command ()
 Returns raw pointer to the command. More...
 
DomainTransferRspget_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 DomainTransfer Class.

Member Function Documentation

DomainTransferCmd* DomainTransfer::get_command ( )
inline

Returns raw pointer to the command.

Returns
raw pointer to the command

References Action::_command.

Referenced by cmd_domain_transfer().

DomainTransferRsp* DomainTransfer::get_response ( )
inline

Returns raw pointer to the response.

Returns
raw pointer to the response

References Action::_response.

Referenced by set_response().

void DomainTransfer::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(), DomParser::parse_domain_transfer_rsp(), and DomainTransferRsp::reset().

void DomainTransfer::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: