1 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 17 public class InOut2InOutSRole extends RoleBaseImpl implements CNInOut2InOut { 18 InOut2InOut target; 19 20 public void link (Object 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 |