Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Server] Add support for SupportsFilteredRetain #2913
base: master
Are you sure you want to change the base?
[Server] Add support for SupportsFilteredRetain #2913
Changes from all commits
b0678a8
bd1ddc9
8ad8d4f
0c78880
dc56b0a
751136a
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 1088 in Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs
Codecov / codecov/patch
Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs#L1088
Check warning on line 1092 in Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs
Codecov / codecov/patch
Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs#L1090-L1092
Check warning on line 1095 in Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs
Codecov / codecov/patch
Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs#L1095
Check warning on line 1100 in Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs
Codecov / codecov/patch
Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs#L1098-L1100
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does lastIndex allways point to the ConditionId ? Can't the client request it in another order together with other SelectClauses?
Check warning on line 1108 in Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs
Codecov / codecov/patch
Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs#L1102-L1108
Check warning on line 1112 in Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs
Codecov / codecov/patch
Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs#L1112
Check warning on line 1117 in Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs
Codecov / codecov/patch
Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs#L1117
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is the ConditionId only valid if FilteredRetain is set ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The logic is specifically for SupportsFilterRetain, so if it is not set, the remainder of the function is not required, only the filter check at the top of the function.
This is still a work in progress, I'm going to move it to draft for now.
Check warning on line 1122 in Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs
Codecov / codecov/patch
Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs#L1122
Check warning on line 1124 in Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs
Codecov / codecov/patch
Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs#L1124
Check warning on line 1126 in Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs
Codecov / codecov/patch
Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs#L1126
Check warning on line 1130 in Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs
Codecov / codecov/patch
Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs#L1130
Check warning on line 1139 in Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs
Codecov / codecov/patch
Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs#L1139
Check warning on line 1146 in Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs
Codecov / codecov/patch
Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs#L1146
Check warning on line 1151 in Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs
Codecov / codecov/patch
Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs#L1151
Check warning on line 1158 in Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs
Codecov / codecov/patch
Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs#L1158
Check warning on line 1161 in Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs
Codecov / codecov/patch
Libraries/Opc.Ua.Server/Subscription/MonitoredItem.cs#L1161
Check warning on line 59 in Stack/Opc.Ua.Core/Stack/State/ConditionState.cs
Codecov / codecov/patch
Stack/Opc.Ua.Core/Stack/State/ConditionState.cs#L59
Check warning on line 66 in Stack/Opc.Ua.Core/Stack/State/ConditionState.cs
Codecov / codecov/patch
Stack/Opc.Ua.Core/Stack/State/ConditionState.cs#L66
Check warning on line 70 in Stack/Opc.Ua.Core/Stack/State/ConditionState.cs
Codecov / codecov/patch
Stack/Opc.Ua.Core/Stack/State/ConditionState.cs#L69-L70