Inheritance: System.Exception
 public void OnFailure(PushConnException e)
 {
     this.queue.Add(delegate {
         this.target.OnFailure(e);
     });
     this.streamingTested.Set();
 }
Esempio n. 2
0
            public virtual void OnFailure(PushConnException e)
            {
                IConnectionListener activeListener = this.enclosingInstance.GetActiveListener(this.currPhase);

                if (activeListener != null)
                {
                    try
                    {
                        activeListener.OnFailure(e);
                    }
                    catch (Exception)
                    {
                    }
                }
            }
 public void OnFailure(PushConnException e)
 {
     listener.OnStatusChange(phase, LightstreamerConnectionHandler.DISCONNECTED, "Connection failure " + e);
     reconnect = true;
 }
Esempio n. 4
0
 public virtual bool OnFailure(PushConnException e)
 {
     NotificationQueue.Notify fun = null;
     IConnectionListener activeListener = this.owner.GetActiveListener(this.currPhase);
     lock (this)
     {
         if ((activeListener != null) && !this.failed)
         {
             this.failed = true;
             if (fun == null)
             {
                 fun = delegate {
                     activeListener.OnFailure(e);
                 };
             }
             this.queue.Add(fun);
             return true;
         }
         return false;
     }
 }
 public void OnFailure(PushConnException e)
 {
     this.onDisconnection("Connection failure: " + e.Message);
 }
 public void OnFailure(PushConnException e) {
     this.onDisconnection("Connection failure");
 }
Esempio n. 7
0
        public virtual void OnFailure(PushConnException e)
        {

        }
Esempio n. 8
0
 public virtual void OnFailure(PushConnException e)
 {
     IConnectionListener activeListener = this.enclosingInstance.GetActiveListener(this.currPhase);
     if (activeListener != null)
     {
         try
         {
             activeListener.OnFailure(e);
         }
         catch (Exception)
         {
         }
     }
 }