Uses of Interface
org.simplesim.core.messaging.Port
Packages that use 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
Constructors in org.simplesim.core.dynamic with parameters of type PortModifierConstructorDescriptionConnectPortRequest(Port from, Port to) DisconnectPortRequest(Port from, Port to) ReconnectPortRequest(Port port, Port oldTo, Port newTo) -
Uses of Port in org.simplesim.core.messaging
Classes in org.simplesim.core.messaging that implement PortModifier and TypeClassDescriptionclassPorts are used to send messages within a model.final classPort to send the same message to several inports.final classPort to connect a port to exactly one other port.final classPort to send a message to one of several inports.Methods in org.simplesim.core.messaging that return PortModifier and TypeMethodDescriptionSinglePort.getConnection()Returns the destination of this port.Methods in org.simplesim.core.messaging that return types with arguments of type PortModifier 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.Methods in org.simplesim.core.messaging with parameters of type PortModifier and TypeMethodDescriptionvoidvoidConnects this port to another one.voidvoidvoidMultiPort.disconnect(Port port) voidPort.disconnect(Port target) Disconnects this port from another one.voidSinglePort.disconnect(Port port) voidSwitchPort.disconnect(Port port) booleanMultiPort.isConnectedTo(Port port) booleanPort.isConnectedTo(Port port) Tests if the port is connected to another one.booleanSinglePort.isConnectedTo(Port port) booleanSwitchPort.isConnectedTo(Port port) -
Uses of Port in org.simplesim.model
Methods in org.simplesim.model that return PortModifier and TypeMethodDescriptionBasicModelEntity.getInport()InstrumentationDecorator.getInport()ModelEntity.getInport()BasicModelEntity.getOutport()InstrumentationDecorator.getOutport()ModelEntity.getOutport()