public void recv_reportSettings() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } reportSettings_result result = new reportSettings_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.e) { throw result.E; } return; }
public void reportSettings_Process(int seqid, TProtocol iprot, TProtocol oprot) { reportSettings_args args = new reportSettings_args(); args.Read(iprot); iprot.ReadMessageEnd(); reportSettings_result result = new reportSettings_result(); try { iface_.reportSettings(args.SyncOpRevision, args.Settings); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("reportSettings", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }