From 4e0eb97692a69f58116ef58403f5141f864529d9 Mon Sep 17 00:00:00 2001 From: Jan Fellner Date: Fri, 3 Jul 2026 10:49:18 +0200 Subject: [PATCH] UCAAS-1333: route ROSE dispatch through CreateInvokeContext override OnInvokeMessage, SendEvent, and SendInvoke now call CreateInvokeContext() so transport subclasses can supply custom invoke contexts. Bump version to 7.0.6. Made-with: Cursor --- cpp-lib/src/SnaccROSEBase.cpp | 6 +++--- version.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cpp-lib/src/SnaccROSEBase.cpp b/cpp-lib/src/SnaccROSEBase.cpp index f750062..3d51a1b 100644 --- a/cpp-lib/src/SnaccROSEBase.cpp +++ b/cpp-lib/src/SnaccROSEBase.cpp @@ -1233,7 +1233,7 @@ void SnaccROSEBase::OnInvokeMessage(SNACC::ROSEMessage* pMessage, unsigned long const char* szOperationName = SnaccRoseOperationLookup::LookUpName(pInvoke->operationID); SnaccInvokeContextInit init(SnaccInvokeDirection::INBOUND, pInvoke, szOperationName); - auto pCtx = SnaccInvokeContext::Create(init); + auto pCtx = CreateInvokeContext(init); auto telemetry = SnaccTelemetryData::Create(SnaccTelemetryData::Direction::INBOUND, pInvoke->operationID, szOperationName, ulMessageSize); auto telemetryResult = SnaccTelemetryData::Outcome::UNHANDLED; auto telemetryReason = SnaccTelemetryData::Reason::UNKNOWN_FAILURE; @@ -1416,7 +1416,7 @@ long SnaccROSEBase::SendEvent(SNACC::ROSEInvoke* pinvoke, const char* szOperatio if (!pCtx) { SnaccInvokeContextInit init(SnaccInvokeDirection::OUTBOUND, pinvoke, szResolvedOperationName ? szResolvedOperationName : szOperationName); - pCtx = SnaccInvokeContext::Create(init); + pCtx = CreateInvokeContext(init); } auto& ctx = *pCtx; size_t stRequestData = 0; @@ -1521,7 +1521,7 @@ long SnaccROSEBase::SendInvoke(SNACC::ROSEInvoke* pinvoke, SNACC::AsnType* resul if (!pCtx) { SnaccInvokeContextInit init(SnaccInvokeDirection::OUTBOUND, pinvoke, szResolvedOperationName ? szResolvedOperationName : szOperationName); - pCtx = SnaccInvokeContext::Create(init); + pCtx = CreateInvokeContext(init); } auto& ctx = *pCtx; diff --git a/version.h b/version.h index 298e964..a07ee35 100644 --- a/version.h +++ b/version.h @@ -1,8 +1,8 @@ #ifndef VERSION_H #define VERSION_H -#define VERSION "7.0.4" -#define VERSION_RC 7, 0, 4 -#define RELDATE "29.06.2026" +#define VERSION "7.0.6" +#define VERSION_RC 7, 0, 6 +#define RELDATE "03.07.2026" #endif // VERSION_H