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

EPP AsnInfo Class. More...

#include <AsnInfo.H>

Inheritance diagram for AsnInfo:
Action

Public Member Functions

 AsnInfo (const ActionType type=ASN_INFO)
 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...
 
AsnInfoCmdget_command ()
 Returns raw pointer to the command. More...
 
AsnInfoRspget_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 AsnInfo Class.

Member Function Documentation

AsnInfoCmd* AsnInfo::get_command ( )
inline

Returns raw pointer to the command.

Returns
raw pointer to the command

References Action::_command.

Referenced by cmd_asn_info().

AsnInfoRsp* AsnInfo::get_response ( )
inline

Returns raw pointer to the response.

Returns
raw pointer to the response

References Action::_response.

Referenced by set_response().

void AsnInfo::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().

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