Exemplo n.º 1
0
 public void end_modifyTransport(Ice.AsyncResult __result) throws GenericError {
   Ice.AsyncResult.__check(__result, this, __modifyTransport_name);
   boolean __ok = __result.__wait();
   try {
     if (!__ok) {
       try {
         __result.__throwUserException();
       } catch (GenericError __ex) {
         throw __ex;
       } catch (Ice.UserException __ex) {
         throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
       }
     }
     __result.__readEmptyParams();
   } catch (Ice.LocalException ex) {
     Ice.Instrumentation.InvocationObserver __obsv = __result.__getObserver();
     if (__obsv != null) {
       __obsv.failed(ex.ice_name());
     }
     throw ex;
   }
 }
Exemplo n.º 2
0
 public byte[] end_abortStream(Ice.AsyncResult __result) {
   Ice.AsyncResult.__check(__result, this, __abortStream_name);
   boolean __ok = __result.__wait();
   try {
     if (!__ok) {
       try {
         __result.__throwUserException();
       } catch (Ice.UserException __ex) {
         throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
       }
     }
     IceInternal.BasicStream __is = __result.__startReadParams();
     byte[] __ret;
     __ret = MarkerHelper.read(__is);
     __result.__endReadParams();
     return __ret;
   } catch (Ice.LocalException ex) {
     Ice.Instrumentation.InvocationObserver __obsv = __result.__getObserver();
     if (__obsv != null) {
       __obsv.failed(ex.ice_name());
     }
     throw ex;
   }
 }