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