public void GetSet_Process(int seqid, TProtocol iprot, TProtocol oprot) { GetSet_args args = new GetSet_args(); args.Read(iprot); iprot.ReadMessageEnd(); GetSet_result result = new GetSet_result(); result.Success = iface_.GetSet(args.SetName); oprot.WriteMessageBegin(new TMessage("GetSet", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public CalculonDb.Result recv_GetSet() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } GetSet_result result = new GetSet_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.success) { return result.Success; } throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "GetSet failed: unknown result"); }