1 // Copyright (c) 2000 Just Objects B.V. <just@justobjects.nl>
2 // Distributable under LGPL license. See terms of license at gnu.org.
3 
4 package nl.justobjects.pushlet.core;
5 
6 /**
7  * Abstract Event source from which Events are pulled.
8  *
9  * @version $Id: EventSource.java,v 1.7 2007/11/23 14:33:07 justb Exp $
10 * @author Just van den Broecke - Just Objects &copy;
11 **/
12
13/**
14 * Interface for specifc Event(Pull/Push)Sources.
15 */
16public interface EventSource {
17    /**
18     * Activate the event source.
19     */
20    public void activate();
21
22    /**
23     * Deactivate the event source.
24     */
25    public void passivate();
26
27    /**
28     * Halt the event source.
29     */
30    public void stop();
31}
32
33/*
34  * $Log: EventSource.java,v $
35  * Revision 1.7  2007/11/23 14:33:07  justb
36  * core classes now configurable through factory
37  *
38  * Revision 1.6  2005/02/21 11:50:46  justb
39  * ohase1 of refactoring Subscriber into Session/Controller/Subscriber
40  *
41  * Revision 1.5  2005/02/18 10:07:23  justb
42  * many renamings of classes (make names compact)
43  *
44  * Revision 1.4  2004/09/03 22:35:37  justb
45  * Almost complete rewrite, just checking in now
46  *
47  * Revision 1.3  2003/08/15 08:37:40  justb
48  * fix/add Copyright+LGPL file headers and footers
49  *
50  * Revision 1.2  2003/05/18 16:15:08  justb
51  * support for XML encoded Events
52  *
53  * Revision 1.1.1.1  2002/09/24 21:02:31  justb
54  * import to sourceforge
55  *
56  * Revision 1.1.1.1  2002/09/20 22:48:17  justb
57  * import to SF
58  *
59  * Revision 1.1.1.1  2002/09/20 14:19:03  justb
60  * first import into SF
61  *
62  * Revision 1.3  2002/04/15 20:42:41  just
63  * reformatting and renaming GuardedQueue to EventQueue
64  *
65  * Revision 1.2  2000/08/21 20:48:29  just
66  * added CVS log and id tags plus copyrights
67  *
68  *
69  */
70
71