public void startVerification_Process(int seqid, TProtocol iprot, TProtocol oprot) { startVerification_args args = new startVerification_args(); args.Read(iprot); iprot.ReadMessageEnd(); startVerification_result result = new startVerification_result(); try { result.Success = iface_.startVerification(args.Region, args.Carrier, args.Phone, args.UdidHash, args.DeviceInfo, args.NetworkCode, args.Mid, args.Locale); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("startVerification", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_startVerification(string region, CarrierCode carrier, string phone, string udidHash, DeviceInfo deviceInfo, string networkCode, string mid, string locale) #endif { oprot_.WriteMessageBegin(new TMessage("startVerification", TMessageType.Call, seqid_)); startVerification_args args = new startVerification_args(); args.Region = region; args.Carrier = carrier; args.Phone = phone; args.UdidHash = udidHash; args.DeviceInfo = deviceInfo; args.NetworkCode = networkCode; args.Mid = mid; args.Locale = locale; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }