Beispiel #1
0
 public void OnFailure(PushConnException e)
 {
     rwlock.AcquireReaderLock(lockt);
     try
     {
         foreach (ILightstreamerListener listener in listeners)
         {
             listener.OnStatusChange(LightstreamerConnectionHandler.ERROR,
                                     "Connection failure " + e.ToString());
         }
     }
     finally
     {
         rwlock.ReleaseReaderLock();
     }
 }
Beispiel #2
0
 public override void OnFailure(PushConnException e)
 {
     Log.Instance.WriteEntry("Failure: " + e.ToString(), EventLogEntryType.Error);
     base.OnFailure(e);
 }
Beispiel #3
0
 public void OnFailure(PushConnException e)
 {
     listener.OnStatusChange(phase, LightstreamerConnectionHandler.DISCONNECTED, "Connection failure " + e.ToString());
     reconnect = true;
 }