Example #1
0
 public static Ice.DispatchStatus update_user_info___(AppService obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.startReadParams();
     IceInternal.ParamPatcher<minie.irpc.cm_user_rpc> userInfo__PP = new IceInternal.ParamPatcher<minie.irpc.cm_user_rpc>(minie.irpc.cm_user_rpc.ice_staticId());
     is__.readObject(userInfo__PP);
     is__.readPendingObjects();
     inS__.endReadParams();
     try
     {
         int ret__ = obj__.update_user_info(userInfo__PP.value, current__);
         IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
         os__.writeInt(ret__);
         inS__.endWriteParams__(true);
         return Ice.DispatchStatus.DispatchOK;
     }
     catch(minie.irpc.InvalidDataError ex__)
     {
         inS__.writeUserException__(ex__, Ice.FormatType.DefaultFormat);
         return Ice.DispatchStatus.DispatchUserException;
     }
 }