Beispiel #1
0
 public void finished(Ice.LocalException ex, bool sent)
 {
     _m.Lock();
     if(_remoteObserver != null)
     {
         _remoteObserver.failed(ex.ice_name());
         _remoteObserver.detach();
     }
     try
     {
         _exception = ex;
         _m.Notify();
     }
     finally
     {
         _m.Unlock();
     }
 }
Beispiel #2
0
 private void exception(ref bool haveResponse, Ice.Exception ex)
 {
     haveResponse = true;
     lblStatus.Text = "Exception: " + ex.ice_name();
 }
Beispiel #3
0
 public void finished(Ice.LocalException ex, bool sent)
 {
     _m.Lock();
     try
     {
         Debug.Assert(_state <= StateInProgress);
         if(_remoteObserver != null)
         {
             _remoteObserver.failed(ex.ice_name());
             _remoteObserver.detach();
             _remoteObserver = null;
         }
         _state = StateFailed;
         _exception = ex;
         _sent = sent;
         _m.Notify();
     }
     finally
     {
         _m.Unlock();
     }
 }
Beispiel #4
0
 public void exception(Ice.Exception ex)
 {
     lock(this)
     {
         _response = true;
         _mainForm.lblStatus.Text = "Exception: " + ex.ice_name();
     }
 }