KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ejtools > graph > service > GraphConsumer


1 /*
2  * EJTools, the Enterprise Java Tools
3  *
4  * Distributable under LGPL license.
5  * See terms of license at www.gnu.org.
6  */

7 package org.ejtools.graph.service;
8
9
10 /**
11  * @author Laurent Etiemble
12  * @version $Revision: 1.5 $
13  */

14 public interface GraphConsumer
15 {
16    /**
17     * Adds a feature to the GraphProducer attribute of the GraphService object
18     *
19     * @param producer The feature to be added to the GraphProducer attribute
20     */

21    public void addGraphProducer(GraphProducer producer);
22
23
24    /**
25     * Description of the Method
26     *
27     * @param producer Description of the Parameter
28     */

29    public void removeGraphProducer(GraphProducer producer);
30
31
32    /**
33     * Description of the Method
34     *
35     * @param producer Description of the Parameter
36     * @return Description of the Return Value
37     */

38    public boolean containsGraphProducer(GraphProducer producer);
39
40
41    /**
42     * Sets the consomptionDelay attribute of the GraphConsumer object
43     *
44     * @param value The new consomptionDelay value
45     */

46    public void setDelay(long value);
47 }
48
Popular Tags