package org.helioviewer.jhv.data.container;

import java.util.List;

import org.helioviewer.jhv.data.datatype.JHVEvent;

/**
 * Interface should be implemented by a class that handles received events by
 * the JHVEventContainer.
 * 
 * @author Bram Bourgoignie (Bram.Bourgoignie)
 */
public interface JHVEventHandler {
    /**
     * New Events were received by the JHVEventContainer.
     * 
     * @param eventList
     *            the list of events that were received
     */
    public abstract void newEventsReceived(List<JHVEvent> eventList);
}

@@ -543,11 +543,135 @@
 ntList);
+%0A%0A    /**%0A     * Informs the JHVEventHandler the cache was changed.%0A     * %0A     */%0A    public abstract void cacheUpdated();
 %0A%7D%0A

Extend the JHVEventHandelr with a cacheUpdate function