Package edu.indiana.extreme.xbaya.component.system

Examples of edu.indiana.extreme.xbaya.component.system.SystemComponentDataPort


            if (port instanceof WSComponentPort) {
                this.componentPort = (WSComponentPort) port;
            }
            if (port instanceof SystemComponentDataPort) {
                // XXX to handle the xwf created by version 2.6.2_XX or earlier.
                SystemComponentDataPort systemPort = (SystemComponentDataPort) port;
                this.componentPort = new WSComponentPort(systemPort.getName(),
                        systemPort.getType(), null);
            }
        }
        return this.componentPort;
    }
View Full Code Here


   */
  public ExitComponent() {
     super();
          setName(NAME);
          setDescription(DESCRIPTION);
          SystemComponentDataPort port = new SystemComponentDataPort(PORT_NAME);
          port.setDescription(PORT_DESCRIPTION);
          this.controlInPort = new ComponentControlPort("exit");

   }
View Full Code Here

   */
  public StreamSourceComponent(String stream, String rate) {
    setName(NAME+":"+stream);
    this.streamName = stream;
    this.rate = rate;
    SystemComponentDataPort port = new SystemComponentDataPort(stream);
    port.setDescription(PORT_DESCRIPTION);
    this.outputs.add(port);
  }
View Full Code Here

    /**
     * Adds additional input port.
     */
    public void addInputPort() {
        IfComponent component = getComponent();
        SystemComponentDataPort input = component.getInputPort();
        SystemDataPort port = input.createPort();
        addInputPort(port);
    }
View Full Code Here

    /**
     * Adds additional output port.
     */
    public void addOutputPort() {
        ReceiveComponent component = getComponent();
        SystemComponentDataPort outputPort = component.getOutputPort();
        SystemDataPort port = outputPort.createPort();
        addOutputPort(port);
    }
View Full Code Here

TOP

Related Classes of edu.indiana.extreme.xbaya.component.system.SystemComponentDataPort

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.