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