Hi,
I’m developing a windows service that remotely connects to a CCTV environment (that runs on a little DELL desktop) via the MileStone SDK. During service startup I receive data from our internal DB which specifies the ‘expected’ CCTV real estate, i.e. management server IP, recording servers, cameras, etc. Then using this info I connect to the management server and once successfully connected send a ProvideCurrentState request via the MessageCommunication class. The response from this (at the time of writing) returned the current state for 14 items within the MessageData property of the message.
As part of my testing I need to ‘bounce’ this DELL desktop containing the management, recording & event server(s) to see the resilience of my service. To do this I (at service start up) register a listener for the ConnectionStateChanged event and upon losing connectivity to the box mark the servers and the cameras connected to them as ‘Lost Comms’ within our app.
However when the box restarts and connectivity is restored which i get a ConnectionStateChanged event notification about for again, when I send a ProvideCurrentState request this time the response was the same as before but minus the management server. Meaning that I only update the the connectivity state to ‘Healthy’ for the recording servers and cameras but NOT the management server. To me and my team here this behaviour appears to be a bug but IF this by design, then how do we get the current state of the management server?
Thanks in advance,
Andy