Package model.devscore.ports

Examples of model.devscore.ports.Port


   * @param context
   *          the context
   */
  public MultiCouplingChangeRequest(IBasicDEVSModel source,
      IBasicDEVSModel context, String ident) {
    super(source, context, source, new Port(DUMMY, Object.class), false);
    this.ident = ident;
    this.change = false;
  }
View Full Code Here


   *          the context
   */
  public MultiCouplingChangeRequest(IBasicDEVSModel source,
      IBasicDEVSModel context, String ident, IBasicDEVSModel targetModel,
      String targetPort, ISelector<IBasicDEVSModel> selector, boolean add) {
    super(source, context, source, new Port(DUMMY, Object.class), add);
    this.ident = ident;
    // this.model1 = source;
    this.model2 = new MultiCouplingTargetList();
    this.model2.addTarget(new MultiCouplingTarget(targetModel, targetPort));
    this.change = true;
View Full Code Here

   *          the source of the coupling
   * @param ident
   *          the identifying name for the to-remove-multicoupling.
   */
  public MultiCouplingChangeRequest(IBasicDEVSModel source, String ident) {
    super(source, source, new Port(DUMMY, Object.class), false);
    this.ident = ident;
    this.change = false;
  }
View Full Code Here

   *          the new Selector
   */
  public MultiCouplingChangeRequest(IBasicDEVSModel source, String ident,
      IBasicDEVSModel targetModel, String targetPort,
      ISelector<IBasicDEVSModel> selector, boolean add) {
    super(source, source, new Port(DUMMY, Object.class), add);
    this.ident = ident;
    // this.model1 = source;
    this.model2 = new MultiCouplingTargetList();
    this.model2.addTarget(new MultiCouplingTarget(targetModel, targetPort));
    this.change = true;
View Full Code Here

   * @param add
   *          the add
   */
  public MultiCouplingChangeRequest(IBasicDEVSModel source, String ident,
      MultiCouplingTarget target, boolean add) {
    super(source, source, new Port(DUMMY, Object.class), add);
    this.ident = ident;
    this.change = true;
    this.model2 = new MultiCouplingTargetList();
    model2.addTarget(target);
  }
View Full Code Here

   * @param add
   *          the add
   */
  public MultiCouplingChangeRequest(IBasicDEVSModel source, String ident,
      MultiCouplingTargetList targets, boolean add) {
    super(source, source, new Port(DUMMY, Object.class), add);
    this.ident = ident;
    this.change = true;
    this.model2 = targets;
  }
View Full Code Here

   *
   * @return returns a reference to the new port for further usage
   */
  private IPort addPort(IPortSet portSet, String name, Class<?> portValueClass) {
    portChangeAllowed();
    Port port = new Port(name, portValueClass);
    portSet.addPort(port);
    return port;
  }
View Full Code Here

TOP

Related Classes of model.devscore.ports.Port

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.