Exemplo n.º 1
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)
                        {
                        }
                    }
                }
            }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
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)
             {
             }
         }
     }
 }