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.6 2005/02/21 11:50:46 justb Exp $10 * @author Just van den Broecke - Just Objects ©11 **/12 13 /** Interface for specifc Event(Pull/Push)Sources. */14 public interface EventSource {15 /** Activate the event source. */16 public void activate();17 18 /** Deactivate the event source. */19 public void passivate();20 21 /** Halt the event source. */22 public void stop();23 }24 25 26 /*27 * $Log: EventSource.java,v $28 * Revision 1.6 2005/02/21 11:50:46 justb29 * ohase1 of refactoring Subscriber into Session/Controller/Subscriber30 *31 * Revision 1.5 2005/02/18 10:07:23 justb32 * many renamings of classes (make names compact)33 *34 * Revision 1.4 2004/09/03 22:35:37 justb35 * Almost complete rewrite, just checking in now36 *37 * Revision 1.3 2003/08/15 08:37:40 justb38 * fix/add Copyright+LGPL file headers and footers39 *40 * Revision 1.2 2003/05/18 16:15:08 justb41 * support for XML encoded Events42 *43 * Revision 1.1.1.1 2002/09/24 21:02:31 justb44 * import to sourceforge45 *46 * Revision 1.1.1.1 2002/09/20 22:48:17 justb47 * import to SF48 *49 * Revision 1.1.1.1 2002/09/20 14:19:03 justb50 * first import into SF51 *52 * Revision 1.3 2002/04/15 20:42:41 just53 * reformatting and renaming GuardedQueue to EventQueue54 *55 * Revision 1.2 2000/08/21 20:48:29 just56 * added CVS log and id tags plus copyrights57 *58 *59 */60 61