コード例 #1
0
 observerCompleted(Ice.AsyncResult result)
 {
     try
     {
         result.throwLocalException();
     }
     catch (Ice.LocalException ex)
     {
         lock (this)
         {
             ServiceObserverPrx observer = ServiceObserverPrxHelper.uncheckedCast(result.getProxy());
             if (_observers.Remove(observer))
             {
                 observerRemoved(observer, ex);
             }
         }
     }
 }