KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > dream > protocol > causality > CausalityTransformerAttributeController


1 /**
2  * Dream
3  * Copyright (C) 2003-2004 INRIA Rhone-Alpes
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18  *
19  * Contact: dream@objectweb.org
20  *
21  * Initial developer(s): Matthieu Leclercq
22  * Contributor(s):
23  */

24
25 package org.objectweb.dream.protocol.causality;
26
27 import org.objectweb.fractal.api.control.AttributeController;
28
29 /**
30  * Causality message transformer attribute controller interface. It defines :
31  * <ul>
32  * <li>the name of the {@link org.objectweb.dream.protocol.ArrowChunk }used to
33  * know the source or the destination process of messages.</li>
34  * <li>the name of the {@link CausalityChunk }where the matrix clock, or the
35  * updates are stored.</li>
36  * </ul>
37  */

38 public interface CausalityTransformerAttributeController
39     extends
40       AttributeController
41 {
42
43   /**
44    * Returns the name of the {@link org.objectweb.dream.protocol.ArrowChunk }
45    * used to know the source or the destination process of messages.
46    *
47    * @return the name of the {@link org.objectweb.dream.protocol.ArrowChunk }
48    * used to know the source or the destination process of messages.
49    */

50   String JavaDoc getArrowChunkName();
51
52   /**
53    * Sets the name of the {@link org.objectweb.dream.protocol.ArrowChunk }used
54    * to know the source or the destination process of messages.
55    *
56    * @param arrowChunkName the name of the
57    * {@link org.objectweb.dream.protocol.ArrowChunk }used to know the
58    * source or the destination process of messages.
59    */

60   void setArrowChunkName(String JavaDoc arrowChunkName);
61
62   /**
63    * Returns the name of the {@link CausalityChunk }where the matrix clock, or
64    * the updates are stored.
65    *
66    * @return the name of the {@link CausalityChunk }where the matrix clock, or
67    * the updates are stored.
68    */

69   String JavaDoc getCausalityChunkName();
70
71   /**
72    * Sets the name of the {@link CausalityChunk }where the matrix clock, or the
73    * updates are stored.
74    *
75    * @param causalityChunkName the name of the {@link CausalityChunk }where the
76    * matrix clock, or the updates are stored.
77    */

78   void setCausalityChunkName(String JavaDoc causalityChunkName);
79
80 }
Popular Tags