public void startTask_Process(int seqid, TProtocol iprot, TProtocol oprot) { startTask_args args = new startTask_args(); args.Read(iprot); iprot.ReadMessageEnd(); startTask_result result = new startTask_result(); iface_.startTask(args.Name); oprot.WriteMessageBegin(new TMessage("startTask", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void recv_startTask() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } startTask_result result = new startTask_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); return; }