Replies: 1 comment 3 replies
-
I don't think the spec indicates you must or must not do this. There are a lot of variations described in the Call service in Part 4 for what you can provide as the I think the intention is that you can have something like "static" methods that are invokable by providing the NodeId of ObjectType as the This "static" method could have a different implementation than the Methods belonging to Object instances of that ObjectType. So all that said... I think this just comes down to the implementation choice of the SDK and user expectations. Right now as you can see all Methods need to have their behavior explicitly "installed" on them, regardless of whether they were instantiated as part of a complex type or not. |
Beta Was this translation helpful? Give feedback.
-
Assume the following setup:
The resulting Object does contain a Folder and a Method node, however the behaviour bound to the InstanceDeclaration on the ObjectType level is not passed on to the Object instance. Calling TypeMethod yields the expected behavior, InstanceMethod returns BadNotImplemented.
I'm not sure if this is intended and didn't find anything useful in the Pt.3 of the spec. My expectation would be that all instances of an ObjectType should behave alike and thus the methods should.
Beta Was this translation helpful? Give feedback.
All reactions