[Server] Add Async MonitoredItem Management methods to MasterNodeManager & IAsyncNodeManager#3217
Conversation
…AsyncNodeManager Refactor MasterNodeManager to allow access to IAsyncNodeManager from NodeManagers & NamespaceManagers Properties
…stead of ref globalIdCounter
…eManagerMIMethods
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3217 +/- ##
==========================================
+ Coverage 57.58% 57.68% +0.10%
==========================================
Files 355 355
Lines 78549 78679 +130
Branches 13849 13857 +8
==========================================
+ Hits 45233 45389 +156
+ Misses 29069 29044 -25
+ Partials 4247 4246 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull Request Overview
This PR adds asynchronous monitored item management methods to MasterNodeManager and IAsyncNodeManager. The changes introduce async versions of key monitored item operations including create, modify, delete, transfer, and monitoring mode management.
- Extends IAsyncNodeManager with async monitored item management interfaces
- Adds async method implementations to MasterNodeManager with synchronous fallbacks
- Updates AsyncNodeManagerAdapter to bridge between sync and async implementations
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| Tests/Opc.Ua.Server.Tests/MonitoredItemIdFactoryTests.cs | Code style improvements including explicit type declarations and collection checks |
| Libraries/Opc.Ua.Server/NodeManager/INodeManager.cs | Defines new async interfaces for monitored item operations and extends IAsyncNodeManager |
| Libraries/Opc.Ua.Server/NodeManager/MasterNodeManager.cs | Implements async monitored item methods with proper cancellation token handling |
| Libraries/Opc.Ua.Server/NodeManager/AsyncNodeManagerAdapter.cs | Provides adapter methods to bridge sync and async node manager implementations |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Proposed changes
Add Async MonitoredItem Management methods to MasterNodeManager & IAsyncNodeManager
Types of changes
Checklist
Further comments