public void OnFailure(PushServerException e) { rwlock.AcquireReaderLock(lockt); try { foreach (ILightstreamerListener listener in listeners) { listener.OnStatusChange(LightstreamerConnectionHandler.ERROR, "Server failure" + e.ToString()); } } finally { rwlock.ReleaseReaderLock(); } }
public override void OnFailure(PushServerException e) { Log.Instance.WriteEntry("Failure: " + e.ToString(), EventLogEntryType.Error); base.OnFailure(e); }
public override void OnDataError(PushServerException e) { Log.Instance.WriteEntry("Data error: " + e.ToString(), EventLogEntryType.Error); base.OnDataError(e); }
public void OnFailure(PushServerException e) { listener.OnStatusChange(phase, LightstreamerConnectionHandler.DISCONNECTED, "Server failure" + e.ToString()); reconnect = true; }