Example #1
0
 public void requestAccountPasswordReset_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   requestAccountPasswordReset_args args = new requestAccountPasswordReset_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   requestAccountPasswordReset_result result = new requestAccountPasswordReset_result();
   try {
     iface_.requestAccountPasswordReset(args.Provider, args.Identifier, args.Locale);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("requestAccountPasswordReset", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Example #2
0
 public void recv_requestAccountPasswordReset()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   requestAccountPasswordReset_result result = new requestAccountPasswordReset_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   if (result.__isset.e) {
     throw result.E;
   }
   return;
 }