public void resendPinCode_Process(int seqid, TProtocol iprot, TProtocol oprot) { resendPinCode_args args = new resendPinCode_args(); args.Read(iprot); iprot.ReadMessageEnd(); resendPinCode_result result = new resendPinCode_result(); try { iface_.resendPinCode(args.SessionId); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("resendPinCode", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void recv_resendPinCode() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } resendPinCode_result result = new resendPinCode_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.e) { throw result.E; } return; }