Question about background and managment plugin regarding to OperationalState

Some details:

Background plugin (event server) implements server connections to our system, so each item would represent a server connection like a hardware device on recording server.

I am able to share our connection state via properties to admin plugin, to show an information about the state and using a second propertie to set the OperationalState.

I like when users can see via the tree icon if something wrong, but the issue is that this only updating on admin client when i refresh the ui.

It feels not right this way, so would be great someone could tell me whats the prefered way of live updated the tree icon about the state from background plugin (event server)

We do not have this function as a built-in feature. As far as I know we are not doing this in any of our own (=Milestone) plugins.

But a plugin can send the message: ApplicationRefreshTreeViewCommand to redisplay its own tree. This may not perform well or look good - but you can give it a try. And please test with large tree.

ah ok, yeah tried this but in case of network issue or so and we restart the connection every few seconds, would refresh the whole tree and also the user control. but thanks for answer. It would be greate if there would be just a function, like SetOperationalState =)