public virtual void OnUpdate(ITableManager table, Lightstreamer.DotNet.Client.ServerUpdateEvent values) { IConnectionListener activeListener = this.enclosingInstance.GetActiveListener(this.currPhase); if (activeListener != null) { try { table.DoUpdate(values); } catch (PushServerException exception) { LSClient.actionsLogger.Debug("Error in received values", exception); try { activeListener.OnDataError(exception); } catch (Exception) { } } } }
public virtual bool OnUpdate(ITableManager table, Lightstreamer.DotNet.Client.ServerUpdateEvent values) { if (this.owner.GetActiveListener(this.currPhase) != null) { try { table.DoUpdate(values); } catch (PushServerException exception) { actionsLogger.Debug("Error in received values", exception); this.OnDataError(exception); } return true; } return false; }