View Javadoc

1   /*
2    * @(#) HandlerInterface.java Mar 2, 2004
3    * 
4    * Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
5    * Delft, the Netherlands. All rights reserved.
6    * 
7    * See for project information <a href="http://www.simulation.tudelft.nl/">
8    * www.simulation.tudelft.nl</a>.
9    * 
10   * The source code and binary code of this software is proprietary information 
11   * of Delft University of Technology.
12   */
13  
14  package nl.tudelft.simulation.content;
15  
16  import java.io.Serializable;
17  
18  /***
19   * The HandlerInterface defines what any Handler should be able to do: handle
20   * some Serializable content. <br>
21   * <br>
22   * Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
23   * Delft, the Netherlands. All rights reserved.
24   * 
25   * See for project information <a href="http://www.simulation.tudelft.nl/">
26   * www.simulation.tudelft.nl</a>.
27   * 
28   * The source code and binary code of this software is proprietary information 
29   * of Delft University of Technology.
30   * 
31   * @author <a href="http://www.tbm.tudelft.nl/webstaf/peterja/index.htm">Peter
32   * Jacobs </a>, <a href="mailto:s.p.a.vanhouten@tbm.tudelft.nl">Stijn-Pieter
33   * van Houten </a>, <a
34   * href="http://www.tbm.tudelft.nl/webstaf/alexandv/index.htm">Alexander
35   * Verbraeck </a>
36   * @version $$Revision: 1.2 $$ $$Date: 2005/04/08 10:56:35 $$
37   */
38  public interface HandlerInterface extends Serializable
39  {
40      /***
41       * Method handleContent.
42       * 
43       * @param content the content to be handled, can be of any type
44       * @return a boolean acknowledgement; true or false
45       */
46      boolean handleContent(Serializable content);
47  }