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

MynahSA::TCPRPCClient Class Reference

#include <tcprpcclient.hpp>

List of all members.

Public Member Functions

 TCPRPCClient (const StreamConstructor &sc, unsigned int ipaddress, unsigned int port)
 TCPRPCClient (const StreamConstructor &sc, std::string machineName, unsigned int port)
 ~TCPRPCClient ()
 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

TCPRPCCLient 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 TCP level communications.

Definition at line 47 of file tcprpcclient.hpp.


Constructor & Destructor Documentation

MynahSA::TCPRPCClient::TCPRPCClient const StreamConstructor sc,
unsigned int  ipaddress,
unsigned int  port
 

constructor - takes parameters:

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

MynahSA::TCPRPCClient::TCPRPCClient const StreamConstructor sc,
std::string  machineName,
unsigned int  port
 

constructor - takes parameters:

Parameters:
sc - a stream constructor object. This is necessary for reconstruction of objects from the TCP Stream
machineName - the string name of the machine running a server
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: