Call service: address space access shall be available in Call execution method callback
Description
No address space access is available for now during execution of a SOPC_MethodCallFunc_Ptr
callback which is used to implement a Method Call execution. It shall be available to read / modify address space during this call to comply with OPC UA specification.
Implementation
The choice has been made to keep the method call a blocking operation during server services execution, thus a direct access to address space content should be provided but shall only be available during the call operation.
This leads to the following implementation steps:
- B model for method call shall reflect the address space might be modified during its execution as it is the case for Write or Node Management services
- An API should be provided to have direct access through address space but also to limit this access to the method call callback execution lifetime. It should be made available through the existing
SOPC_CallContext