public void OnFailure(PushConnException e) { this.queue.Add(delegate { this.target.OnFailure(e); }); this.streamingTested.Set(); }
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; }
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"); }
public virtual void OnFailure(PushConnException e) { }