4. osxpert.thrift¶
A C++ library which aims to reduce the required boilerplate code for the interaction with the turret API.
Everything is inside the osxpert::thrift namespace.
4.2. Reference¶
4.2.1. ThriftClient.h¶
-
struct
ClientTlsOptions¶ -
bool
VerifyHost¶
-
std::string
CertificateFile¶
-
std::string
PrivateKeyFile¶
-
std::string
TrustedCaFile¶
-
bool
-
struct
ClientOptions¶ -
typedef std::shared_ptr<apache::thrift::transport::TSSLSocketFactory>
SslSocketFactoryPtr¶
-
ClientOptions(const std::string &host, int port, int timeoutMillis = 0, SslSocketFactoryPtr tlsSocketFactory = nullptr)¶
-
std::string
Host¶
-
int
Port¶
-
int
ConnectionTimeoutMillis¶
-
SslSocketFactoryPtr
TlsSocketFactory¶
-
typedef std::shared_ptr<apache::thrift::transport::TSSLSocketFactory>
-
template<class
ClientType>
classClientConnection¶
4.2.2. ThriftServer.h¶
-
struct
ServerTlsOptions¶ -
bool
AuthenticateClient= false¶
-
bool
VerifyClientHost= false¶
-
std::string
CertificateFile¶
-
std::string
PrivateKeyFile¶
-
std::string
TrustedCaFile¶
-
bool
-
struct
ServerOptions¶ -
std::string
ListenAddress¶
-
int
ListenPort¶
-
boost::optional<ServerTlsOptions>
TlsOptions¶
-
std::string