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