#include <unistd.h>
#include "SheppGlobal.H"
#include "SheppStrUtil.H"
#include "SheppObjSet.H"
#include "SheppPrint.H"
#include "IoException.H"
#include "TransportException.H"
#include "EppException.H"
#include "XmlException.H"
#include "Login.H"
#include "Logout.H"
Go to the source code of this file.
Functions | |
int | cmd_login (vector< string > &args) |
Send an EPP Login. | |
int | cmd_logout (vector< string > &args) |
Send an EPP Logout. | |
int | cmd_hello (vector< string > &args) |
Send an EPP HELLO. | |
int | cmd_poll (vector< string > &) |
main poll command | |
int | cmd_domain (vector< string > &) |
main domain command | |
int | cmd_contact (vector< string > &) |
main contact command | |
int | cmd_xmlcmd (vector< string > &args) |
Shows last XML command. | |
int | cmd_xmlrsp (vector< string > &args) |
Shows last XML response. | |
int | cmd_server (vector< string > &args) |
Sets server address [and port] based on input command-line. | |
int | cmd_port (vector< string > &args) |
Sets server port based on input command-line. | |
int | cmd_client_pem (vector< string > &args) |
Sets client.pem certificate file location. | |
int | cmd_root_pem (vector< string > &args) |
Sets root.pem certificate file location. | |
int | cmd_pass (vector< string > &args) |
Sets SSL certificate passphrase based on input command-line. | |
int | cmd_user (vector< string > &args) |
Sets login user based on input command-line. | |
int | cmd_login_pw (vector< string > &args) |
Sets EPP login password based on input command-line. | |
int | cmd_login_new_pw (vector< string > &args) |
Sets new EPP login password based on input command-line. | |
int | cmd_lang (vector< string > &args) |
Sets text language based on input command-line. | |
int | cmd_connect (vector< string > &args) |
Connects to previously specified server and port. | |
int | cmd_disconnect (vector< string > &args) |
Closes connection. | |
int | cmd_help (vector< string > &args) |
Prints help. | |
int | cmd_about (vector< string > &args) |
Prints version information. | |
int | cmd_quit (vector< string > &args) |
Leaves shepp. | |
int | cmd_beauty (vector< string > &args) |
Turns XML beautifier ON and OFF. | |
int | cmd_debug (vector< string > &args) |
Turns debug messages ON and OFF. | |
int | cmd_autorsp (vector< string > &args) |
Turns auto-show response ON and OFF. | |
int | cmd_keepalive (vector< string > &args) |
Turns keep-alive ON and OFF. | |
int | cmd_peer_crt_check (vector< string > &args) |
Turn peer's certificate check ON and OFF. | |
void | init_commands () |
Populates set of available commands. | |
const SheppCommand * | find_command (string name) |
Given a word check if it's a valid SheppCommand. | |
void | print_cmd_sent_ok () |
Prints "command sent ok" message. | |
int | process_action (Action &act) |
Send and EPP Action. |
int cmd_about | ( | vector< string > & | args | ) |
Prints version information.
args | input command-line |
int cmd_autorsp | ( | vector< string > & | args | ) |
Turns auto-show response ON and OFF.
args | input command-line |
int cmd_beauty | ( | vector< string > & | args | ) |
Turns XML beautifier ON and OFF.
args | input command-line |
int cmd_client_pem | ( | vector< string > & | args | ) |
Sets client.pem certificate file location.
args | input command-line |
int cmd_connect | ( | vector< string > & | args | ) |
Connects to previously specified server and port.
args | input command-line |
int cmd_contact | ( | vector< string > & | args | ) |
main contact command
arg | command-line input arguments |
int cmd_debug | ( | vector< string > & | args | ) |
Turns debug messages ON and OFF.
args | input command-line |
int cmd_disconnect | ( | vector< string > & | args | ) |
Closes connection.
args | input command-line |
int cmd_domain | ( | vector< string > & | args | ) |
main domain command
arg | command-line input arguments |
int cmd_hello | ( | vector< string > & | args | ) |
Send an EPP HELLO.
args | input command-line |
int cmd_help | ( | vector< string > & | args | ) |
Prints help.
args | input command-line |
int cmd_keepalive | ( | vector< string > & | args | ) |
Turns keep-alive ON and OFF.
args | input command-line |
int cmd_lang | ( | vector< string > & | args | ) |
Sets text language based on input command-line.
args | input command-line |
int cmd_login | ( | vector< string > & | args | ) |
int cmd_login_new_pw | ( | vector< string > & | args | ) |
Sets new EPP login password based on input command-line.
args | input command-line |
int cmd_login_pw | ( | vector< string > & | args | ) |
Sets EPP login password based on input command-line.
args | input command-line |
int cmd_logout | ( | vector< string > & | args | ) |
int cmd_pass | ( | vector< string > & | args | ) |
Sets SSL certificate passphrase based on input command-line.
args | input command-line |
int cmd_peer_crt_check | ( | vector< string > & | args | ) |
Turn peer's certificate check ON and OFF.
args | input command-line |
int cmd_poll | ( | vector< string > & | args | ) |
main poll command
arg | command-line input arguments |
int cmd_port | ( | vector< string > & | args | ) |
Sets server port based on input command-line.
args | input command-line |
int cmd_quit | ( | vector< string > & | args | ) |
Leaves shepp.
args | input command-line |
int cmd_root_pem | ( | vector< string > & | args | ) |
Sets root.pem certificate file location.
args | input command-line |
int cmd_server | ( | vector< string > & | args | ) |
Sets server address [and port] based on input command-line.
args | input command-line |
int cmd_user | ( | vector< string > & | args | ) |
Sets login user based on input command-line.
args | input command-line |
int cmd_xmlcmd | ( | vector< string > & | args | ) |
Shows last XML command.
args | input command-line |
int cmd_xmlrsp | ( | vector< string > & | args | ) |
Shows last XML response.
args | input command-line |
const SheppCommand* find_command | ( | string | name | ) |
Given a word check if it's a valid SheppCommand.
name | of command check validity |