예제 #1
0
 /** @param controlOutPort */
 public void addControlOutPort(ControlPort controlOutPort) {
   controlOutPort.setKind(Kind.CONTROL_OUT);
   this.controlOutPorts.add(controlOutPort);
   addPort(controlOutPort);
 }
예제 #2
0
 /** @param controlInPort */
 public void setControlInPort(ControlPort controlInPort) {
   controlInPort.setKind(Kind.CONTROL_IN);
   this.controlInPort = controlInPort;
   addPort(this.controlInPort);
 }