public void describe_version_Process(int seqid, TProtocol iprot, TProtocol oprot) { describe_version_args args = new describe_version_args(); args.Read(iprot); iprot.ReadMessageEnd(); describe_version_result result = new describe_version_result(); result.Success = iface_.describe_version(); oprot.WriteMessageBegin(new TMessage("describe_version", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public string recv_describe_version() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } describe_version_result result = new describe_version_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.success) { return result.Success; } throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "describe_version failed: unknown result"); }