Is it possible to identify clients?
|
|
---|---|
Subject is pretty clear: is there some API in PyTango that allows me to identify clients? P.S. and OT: is it possible to replace this WYSIWYG editor with a Markdown editor? |
|
|
---|---|
+1 for markdown |
|
|
---|---|
|
I am afraid the answer is no, there is no way to know in a server which clients are connected. This is a feature that has already been asked for but is not implemented. It has to come from the Tango C++ level. |
|
|
---|---|
Hi there, Do you have any visibility about such feature implementation in future in python? Do you have any advice on how to workaround this? ZMQ? Client would provide an IP/port number to server and wait (waiting thread) for server to reply Would it be possible to use dynamic attribute for that? Client would create a device proxy dynamic attribute according to a condition and then subscribe to it. Device server would memorize dynamic attribute (provided through a client command call) and notify via push when a condition satisfies client. Cyrille. |