Hi,
I developed a backgroud plugin that in Init () phase registers 7 listners on internal Milestone MessageIDs.
It happens all too often that after a few hours of activity, the previously registered listners no longer receive messages,
as if for some reason the message Communication lost them.
Is there any way to check if the listners are still registered?
Is there any event to be intercepted that occurs when the message Communication goes down / up?
registration listner:
public override void Init()
{
MessageCommunicationManager.Start(serverId);
_messageCommunication = MessageCommunicationManager.Get(serverId);
_changeAlarmData = _messageCommunication.RegisterCommunicationFilter(ChangedAlarmMessageHandler, new CommunicationIdFilter(MessageId.Server.ChangedAlarmIndication), null, EndPointType.Server);
_newAlarmData = _messageCommunication.RegisterCommunicationFilter(NewAlarmRecivedHandlerAsync, new CommunicationIdFilter(MessageId.Server.NewAlarmIndication), null, EndPointType.Server);
…
}