FreeOpcUa / python-opcua

LGPL Pure Python OPC-UA Client and Server
http://freeopcua.github.io/
GNU Lesser General Public License v3.0
1.32k stars 661 forks source link

Callback function or event to intercept a write request on server #1519

Closed sravagnan closed 9 months ago

sravagnan commented 1 year ago

I created a server instance that has a writable boolean variable when I write the variable value from an opcua client I need to intercept the write request on the opcua server, in order to trigger a custom function that handles this event.

Basically, I would need to intercept an event that allows me to reuse the node id and value of the data variable that is about to be written.

Is there anything already implemented that allows me to do this?

Thank you in advance.