public void updateProfileAttribute_Process(int seqid, TProtocol iprot, TProtocol oprot) { updateProfileAttribute_args args = new updateProfileAttribute_args(); args.Read(iprot); iprot.ReadMessageEnd(); updateProfileAttribute_result result = new updateProfileAttribute_result(); try { iface_.updateProfileAttribute(args.ReqSeq, args.Attr, args.Value); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("updateProfileAttribute", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_updateProfileAttribute(int reqSeq, ProfileAttribute attr, string value) #endif { oprot_.WriteMessageBegin(new TMessage("updateProfileAttribute", TMessageType.Call, seqid_)); updateProfileAttribute_args args = new updateProfileAttribute_args(); args.ReqSeq = reqSeq; args.Attr = attr; args.Value = value; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }