KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > SOFA > SOFAnode > InOut > Connector > InOut2InOutSRole


1 /**
2  * InOut2InOutSRole.java is a part of the SOFA project.
3  * This file was created by pepan on 18.4.2003.
4  */

5 package SOFA.SOFAnode.InOut.Connector;
6
7 import SOFA.Connector.RoleBaseImpl;
8 import SOFA.SOFAnode.InOut.Bundle;
9 import SOFA.SOFAnode.InOut.InOut2InOut;
10 import SOFA.SOFAnode.InOut.InOutException;
11 import SOFA.SOFAnode.TR.ComponentInfo;
12
13 /**
14  *
15  * @author Petr Panuska
16  */

17 public class InOut2InOutSRole extends RoleBaseImpl implements CNInOut2InOut {
18   InOut2InOut target;
19
20   public void link (Object JavaDoc target) throws SOFA.Connector.LinkException {
21     this.target = (InOut2InOut) target;
22   }
23
24   public Bundle pullBundle (ComponentInfo[] descs, ComponentInfo[] comps, boolean inferiors) throws InOutException {
25     return target.pullBundle(descs, comps, inferiors);
26   }
27
28   public void pushBundle (Bundle bundle) throws InOutException {
29     target.pushBundle(bundle);
30   }
31
32 }
33
Popular Tags