Contains global RCF settings. More...
#include <Globals.hpp>
Public Member Functions | |
void | setDefaultSslImplementation (SslImplementation sslImplementation) |
Sets the default SSL implementation to use (OpenSSL or Schannel). The default is Schannel on Windows, and OpenSSL on other platforms. More... | |
SslImplementation | getDefaultSslImplementation () |
Gets the default SSL implementation. More... | |
void | setDefaultConnectTimeoutMs (unsigned int connectTimeoutMs) |
Sets the default connect timeout for all RCF clients. More... | |
unsigned int | getDefaultConnectTimeoutMs () |
Gets the default connect timeout for all RCF clients. More... | |
void | setDefaultRemoteCallTimeoutMs (unsigned int remoteCallTimeoutMs) |
Sets the default remote call timeout for all RCF clients. More... | |
unsigned int | getDefaultRemoteCallTimeoutMs () |
Gets the default remote call timeout for all RCF clients. More... | |
void | setZlibDllName (const std::string &dllName) |
Sets the name of the Zlib library, when loading ZLib dynamically at runtime. More... | |
std::string | getZlibDllName () const |
Gets the name of the Zlib library, when loading ZLib dynamically at runtime. More... | |
void | setOpenSslDllName (const std::string &dllName) |
Sets the name of the OpenSSL library, when loading OpenSSL dynamically at runtime. More... | |
std::string | getOpenSslDllName () const |
Gets the name of the OpenSSL library, when loading OpenSSL dynamically at runtime. More... | |
void | setOpenSslCryptoDllName (const std::string &dllName) |
Sets the name of the OpenSSL Crypto library, when loading OpenSSL dynamically at runtime. More... | |
std::string | getOpenSslCryptoDllName () const |
Gets the name of the OpenSSL Crypto library, when loading OpenSSL dynamically at runtime. More... | |
Contains global RCF settings.
void RCF::Globals::setDefaultSslImplementation | ( | SslImplementation | sslImplementation | ) |
Sets the default SSL implementation to use (OpenSSL or Schannel). The default is Schannel on Windows, and OpenSSL on other platforms.
SslImplementation RCF::Globals::getDefaultSslImplementation | ( | ) |
Gets the default SSL implementation.
void RCF::Globals::setDefaultConnectTimeoutMs | ( | unsigned int | connectTimeoutMs | ) |
Sets the default connect timeout for all RCF clients.
unsigned int RCF::Globals::getDefaultConnectTimeoutMs | ( | ) |
Gets the default connect timeout for all RCF clients.
void RCF::Globals::setDefaultRemoteCallTimeoutMs | ( | unsigned int | remoteCallTimeoutMs | ) |
Sets the default remote call timeout for all RCF clients.
unsigned int RCF::Globals::getDefaultRemoteCallTimeoutMs | ( | ) |
Gets the default remote call timeout for all RCF clients.
void RCF::Globals::setZlibDllName | ( | const std::string & | dllName | ) |
Sets the name of the Zlib library, when loading ZLib dynamically at runtime.
std::string RCF::Globals::getZlibDllName | ( | ) | const |
Gets the name of the Zlib library, when loading ZLib dynamically at runtime.
void RCF::Globals::setOpenSslDllName | ( | const std::string & | dllName | ) |
Sets the name of the OpenSSL library, when loading OpenSSL dynamically at runtime.
std::string RCF::Globals::getOpenSslDllName | ( | ) | const |
Gets the name of the OpenSSL library, when loading OpenSSL dynamically at runtime.
void RCF::Globals::setOpenSslCryptoDllName | ( | const std::string & | dllName | ) |
Sets the name of the OpenSSL Crypto library, when loading OpenSSL dynamically at runtime.
std::string RCF::Globals::getOpenSslCryptoDllName | ( | ) | const |
Gets the name of the OpenSSL Crypto library, when loading OpenSSL dynamically at runtime.