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 recv_updateSettings() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } updateSettings_result result = new updateSettings_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.e) { throw result.E; } return; }