FreeOpcUa / python-opcua

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

Subscription Keepalive #571

Open sanlop73 opened 6 years ago

sanlop73 commented 6 years ago

Hi:

I need to check if the subscription is alive, read some threads here but i have no clear conclusion. Could you please give me a hint , how to implement this? Do you have an example?

Thanks in advance

oroulet commented 6 years ago

What do you want to do exactly? Why? The subscription itself sends keepalive messages but they are not really exposed. You could implement your own stuff using uaclient class

sanlop73 commented 6 years ago

Thanks for your reply. I have a subscription which their items changes aproximatelly every 8 hours, so the problem is can check if the subscription is still alive. That why i m asking for the keepalive.

Do you have an example how to expose?

Thanks again.

DionisisBozikis commented 4 years ago

hello i am interested in a keepalive example, also. thanks