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

EPP ContactUpdate Class. More...

#include <ContactUpdate.H>

Inheritance diagram for ContactUpdate:
Action BrOrgUpdate

Public Member Functions

 ContactUpdate (const ActionType type=CONTACT_UPDATE)
 Constructor.
 
void set_xml_template (const string &xml_template)
 Sets the xml template and parses the tags. More...
 
void set_response (const string &xml_payload, DomParser *parser)
 Sets the response attribute. More...
 
ContactUpdateCmdget_command ()
 Returns raw pointer to the command. 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 ContactUpdate Class.

Member Function Documentation

ContactUpdateCmd* ContactUpdate::get_command ( )
inline

Returns raw pointer to the command.

Returns
raw pointer to the command

References Action::_command.

Referenced by cmd_contact_update().

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

Sets the response attribute.

Parameters
xml_payloadXML document
parserreference to the XML parser

Implements Action.

References Action::get_response(), DomParser::parse_contact_update_rsp(), and Response::reset().

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

Sets the xml template and parses the tags.

Parameters
xml_templateXML command template

Implements Action.


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