avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/event EventHandler.java
Date Mon, 28 Jan 2002 15:43:28 GMT
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:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message