public void dump_Process(int seqid, TProtocol iprot, TProtocol oprot) { dump_args args = new dump_args(); args.Read(iprot); iprot.ReadMessageEnd(); dump_result result = new dump_result(); iface_.dump(args.Task); oprot.WriteMessageBegin(new TMessage("dump", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void recv_dump() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } dump_result result = new dump_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); return; }