public void updateSettings_Process(int seqid, TProtocol iprot, TProtocol oprot) { updateSettings_args args = new updateSettings_args(); args.Read(iprot); iprot.ReadMessageEnd(); updateSettings_result result = new updateSettings_result(); try { iface_.updateSettings(args.ReqSeq, args.Settings); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("updateSettings", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_updateSettings(int reqSeq, Settings settings) #endif { oprot_.WriteMessageBegin(new TMessage("updateSettings", TMessageType.Call, seqid_)); updateSettings_args args = new updateSettings_args(); args.ReqSeq = reqSeq; args.Settings = settings; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }