public java.util.Map<java.lang.Integer, Event> listEvents(java.util.Map<String, String> __ctx)
     throws IceInternal.LocalExceptionWrapper {
   IceInternal.Outgoing __og =
       __handler.getOutgoing("listEvents", Ice.OperationMode.Normal, __ctx);
   try {
     boolean __ok = __og.invoke();
     try {
       if (!__ok) {
         try {
           __og.throwUserException();
         } catch (Ice.UserException __ex) {
           throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
         }
       }
       IceInternal.BasicStream __is = __og.is();
       __is.startReadEncaps();
       java.util.Map<java.lang.Integer, Event> __ret;
       __ret = eventsHelper.read(__is);
       __is.readPendingObjects();
       __is.endReadEncaps();
       return __ret;
     } catch (Ice.LocalException __ex) {
       throw new IceInternal.LocalExceptionWrapper(__ex, false);
     }
   } finally {
     __handler.reclaimOutgoing(__og);
   }
 }
 public DaqUnitChannelPrx getChannel(java.util.Map<String, String> __ctx)
     throws IceInternal.LocalExceptionWrapper {
   IceInternal.Outgoing __og =
       __handler.getOutgoing("getChannel", Ice.OperationMode.Idempotent, __ctx);
   try {
     boolean __ok = __og.invoke();
     try {
       if (!__ok) {
         try {
           __og.throwUserException();
         } catch (Ice.UserException __ex) {
           throw new Ice.UnknownUserException(__ex.ice_name());
         }
       }
       IceInternal.BasicStream __is = __og.is();
       __is.startReadEncaps();
       DaqUnitChannelPrx __ret;
       __ret = DaqUnitChannelPrxHelper.__read(__is);
       __is.endReadEncaps();
       return __ret;
     } catch (Ice.LocalException __ex) {
       throw new IceInternal.LocalExceptionWrapper(__ex, false);
     }
   } finally {
     __handler.reclaimOutgoing(__og);
   }
 }
 public void setNOrder(
     int nOrder,
     java.util.Map<String, String> __ctx,
     Ice.Instrumentation.InvocationObserver __observer)
     throws IceInternal.LocalExceptionWrapper {
   IceInternal.Outgoing __og =
       __handler.getOutgoing("setNOrder", Ice.OperationMode.Idempotent, __ctx, __observer);
   try {
     try {
       IceInternal.BasicStream __os = __og.startWriteParams(Ice.FormatType.DefaultFormat);
       __os.writeInt(nOrder);
       __og.endWriteParams();
     } catch (Ice.LocalException __ex) {
       __og.abort(__ex);
     }
     boolean __ok = __og.invoke();
     if (__og.hasResponse()) {
       try {
         if (!__ok) {
           try {
             __og.throwUserException();
           } catch (Ice.UserException __ex) {
             throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
           }
         }
         __og.readEmptyParams();
       } catch (Ice.LocalException __ex) {
         throw new IceInternal.LocalExceptionWrapper(__ex, false);
       }
     }
   } finally {
     __handler.reclaimOutgoing(__og);
   }
 }
 public void createSignal(long[] dims, java.util.Map<String, String> __ctx)
     throws IceInternal.LocalExceptionWrapper {
   IceInternal.Outgoing __og =
       __handler.getOutgoing("createSignal", Ice.OperationMode.Idempotent, __ctx);
   try {
     try {
       IceInternal.BasicStream __os = __og.os();
       DimensionListHelper.write(__os, dims);
     } catch (Ice.LocalException __ex) {
       __og.abort(__ex);
     }
     boolean __ok = __og.invoke();
     if (!__og.is().isEmpty()) {
       try {
         if (!__ok) {
           try {
             __og.throwUserException();
           } catch (Ice.UserException __ex) {
             throw new Ice.UnknownUserException(__ex.ice_name());
           }
         }
         __og.is().skipEmptyEncaps();
       } catch (Ice.LocalException __ex) {
         throw new IceInternal.LocalExceptionWrapper(__ex, false);
       }
     }
   } finally {
     __handler.reclaimOutgoing(__og);
   }
 }
 public void setFields(
     DaqUnitChannelDataFields fields, String[] fieldNames, java.util.Map<String, String> __ctx)
     throws IceInternal.LocalExceptionWrapper {
   IceInternal.Outgoing __og =
       __handler.getOutgoing("setFields", Ice.OperationMode.Idempotent, __ctx);
   try {
     try {
       IceInternal.BasicStream __os = __og.os();
       fields.__write(__os);
       FieldNameListHelper.write(__os, fieldNames);
     } catch (Ice.LocalException __ex) {
       __og.abort(__ex);
     }
     boolean __ok = __og.invoke();
     if (!__og.is().isEmpty()) {
       try {
         if (!__ok) {
           try {
             __og.throwUserException();
           } catch (Ice.UserException __ex) {
             throw new Ice.UnknownUserException(__ex.ice_name());
           }
         }
         __og.is().skipEmptyEncaps();
       } catch (Ice.LocalException __ex) {
         throw new IceInternal.LocalExceptionWrapper(__ex, false);
       }
     }
   } finally {
     __handler.reclaimOutgoing(__og);
   }
 }
 public void appendToSignal(double[] t, int[] data, java.util.Map<String, String> __ctx)
     throws IceInternal.LocalExceptionWrapper {
   IceInternal.Outgoing __og =
       __handler.getOutgoing("appendToSignal", Ice.OperationMode.Normal, __ctx);
   try {
     try {
       IceInternal.BasicStream __os = __og.os();
       TimestampListHelper.write(__os, t);
       Int32ListHelper.write(__os, data);
     } catch (Ice.LocalException __ex) {
       __og.abort(__ex);
     }
     boolean __ok = __og.invoke();
     if (!__og.is().isEmpty()) {
       try {
         if (!__ok) {
           try {
             __og.throwUserException();
           } catch (Ice.UserException __ex) {
             throw new Ice.UnknownUserException(__ex.ice_name());
           }
         }
         __og.is().skipEmptyEncaps();
       } catch (Ice.LocalException __ex) {
         throw new IceInternal.LocalExceptionWrapper(__ex, false);
       }
     }
   } finally {
     __handler.reclaimOutgoing(__og);
   }
 }
 public String getConsulenti(
     java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
     throws IceInternal.LocalExceptionWrapper {
   IceInternal.Outgoing __og =
       __handler.getOutgoing("getConsulenti", Ice.OperationMode.Normal, __ctx, __observer);
   try {
     __og.writeEmptyParams();
     boolean __ok = __og.invoke();
     try {
       if (!__ok) {
         try {
           __og.throwUserException();
         } catch (Ice.UserException __ex) {
           throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
         }
       }
       IceInternal.BasicStream __is = __og.startReadParams();
       String __ret;
       __ret = __is.readString();
       __og.endReadParams();
       return __ret;
     } catch (Ice.LocalException __ex) {
       throw new IceInternal.LocalExceptionWrapper(__ex, false);
     }
   } finally {
     __handler.reclaimOutgoing(__og);
   }
 }
 public TimeAxisInfo getTimeAxisInfo(double[] t, java.util.Map<String, String> __ctx)
     throws IceInternal.LocalExceptionWrapper {
   IceInternal.Outgoing __og =
       __handler.getOutgoing("getTimeAxisInfo", Ice.OperationMode.Idempotent, __ctx);
   try {
     try {
       IceInternal.BasicStream __os = __og.os();
       TimestampListHelper.write(__os, t);
     } catch (Ice.LocalException __ex) {
       __og.abort(__ex);
     }
     boolean __ok = __og.invoke();
     try {
       if (!__ok) {
         try {
           __og.throwUserException();
         } catch (Ice.UserException __ex) {
           throw new Ice.UnknownUserException(__ex.ice_name());
         }
       }
       IceInternal.BasicStream __is = __og.is();
       __is.startReadEncaps();
       TimeAxisInfo __ret;
       __ret = new TimeAxisInfo();
       __ret.__read(__is);
       __is.endReadEncaps();
       return __ret;
     } catch (Ice.LocalException __ex) {
       throw new IceInternal.LocalExceptionWrapper(__ex, false);
     }
   } finally {
     __handler.reclaimOutgoing(__og);
   }
 }
 public PlaceTyp getWaypointPlace(
     java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
     throws IceInternal.LocalExceptionWrapper {
   IceInternal.Outgoing __og =
       __handler.getOutgoing("getWaypointPlace", Ice.OperationMode.Idempotent, __ctx, __observer);
   try {
     __og.writeEmptyParams();
     boolean __ok = __og.invoke();
     try {
       if (!__ok) {
         try {
           __og.throwUserException();
         } catch (Ice.UserException __ex) {
           throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
         }
       }
       IceInternal.BasicStream __is = __og.startReadParams();
       PlaceTypHolder __ret = new PlaceTypHolder();
       __is.readObject(__ret);
       __is.readPendingObjects();
       __og.endReadParams();
       return __ret.value;
     } catch (Ice.LocalException __ex) {
       throw new IceInternal.LocalExceptionWrapper(__ex, false);
     }
   } finally {
     __handler.reclaimOutgoing(__og);
   }
 }
Beispiel #10
0
 public void abandon(ListenerPrx list, String accessToken, java.util.Map<String, String> __ctx)
     throws IceInternal.LocalExceptionWrapper, AccessDenied {
   IceInternal.Outgoing __og = __handler.getOutgoing("abandon", Ice.OperationMode.Normal, __ctx);
   try {
     try {
       IceInternal.BasicStream __os = __og.os();
       ListenerPrxHelper.__write(__os, list);
       __os.writeString(accessToken);
     } catch (Ice.LocalException __ex) {
       __og.abort(__ex);
     }
     boolean __ok = __og.invoke();
     try {
       if (!__ok) {
         try {
           __og.throwUserException();
         } catch (AccessDenied __ex) {
           throw __ex;
         } catch (Ice.UserException __ex) {
           throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
         }
       }
       __og.is().skipEmptyEncaps();
     } catch (Ice.LocalException __ex) {
       throw new IceInternal.LocalExceptionWrapper(__ex, false);
     }
   } finally {
     __handler.reclaimOutgoing(__og);
   }
 }
Beispiel #11
0
 public boolean use(String accessToken, java.util.Map<String, String> __ctx)
     throws IceInternal.LocalExceptionWrapper, AccessDenied {
   IceInternal.Outgoing __og = __handler.getOutgoing("use", Ice.OperationMode.Normal, __ctx);
   try {
     try {
       IceInternal.BasicStream __os = __og.os();
       __os.writeString(accessToken);
     } catch (Ice.LocalException __ex) {
       __og.abort(__ex);
     }
     boolean __ok = __og.invoke();
     try {
       if (!__ok) {
         try {
           __og.throwUserException();
         } catch (AccessDenied __ex) {
           throw __ex;
         } catch (Ice.UserException __ex) {
           throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
         }
       }
       IceInternal.BasicStream __is = __og.is();
       __is.startReadEncaps();
       boolean __ret;
       __ret = __is.readBool();
       __is.endReadEncaps();
       return __ret;
     } catch (Ice.LocalException __ex) {
       throw new IceInternal.LocalExceptionWrapper(__ex, false);
     }
   } finally {
     __handler.reclaimOutgoing(__og);
   }
 }
 public String delete(int eventId, User u, java.util.Map<String, String> __ctx)
     throws IceInternal.LocalExceptionWrapper {
   IceInternal.Outgoing __og = __handler.getOutgoing("delete", Ice.OperationMode.Normal, __ctx);
   try {
     try {
       IceInternal.BasicStream __os = __og.os();
       __os.writeInt(eventId);
       u.__write(__os);
     } catch (Ice.LocalException __ex) {
       __og.abort(__ex);
     }
     boolean __ok = __og.invoke();
     try {
       if (!__ok) {
         try {
           __og.throwUserException();
         } catch (Ice.UserException __ex) {
           throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
         }
       }
       IceInternal.BasicStream __is = __og.is();
       __is.startReadEncaps();
       String __ret;
       __ret = __is.readString();
       __is.endReadEncaps();
       return __ret;
     } catch (Ice.LocalException __ex) {
       throw new IceInternal.LocalExceptionWrapper(__ex, false);
     }
   } finally {
     __handler.reclaimOutgoing(__og);
   }
 }
 public boolean authorize(
     SSLInfo info, Ice.StringHolder reason, java.util.Map<String, String> __ctx)
     throws IceInternal.LocalExceptionWrapper {
   IceInternal.Outgoing __og =
       __handler.getOutgoing("authorize", Ice.OperationMode.Nonmutating, __ctx);
   try {
     try {
       IceInternal.BasicStream __os = __og.os();
       info.__write(__os);
     } catch (Ice.LocalException __ex) {
       __og.abort(__ex);
     }
     boolean __ok = __og.invoke();
     try {
       if (!__ok) {
         try {
           __og.throwUserException();
         } catch (Ice.UserException __ex) {
           throw new Ice.UnknownUserException(__ex.ice_name());
         }
       }
       IceInternal.BasicStream __is = __og.is();
       __is.startReadEncaps();
       reason.value = __is.readString();
       boolean __ret;
       __ret = __is.readBool();
       __is.endReadEncaps();
       return __ret;
     } catch (Ice.LocalException __ex) {
       throw new IceInternal.LocalExceptionWrapper(__ex, false);
     }
   } finally {
     __handler.reclaimOutgoing(__og);
   }
 }
 public void creaTask(
     String aNomeProgetto,
     String aNomeSottoprogetto,
     String aDescrizione,
     int aIdConsulente,
     double quantita,
     String unita,
     String nomeTask,
     java.util.Map<String, String> __ctx,
     Ice.Instrumentation.InvocationObserver __observer)
     throws IceInternal.LocalExceptionWrapper {
   IceInternal.Outgoing __og =
       __handler.getOutgoing("creaTask", Ice.OperationMode.Normal, __ctx, __observer);
   try {
     try {
       IceInternal.BasicStream __os = __og.startWriteParams(Ice.FormatType.DefaultFormat);
       __os.writeString(aNomeProgetto);
       __os.writeString(aNomeSottoprogetto);
       __os.writeString(aDescrizione);
       __os.writeInt(aIdConsulente);
       __os.writeDouble(quantita);
       __os.writeString(unita);
       __os.writeString(nomeTask);
       __og.endWriteParams();
     } catch (Ice.LocalException __ex) {
       __og.abort(__ex);
     }
     boolean __ok = __og.invoke();
     if (__og.hasResponse()) {
       try {
         if (!__ok) {
           try {
             __og.throwUserException();
           } catch (Ice.UserException __ex) {
             throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
           }
         }
         __og.readEmptyParams();
       } catch (Ice.LocalException __ex) {
         throw new IceInternal.LocalExceptionWrapper(__ex, false);
       }
     }
   } finally {
     __handler.reclaimOutgoing(__og);
   }
 }
 public String getInfoTask(
     String nomeProgetto,
     String nomeSottoprogetto,
     String nomeTask,
     java.util.Map<String, String> __ctx,
     Ice.Instrumentation.InvocationObserver __observer)
     throws IceInternal.LocalExceptionWrapper {
   IceInternal.Outgoing __og =
       __handler.getOutgoing("getInfoTask", Ice.OperationMode.Normal, __ctx, __observer);
   try {
     try {
       IceInternal.BasicStream __os = __og.startWriteParams(Ice.FormatType.DefaultFormat);
       __os.writeString(nomeProgetto);
       __os.writeString(nomeSottoprogetto);
       __os.writeString(nomeTask);
       __og.endWriteParams();
     } catch (Ice.LocalException __ex) {
       __og.abort(__ex);
     }
     boolean __ok = __og.invoke();
     try {
       if (!__ok) {
         try {
           __og.throwUserException();
         } catch (Ice.UserException __ex) {
           throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
         }
       }
       IceInternal.BasicStream __is = __og.startReadParams();
       String __ret;
       __ret = __is.readString();
       __og.endReadParams();
       return __ret;
     } catch (Ice.LocalException __ex) {
       throw new IceInternal.LocalExceptionWrapper(__ex, false);
     }
   } finally {
     __handler.reclaimOutgoing(__og);
   }
 }
 public Int32Signal getSignalDataByIndexRange(
     long idxStart,
     long idxStep,
     long idxEnd,
     ArraySlice[] slices,
     java.util.Map<String, String> __ctx)
     throws IceInternal.LocalExceptionWrapper {
   IceInternal.Outgoing __og =
       __handler.getOutgoing("getSignalDataByIndexRange", Ice.OperationMode.Idempotent, __ctx);
   try {
     try {
       IceInternal.BasicStream __os = __og.os();
       __os.writeLong(idxStart);
       __os.writeLong(idxStep);
       __os.writeLong(idxEnd);
       ArraySliceListHelper.write(__os, slices);
     } catch (Ice.LocalException __ex) {
       __og.abort(__ex);
     }
     boolean __ok = __og.invoke();
     try {
       if (!__ok) {
         try {
           __og.throwUserException();
         } catch (Ice.UserException __ex) {
           throw new Ice.UnknownUserException(__ex.ice_name());
         }
       }
       IceInternal.BasicStream __is = __og.is();
       __is.startReadEncaps();
       Int32Signal __ret;
       __ret = new Int32Signal();
       __ret.__read(__is);
       __is.endReadEncaps();
       return __ret;
     } catch (Ice.LocalException __ex) {
       throw new IceInternal.LocalExceptionWrapper(__ex, false);
     }
   } finally {
     __handler.reclaimOutgoing(__og);
   }
 }
 public SessionPrx create(
     String userId, SessionControlPrx control, java.util.Map<String, String> __ctx)
     throws IceInternal.LocalExceptionWrapper, CannotCreateSessionException {
   IceInternal.Outgoing __og = __handler.getOutgoing("create", Ice.OperationMode.Normal, __ctx);
   try {
     try {
       IceInternal.BasicStream __os = __og.os();
       __os.writeString(userId);
       SessionControlPrxHelper.__write(__os, control);
     } catch (Ice.LocalException __ex) {
       __og.abort(__ex);
     }
     boolean __ok = __og.invoke();
     try {
       if (!__ok) {
         try {
           __og.throwUserException();
         } catch (CannotCreateSessionException __ex) {
           throw __ex;
         } catch (Ice.UserException __ex) {
           throw new Ice.UnknownUserException(__ex.ice_name());
         }
       }
       IceInternal.BasicStream __is = __og.is();
       __is.startReadEncaps();
       SessionPrx __ret;
       __ret = SessionPrxHelper.__read(__is);
       __is.endReadEncaps();
       return __ret;
     } catch (Ice.LocalException __ex) {
       throw new IceInternal.LocalExceptionWrapper(__ex, false);
     }
   } finally {
     __handler.reclaimOutgoing(__og);
   }
 }