Skip to content

UCAAS-1333: snacclib7 ROSE handler and invoke context improvements#133

Merged
JanFellner merged 1 commit into
mainfrom
feature/UCAAS-1333-improve-generated-rose-handlers
Jul 3, 2026
Merged

UCAAS-1333: snacclib7 ROSE handler and invoke context improvements#133
JanFellner merged 1 commit into
mainfrom
feature/UCAAS-1333-improve-generated-rose-handlers

Conversation

@JanFellner

@JanFellner JanFellner commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Summary

UCAAS-1333 snacclib7 / esnacc improvements (single squashed commit ff0c2ee):

  • Compiler: simplify generated C++ ROSE handlers — initialize lRoseResult from DecodeInvoke and use an explicit default case in OnInvoke
  • Reject context: require callers to pass SnaccInvokeContext into SendRejectEx so decode-error rejects use inbound invoke context instead of an empty outbound context
  • Dispatch: route OnInvokeMessage, SendEvent, and SendInvoke through CreateInvokeContext() so transport subclasses can supply custom invoke contexts
  • Docs: document SendInvoke iTimeout in milliseconds on SnaccROSESender and SnaccROSEBase (-1 → default m_lMaxInvokeWait, 0 → fire-and-forget)
  • Release: bump version to 7.0.5 (release date 03.07.2026)

Test plan

  • Build cpp-lib and compiler locally
  • Regenerate sample ROSE stubs and build cpp-lib-sample-runtime-tests
  • Regenerate ASN.1 stubs in consuming projects (ProCall UCAAS-1333 branch) and verify inbound reject + invoke context handling

- Improve readability of esnacc-generated ROSE invoke handlers (gen-code.c)

- Require callers to pass SnaccInvokeContext into SendRejectEx for decode-error rejects

- Route OnInvokeMessage, SendEvent, and SendInvoke through CreateInvokeContext() for transport subclasses

- Document SendInvoke iTimeout in milliseconds on SnaccROSESender and SnaccROSEBase

- Bump version to 7.0.5 (release date 03.07.2026)

Made-with: Cursor
@JanFellner JanFellner force-pushed the feature/UCAAS-1333-improve-generated-rose-handlers branch from 9501ea4 to ff0c2ee Compare July 3, 2026 14:06
@JanFellner JanFellner changed the title UCAAS-1333 Improve generated ROSE handlers and reject context flow UCAAS-1333: snacclib7 ROSE handler and invoke context improvements Jul 3, 2026
@JanFellner JanFellner merged commit 34a39ab into main Jul 3, 2026
5 checks passed
@JanFellner JanFellner deleted the feature/UCAAS-1333-improve-generated-rose-handlers branch July 6, 2026 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant