public void verifyPhone_Process(int seqid, TProtocol iprot, TProtocol oprot) { verifyPhone_args args = new verifyPhone_args(); args.Read(iprot); iprot.ReadMessageEnd(); verifyPhone_result result = new verifyPhone_result(); try { result.Success = iface_.verifyPhone(args.SessionId, args.PinCode, args.UdidHash); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("verifyPhone", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_verifyPhone(string sessionId, string pinCode, string udidHash) #endif { oprot_.WriteMessageBegin(new TMessage("verifyPhone", TMessageType.Call, seqid_)); verifyPhone_args args = new verifyPhone_args(); args.SessionId = sessionId; args.PinCode = pinCode; args.UdidHash = udidHash; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }