Interface InputPortInterface<T extends Number & Comparable<T>,TYPE>
- Type Parameters:
T
- the time typeTYPE
- The type of message the input port accepts
- All Known Implementing Classes:
InputPort
public interface InputPortInterface<T extends Number & Comparable<T>,TYPE>
InputPortInterface class. Describes the contract for an input port of the Classic Parallel DEVS Atomic Model with Ports
conform Zeigler et al (2000), section 4.2.2. and section 4.3 (pp. 84 ff).
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
-
Method Summary
-
Method Details
-
receive
Receive and handle an event on the port.- Parameters:
value
- TYPE; the value that is received of type <T>time
- T; the time on which the value is received- Throws:
RemoteException
- a remote exception occurredSimRuntimeException
- a simulation run time exception occurred
-
getModel
AbstractDevsModel<T> getModel()- Returns:
- the model to which the port belongs.
-