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);
   }
 }
コード例 #2
0
 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);
   }
 }
 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);
   }
 }