Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MynahSA::SSLRPCClient Class Reference

#include <sslrpcclient.hpp>

List of all members.

Public Member Functions

 SSLRPCClient (const StreamConstructor &sc, unsigned int ipaddress, unsigned int port, std::string certificateFile="", std::string privateKeyFile="")
 SSLRPCClient (const StreamConstructor &sc, std::string machineName, unsigned int port, std::string certificateFile="", std::string privateKeyFile="")
 ~SSLRPCClient ()
 destructor
SHARED_PTR< IoBaserpc (SHARED_PTR< IoBase > req)
 handler for performing the rpc call
bool is_open () const
 return true if the connection is still open
void close ()
 close and terminate the connection


Detailed Description

SSLRPCCLient is a client class for handling RPC requests. Configure this class with a IP address and port in the constructor - these are then used in the RPC method for SSL level communications.

Definition at line 52 of file sslrpcclient.hpp.


Constructor & Destructor Documentation

MynahSA::SSLRPCClient::SSLRPCClient const StreamConstructor sc,
unsigned int  ipaddress,
unsigned int  port,
std::string  certificateFile = "",
std::string  privateKeyFile = ""
 

constructor - takes parameters:

Parameters:
sc - a stream constructor object. This is necessary for reconstruction of objects from the SSL Stream
ipaddress - an integer packed IPv4 internet address for the server - in machine byte order
port - the port number of the server
certificateFile - A client specific certificate file (optional parameter).
privateKeyFile - The private key for the certificate.

MynahSA::SSLRPCClient::SSLRPCClient const StreamConstructor sc,
std::string  machineName,
unsigned int  port,
std::string  certificateFile = "",
std::string  privateKeyFile = ""
 

constructor - takes parameters:

Parameters:
sc - a stream constructor object. This is necessary for reconstruction of objects from the SSL Stream
machineName - The name of the machine to connect to
port - the port number of the server
certificateFile - A client specific certificate file (optional parameter).
privateKeyFile - The private key for the certificate.


The documentation for this class was generated from the following file: