7 #ifndef __TRANSPORTTLS_H__
8 #define __TRANSPORTTLS_H__
19 TransportTLS(
const string &server =
"localhost",
const int &port = 700);
51 void connect(
const string &client_cert_file,
const string &root_ca_file,
52 const string &pem_passphrase =
"");
63 #endif //__TRANSPORTTLS_H__
int get_port() const
Return the server port number.
TransportTLSCommon class.
void connect(const string &client_cert_file, const string &root_ca_file, const string &pem_passphrase="")
Open the Connection.
TransportTLS(const string &server="localhost", const int &port=700)
Default constructor.
TransportTLS class.
Definition: TransportTLS.H:15
string get_server() const
Return the server address.
void set_server(const string &server)
Set the server name/address.
TransportTLSCommon class.
Definition: TransportTLSCommon.H:24
void set_port(const int port)
Set connection port.