public void updateProfile_Process(int seqid, TProtocol iprot, TProtocol oprot) { updateProfile_args args = new updateProfile_args(); args.Read(iprot); iprot.ReadMessageEnd(); updateProfile_result result = new updateProfile_result(); try { iface_.updateProfile(args.ReqSeq, args.Profile); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("updateProfile", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_updateProfile(int reqSeq, Profile profile) #endif { oprot_.WriteMessageBegin(new TMessage("updateProfile", TMessageType.Call, seqid_)); updateProfile_args args = new updateProfile_args(); args.ReqSeq = reqSeq; args.Profile = profile; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }