Hi,
I have a customer reporting that device states are not available for all devices in our Management Client plugin.
What I can see is that the customer has 6 recording servers with a number of devices on each. We call MessageCommunication.ProvideCurrentStateResponse to get the states for ALL devices on the system and then matches the ids to all the ids we found on the recording servers.
From the logs I can see that we can only match a partial number of the total device count, specifically the device count on the last recording server. E.g. the total device count on the recording servers is 843 and the last recording server has 35 of them. We only manages to match states for 35 devices. I cannot be sure it is a problem with the matching algorithm or the actual number states reported back.
Is this a known issue? Can the response from ProvideCurrentStateResponse be fragmented into several messages?
Absolutely, that sounds like an good idea. Just one thing, our implementation only monitors Hardware items so I will change this line in the sample code:
private Collection<Guid> _includeInDisplay = new Collection<Guid>(){ Kind.Server, Kind.Hardware };