Exemplo n.º 1
0
 public void updatePassword_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   updatePassword_args args = new updatePassword_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   updatePassword_result result = new updatePassword_result();
   try {
     result.Success = iface_.updatePassword(args.OldPassword, args.NewPassword, args.Session);
   } catch (UserException ex) {
     result.Ex = ex;
   } catch (SessionException se) {
     result.Se = se;
   }
   oprot.WriteMessageBegin(new TMessage("updatePassword", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }