KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > javacoding > jspider > api > event > EventSink


1 package net.javacoding.jspider.api.event;
2
3
4 /**
5  * Interface that will be implemented upon each class that will be used as an
6  * event sink for JSpider API events.
7  *
8  * $Id: EventSink.java,v 1.3 2003/02/27 16:47:31 vanrogu Exp $
9  *
10  * @author Günther Van Roey
11  */

12 public interface EventSink {
13
14     public void initialize ( );
15
16     public void shutdown ( );
17
18     /**
19      * Notifies the event sink of a new event.
20      * @param event the event that occurred
21      */

22     public void notify(JSpiderEvent event);
23 }
24
Popular Tags