class ChunkedWriteHandler extends ChannelDuplexHandler {

    @Override
    public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) throws Exception {
        queue.add(new PendingWrite(msg, promise));
    }

    public  ChunkedWriteHandler();
    @Deprecated public  ChunkedWriteHandler(int maxPendingWrites);

}