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

EPP Login Class. More...

#include <Login.H>

Inheritance diagram for Login:
Action

Public Member Functions

 Login (const ActionType type=LOGIN)
 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...
 
LoginCmdget_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 Login Class.

Member Function Documentation

LoginCmd* Login::get_command ( )
inline

Returns raw pointer to the command.

Returns
raw pointer to the command

References Action::_command.

Referenced by cmd_login().

void Login::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::_response, Action::get_response(), DomParser::parse_login_rsp(), and Response::reset().

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