public void send_commitUpdateProfile(int seq, List<ProfileAttribute> attrs, List<string> receiverMids) #endif { oprot_.WriteMessageBegin(new TMessage("commitUpdateProfile", TMessageType.Call, seqid_)); commitUpdateProfile_args args = new commitUpdateProfile_args(); args.Seq = seq; args.Attrs = attrs; args.ReceiverMids = receiverMids; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void commitUpdateProfile_Process(int seqid, TProtocol iprot, TProtocol oprot) { commitUpdateProfile_args args = new commitUpdateProfile_args(); args.Read(iprot); iprot.ReadMessageEnd(); commitUpdateProfile_result result = new commitUpdateProfile_result(); try { result.Success = iface_.commitUpdateProfile(args.Seq, args.Attrs, args.ReceiverMids); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("commitUpdateProfile", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }