Exemple #1
0
 /** Initialize the component and connect to the ORB. */
 public void initialize() throws IllegalActionException {
   try {
     super.initialize();
     _orb = new Orb(StringToken.convert(orbname.getToken()).stringValue(), "r");
     _orb.select(StringToken.convert(srcname.getToken()).stringValue());
     _orb.after(0);
   } catch (Exception e) {
     throw new IllegalActionException(
         this, "Couldn't connect to Orb." + " (" + e.getMessage() + ")");
   }
 }