public void appendBatch_Process(int seqid, TProtocol iprot, TProtocol oprot)
            {
                appendBatch_args args = new appendBatch_args();

                args.Read(iprot);
                iprot.ReadMessageEnd();
                appendBatch_result result = new appendBatch_result();

                result.Success = iface_.appendBatch(args.Evts);
                oprot.WriteMessageBegin(new TMessage("appendBatch", TMessageType.Reply, seqid));
                result.Write(oprot);
                oprot.WriteMessageEnd();
                oprot.Transport.Flush();
            }
            public Status recv_appendBatch()
            {
                TMessage msg = iprot_.ReadMessageBegin();

                if (msg.Type == TMessageType.Exception)
                {
                    TApplicationException x = TApplicationException.Read(iprot_);
                    iprot_.ReadMessageEnd();
                    throw x;
                }
                appendBatch_result result = new appendBatch_result();

                result.Read(iprot_);
                iprot_.ReadMessageEnd();
                if (result.__isset.success)
                {
                    return(result.Success);
                }
                throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "appendBatch failed: unknown result");
            }