Session Class Reference

EPP Session Class. More...

#include <Session.H>

List of all members.

Public Member Functions

 Session (const string &server="localhost", const int port=700, const string &templates_dir=TEMPLATESDIR)
 Constructor.
 ~Session ()
 Destructor.
void enable_xml_validation (const string &schemas_dir=SCHEMASDIR)
 Enable XML Parser Validation.
void disable_xml_validation ()
 Disable XML Parser Validation.
void connect (const string &client_cert_file, const string &root_ca_file, const string &pem_passphrase="")
 Establish the Connection.
void disconnect ()
 Close the connection.
void send_hello ()
 Send Hello.
Greetingget_greeting ()
 Get Greeting.
void process_action (Action *action_to_be_processed, const string clTRID="")
 Process Action.
string get_last_command ()
 Get last command.
string get_last_response ()
 Get last response.
string get_server ()
 Get EPP server.
int get_port ()
 Get EPP server port.
void set_server (const string &server)
 Set EPP server name.
void set_port (const int &port)
 Set EPP server port.


Detailed Description

EPP Session Class.


Constructor & Destructor Documentation

Session::Session const string &  server = "localhost",
const int  port = 700,
const string &  templates_dir = TEMPLATESDIR
 

Constructor.

Parameters:
server Epp Server Name
port Epp Server Port Number
templates_dir Optional Path to the XML Templates Directory


Member Function Documentation

void Session::connect const string &  client_cert_file,
const string &  root_ca_file,
const string &  pem_passphrase = ""
 

Establish the Connection.

Parameters:
client_cert_file Client certificate file
root_ca_file Root certificate file
pem_passphrase Optional passphrase for an encrypted private key

void Session::enable_xml_validation const string &  schemas_dir = SCHEMASDIR  ) 
 

Enable XML Parser Validation.

Parameters:
schemas_dir Optional Path to the XML schemas

Greeting* Session::get_greeting  ) 
 

Get Greeting.

Returns:
Pointer to the Greeting

string Session::get_last_command  ) 
 

Get last command.

Returns:
Return the last command in XML format

string Session::get_last_response  ) 
 

Get last response.

Returns:
Return the last response in XML format

int Session::get_port  ) 
 

Get EPP server port.

Returns:
EPP server port

string Session::get_server  ) 
 

Get EPP server.

Returns:
EPP server name

void Session::process_action Action action_to_be_processed,
const string  clTRID = ""
 

Process Action.

Parameters:
action_to_be_processed Action to be processed
clTRID Optional Client Transaction ID

void Session::set_port const int &  port  ) 
 

Set EPP server port.

Parameters:
port EPP server port

void Session::set_server const string &  server  ) 
 

Set EPP server name.

Parameters:
server EPP server name


The documentation for this class was generated from the following file:
Generated on Thu Jun 8 17:40:01 2006 for libepp_nicbr by  doxygen 1.4.6