예제 #1
0
            public virtual void OnDataError(PushServerException e)
            {
                IConnectionListener activeListener = this.enclosingInstance.GetActiveListener(this.currPhase);

                if (activeListener != null)
                {
                    try
                    {
                        activeListener.OnDataError(e);
                    }
                    catch (Exception)
                    {
                    }
                }
            }
예제 #2
0
            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)
                        {
                        }
                    }
                }
            }