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 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 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 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 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); } }
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 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); } }