You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by bl...@apache.org on 2002/01/28 16:43:28 UTC
cvs commit: jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/event EventHandler.java
bloritsch 02/01/28 07:43:28
Added: src/scratchpad/org/apache/avalon/excalibur/event
EventHandler.java
Log:
add EventHandler interface here
Revision Changes Path
1.1 jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/event/EventHandler.java
Index: EventHandler.java
===================================================================
/*
* Copyright (C) The Apache Software Foundation. All rights reserved.
*
* This software is published under the terms of the Apache Software License
* version 1.1, a copy of which has been included with this distribution in
* the LICENSE.txt file.
*/
package org.apache.avalon.excalibur.event;
import org.apache.avalon.framework.activity.Executable;
import org.apache.avalon.excalibur.event.Signal;
/**
* An EventHandler takes care of processing specific events in an Event Based
* architecture.
*
* @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
*/
public interface EventHandler
{
/**
* Handle one event at a time.
*/
handleEvent( QueueElement element );
/**
* Handle a whole array of events at a time.
*/
handleEvents( QueueElement[] elements );
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>