public Bool_Float recv_GetValueAsFloat() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } GetValueAsFloat_result result = new GetValueAsFloat_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.success) { return result.Success; } throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "GetValueAsFloat failed: unknown result"); }
public void GetValueAsFloat_Process(int seqid, TProtocol iprot, TProtocol oprot) { GetValueAsFloat_args args = new GetValueAsFloat_args(); args.Read(iprot); iprot.ReadMessageEnd(); GetValueAsFloat_result result = new GetValueAsFloat_result(); result.Success = iface_.GetValueAsFloat(args._id); oprot.WriteMessageBegin(new TMessage("GetValueAsFloat", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }