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