From ef8565ce72d5abba537c4ee1615abb598cce1612 Mon Sep 17 00:00:00 2001 From: Riccardo Elitropi Date: Fri, 31 Oct 2025 10:36:41 +0100 Subject: [PATCH] Include : - in Redis aggiunta gestione di connessioni multiple. --- EXeExecutor.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/EXeExecutor.h b/EXeExecutor.h index 66ef794..9ee1289 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -1465,13 +1465,13 @@ EXE_EXPORT const std::string& ExeGetLanguage( void) ; EXE_EXPORT const std::string& ExeGetMsg( int nMsg) ; // Redis -EXE_EXPORT bool ExeRedisConnect( const std::string& sConnection) ; -EXE_EXPORT bool ExeRedisDisconnect( void) ; -EXE_EXPORT bool ExeRedisSetValFromKey( const std::string& sKey, const std::string& sVal) ; -EXE_EXPORT bool ExeRedisGetValFromKey( const std::string& sKey, std::string& sVal) ; -EXE_EXPORT bool ExeRedisAsyncConnect( const std::string& sConnection) ; -EXE_EXPORT bool ExeRedisAsyncDisconnect( void) ; -EXE_EXPORT bool ExeRedisAsyncPublish( const std::string& sChannel, const std::string& sMessage) ; -EXE_EXPORT bool ExeRedisAsyncSubscribe( const std::string& sChannel) ; -EXE_EXPORT bool ExeRedisAsyncUnsubscribe( const std::string& sChannel) ; -EXE_EXPORT bool ExeRedisAsyncSubscribeOneMessage( const std::string& sChannel, double dMaxTimeOut, std::string& sMessage) ; +EXE_EXPORT bool ExeRedisConnect( const std::string& sConnection, int& nIdConnection) ; +EXE_EXPORT bool ExeRedisDisconnect( int nIdConnection) ; +EXE_EXPORT bool ExeRedisSetValFromKey( int nIdConnection, const std::string& sKey, const std::string& sVal) ; +EXE_EXPORT bool ExeRedisGetValFromKey( int nIdConnection, const std::string& sKey, std::string& sVal) ; +EXE_EXPORT bool ExeRedisAsyncConnect( const std::string& sConnection, int& nIdConnection) ; +EXE_EXPORT bool ExeRedisAsyncDisconnect( int nIdConnection) ; +EXE_EXPORT bool ExeRedisAsyncPublish( int nIdConnection, const std::string& sChannel, const std::string& sMessage) ; +EXE_EXPORT bool ExeRedisAsyncSubscribe( int nIdConnection, const std::string& sChannel) ; +EXE_EXPORT bool ExeRedisAsyncUnsubscribe( int nIdConnection, const std::string& sChannel) ; +EXE_EXPORT bool ExeRedisAsyncSubscribeOneMessage( int nIdConnection, const std::string& sChannel, double dMaxTimeOut, std::string& sMessage) ;