01: package net.javacoding.jspider.api.event;
02:
03: /**
04: * Interface that will be implemented upon each class that will be used as an
05: * event sink for JSpider API events.
06: *
07: * $Id: EventSink.java,v 1.3 2003/02/27 16:47:31 vanrogu Exp $
08: *
09: * @author Günther Van Roey
10: */
11: public interface EventSink {
12:
13: public void initialize();
14:
15: public void shutdown();
16:
17: /**
18: * Notifies the event sink of a new event.
19: * @param event the event that occurred
20: */
21: public void notify(JSpiderEvent event);
22: }
|