Class OutputPort<T extends Number & Comparable<T>,TYPE>

java.lang.Object
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.OutputPort<T,TYPE>
Type Parameters:
T - the time type
TYPE - The type of messages the port produces.
All Implemented Interfaces:
OutputPortInterface<T,TYPE>

public class OutputPort<T extends Number & Comparable<T>,TYPE> extends Object implements OutputPortInterface<T,TYPE>
OutputPort class. The output port transfers the event (message) to the next receiver. In case there is no next receiver (e.g. in case of the model being the highest coupled model in the simulation, the event is currently not transferred.

Copyright (c) 2009-2024 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://simulation.tudelft.nl. The DSOL project is distributed under a three-clause BSD-style license, which can be found at https://https://simulation.tudelft.nl/dsol/docs/latest/license.html.

Author:
Mamadou Seck
, Alexander Verbraeck
  • Constructor Details

    • OutputPort

      public OutputPort(CoupledModel<T> coupledModel)
      Constructor for the output port where the model is a coupled model.
      Parameters:
      coupledModel - CoupledModel<T>; the coupled model.
    • OutputPort

      public OutputPort(AtomicModel<T> atomicModel)
      Constructor for the output port where the model is an atomic model.
      Parameters:
      atomicModel - AtomicModel<T>; the atomic model.
  • Method Details