Exemplo n.º 1
0
 public static Ice.DispatchStatus reset_password___(AppAuth obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.startReadParams();
     string pw;
     string verifyCode;
     pw = is__.readString();
     verifyCode = is__.readString();
     inS__.endReadParams();
     try
     {
         int ret__ = obj__.reset_password(pw, verifyCode, current__);
         IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
         os__.writeInt(ret__);
         inS__.endWriteParams__(true);
         return Ice.DispatchStatus.DispatchOK;
     }
     catch(minie.irpc.VerificationError ex__)
     {
         inS__.writeUserException__(ex__, Ice.FormatType.DefaultFormat);
         return Ice.DispatchStatus.DispatchUserException;
     }
 }