KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > openccm > Containers > MetaInformation > EmitterPortInstanceImpl


1 /*====================================================================
2
3 created on 21 mars 2003
4
5 OpenCCM: The Open CORBA Component Model Platform
6 Copyright (C) 2001-2002 USTL - LIFL - GOAL
7 Contact: openccm-team@objectweb.org
8
9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Lesser General Public
11 License as published by the Free Software Foundation; either
12 version 2.1 of the License, or any later version.
13
14 This library is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 Lesser General Public License for more details.
18
19 You should have received a copy of the GNU Lesser General Public
20 License along with this library; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
22 USA
23
24 Initial developer(s): Hameau Fabien.
25 Contributor(s): ______________________________________.
26
27 */

28
29 package org.objectweb.openccm.Containers.MetaInformation;
30
31 import org.omg.Components.EventConsumerBase;
32
33 /**
34  * @author hameau
35  */

36 public class EmitterPortInstanceImpl
37 extends EventPortInstanceImpl
38 implements EmitterPortInstance {
39
40   protected EventConsumerBase _consumer;
41
42   public EmitterPortInstanceImpl()
43   {
44     _consumer = null;
45   }
46
47   /* (non-Javadoc)
48    * @see org.objectweb.openccm.Containers.MetaInformation.EmitterPortInstanceOperations#consumer()
49    */

50   public EventConsumerBase consumer()
51   {
52     return _consumer;
53   }
54
55   /* (non-Javadoc)
56    * @see org.objectweb.openccm.Containers.MetaInformation.EmitterPortInstanceOperations#consumer(org.omg.Components.EventConsumerBase)
57    */

58   public void consumer(EventConsumerBase value)
59   {
60     _consumer = value;
61   }
62
63     
64 }
65
Popular Tags