1 5 package SOFA.SOFAnode.TR.Connector; 6 7 import SOFA.SOFAnode.InOut.Bundle; 8 import SOFA.SOFAnode.TR.ComponentInfo; 9 import SOFA.SOFAnode.TR.TRException; 10 11 14 public class TR2InOutLocalStub implements CNTR2InOut { 15 private CNTR2InOut target; 16 17 public TR2InOutLocalStub (CNTR2InOut target) { 18 this.target = target; 19 } 20 21 public void storeBundle (Bundle bundle) throws TRException { 22 target.storeBundle(bundle); 23 } 24 25 public Bundle getBundle (ComponentInfo[] descs, ComponentInfo[] comps, boolean inferiors) throws TRException { 26 return target.getBundle(descs, comps, inferiors); 27 } 28 29 public boolean contains (ComponentInfo descrs) { 30 return target.contains(descrs); 31 } 32 33 public Bundle list () { 34 return target.list(); 35 } 36 37 } 38 | Popular Tags |