private void TemporalSubscription_ConnectionTerminated(object sender, EventArgs e)
{
m_connected = false;
try
{
// Disable data monitor
m_dataStreamMonitor.Enabled = false;
// If temporal subscription is currently enabled - connection termination was not expected
if ((object)m_temporalSubscription != null)
m_abnormalTermination = m_temporalSubscription.Enabled;
}
finally
{
m_dataGapRecoveryCompleted.Set();
}
}