Exemplo n.º 1
0
 public LabDevice[] end_getLabStatus(Ice.AsyncResult __result) {
   Ice.AsyncResult.__check(__result, this, __getLabStatus_name);
   if (!__result.__wait()) {
     try {
       __result.__throwUserException();
     } catch (Ice.UserException __ex) {
       throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
     }
   }
   LabDevice[] __ret;
   IceInternal.BasicStream __is = __result.__is();
   __is.startReadEncaps();
   __ret = laboratoryDevicesHelper.read(__is);
   __is.endReadEncaps();
   return __ret;
 }
 public final void __completed(Ice.AsyncResult __result) {
   TripRequestTypPrx __proxy = (TripRequestTypPrx) __result.getProxy();
   DateTimePrefsTyp __ret = null;
   try {
     __ret = __proxy.end_getTripDateTimePrefs(__result);
   } catch (Ice.LocalException __ex) {
     exception(__ex);
     return;
   }
   response(__ret);
 }
 public final void __completed(Ice.AsyncResult __result) {
   remoteConfigPrx __proxy = (remoteConfigPrx) __result.getProxy();
   int __ret = 0;
   try {
     __ret = __proxy.end_write(__result);
   } catch (Ice.LocalException __ex) {
     exception(__ex);
     return;
   }
   response(__ret);
 }
 public final void __completed(Ice.AsyncResult __result) {
   UACServicePrx __proxy = (UACServicePrx) __result.getProxy();
   cn.joy.ggg.api.model.UACResponse __ret = null;
   try {
     __ret = __proxy.end_checkLogin(__result);
   } catch (Ice.LocalException __ex) {
     exception(__ex);
     return;
   }
   response(__ret);
 }
 public final void __completed(Ice.AsyncResult __result) {
   PTEncodersPrx __proxy = (PTEncodersPrx) __result.getProxy();
   PTEncodersData __ret = null;
   try {
     __ret = __proxy.end_getPTEncodersData(__result);
   } catch (Ice.LocalException __ex) {
     exception(__ex);
     return;
   }
   response(__ret);
 }
 public final void __completed(Ice.AsyncResult __result) {
   ServerPrx __proxy = (ServerPrx) __result.getProxy();
   try {
     __proxy.end_removeChannel(__result);
   } catch (Ice.UserException __ex) {
     exception(__ex);
     return;
   } catch (Ice.LocalException __ex) {
     exception(__ex);
     return;
   }
   response();
 }
 public final void __completed(Ice.AsyncResult __result) {
   RouterPrx __proxy = (RouterPrx) __result.getProxy();
   try {
     __proxy.end_destroySession(__result);
   } catch (Ice.UserException __ex) {
     exception(__ex);
     return;
   } catch (Ice.LocalException __ex) {
     exception(__ex);
     return;
   }
   response();
 }
 public final void __completed(Ice.AsyncResult __result) {
   DevManagerPrx __proxy = (DevManagerPrx) __result.getProxy();
   try {
     __proxy.end_relaseDev(__result);
   } catch (Ice.UserException __ex) {
     exception(__ex);
     return;
   } catch (Ice.LocalException __ex) {
     exception(__ex);
     return;
   }
   response();
 }
Exemplo n.º 9
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;
   }
 }
 public final void __completed(Ice.AsyncResult __result) {
   JointMotorPrx __proxy = (JointMotorPrx) __result.getProxy();
   MotorState __ret = null;
   try {
     __ret = __proxy.end_getMotorState(__result);
   } catch (Ice.UserException __ex) {
     exception(__ex);
     return;
   } catch (Ice.LocalException __ex) {
     exception(__ex);
     return;
   }
   response(__ret);
 }
 public final void __completed(Ice.AsyncResult __result) {
   AccountPrx __proxy = (AccountPrx) __result.getProxy();
   int __ret = 0;
   try {
     __ret = __proxy.end_getState(__result);
   } catch (Ice.UserException __ex) {
     exception(__ex);
     return;
   } catch (Ice.LocalException __ex) {
     exception(__ex);
     return;
   }
   response(__ret);
 }
Exemplo n.º 12
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;
   }
 }