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;
 }
Exemplo n.º 2
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.º 3
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;
   }
 }