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