Session Class Reference
EPP Session Class.
More...
#include <Session.H>
List of all members.
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 |
string Session::get_last_command |
( |
|
) |
const |
Get last command.
- Returns:
- Return the last command in XML format
string Session::get_last_response |
( |
|
) |
const |
Get last response.
- Returns:
- Return the last response in XML format
int Session::get_port |
( |
|
) |
const |
Get EPP server port.
- Returns:
- EPP server port
string Session::get_server |
( |
|
) |
const |
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::runXML |
( |
const string & |
input |
) |
|
Send XML input command.
- Parameters:
-
void Session::set_port |
( |
const int & |
port |
) |
|
Set EPP server port.
- Parameters:
-
void Session::set_server |
( |
const string & |
server |
) |
|
Set EPP server name.
- Parameters:
-
The documentation for this class was generated from the following file: