class PushDataCommandHandler implements ICommandHandler {

    @Override
    public void handle() {
        Frame frame = inputWithAllocator.findFreeFrame();

        if (frame == null) {
            //log.info("Decoder has no free input buffers");
            restoreCommands();
            return;
        }

        output.pull(frame);
        plugin.push(frame);
        plugin.checkIfOutputQueueHasData();
    }

    public  PushDataCommandHandler(IOutput output, Plugin plugin, IFrameAllocator frameAllocator);

}