public void updateContactSetting_Process(int seqid, TProtocol iprot, TProtocol oprot) { updateContactSetting_args args = new updateContactSetting_args(); args.Read(iprot); iprot.ReadMessageEnd(); updateContactSetting_result result = new updateContactSetting_result(); try { iface_.updateContactSetting(args.ReqSeq, args.Mid, args.Flag, args.Value); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("updateContactSetting", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void recv_updateContactSetting() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } updateContactSetting_result result = new updateContactSetting_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.e) { throw result.E; } return; }