Uses of Interface
org.simplesim.core.messaging.Port
Package
Description
Provides requests for dynamic model changes during a simulation run
Classes for messaging and message forwarding
Base classes for agent development and model building
-
Uses of Port in org.simplesim.core.dynamic
ModifierConstructorDescriptionConnectPortRequest
(Port from, Port to) DisconnectPortRequest
(Port from, Port to) ReconnectPortRequest
(Port port, Port oldTo, Port newTo) -
Uses of Port in org.simplesim.core.messaging
Modifier and TypeClassDescriptionclass
Ports are used to send messages within a model.final class
Port to send the same message to several inports.final class
Port to connect a port to exactly one other port.final class
Port to send a message to one of several inports.Modifier and TypeMethodDescriptionSinglePort.getConnection()
Returns the destination of this port.Modifier and TypeMethodDescriptionMultiPort.forwardMessages()
Port.forwardMessages()
Implements a message forwarding strategy specific for the port class.SinglePort.forwardMessages()
SwitchPort.forwardMessages()
default Collection<Port>
MessageForwardingStrategy.listPortsWithOutgoingMsg
(Collection<Agent> agentList) Build a collection of all ports with outgoing messages based on the collection of sending agents.Modifier and TypeMethodDescriptionvoid
void
Connects this port to another one.void
void
void
MultiPort.disconnect
(Port port) void
Port.disconnect
(Port target) Disconnects this port from another one.void
SinglePort.disconnect
(Port port) void
SwitchPort.disconnect
(Port port) boolean
MultiPort.isConnectedTo
(Port port) boolean
Port.isConnectedTo
(Port port) Tests if the port is connected to another one.boolean
SinglePort.isConnectedTo
(Port port) boolean
SwitchPort.isConnectedTo
(Port port) -
Uses of Port in org.simplesim.model
Modifier and TypeMethodDescriptionBasicModelEntity.getInport()
InstrumentationDecorator.getInport()
ModelEntity.getInport()
BasicModelEntity.getOutport()
InstrumentationDecorator.getOutport()
ModelEntity.getOutport()