Class RoutingMessageForwarding

java.lang.Object
org.simplesim.core.messaging.RoutingMessageForwarding
All Implemented Interfaces:
MessageForwardingStrategy

public final class RoutingMessageForwarding extends Object implements MessageForwardingStrategy
Implementation of ForwardingStrategy for the routing concept.

This implementation first assigns outports with messages to layers according to the level of their parent Domain. Then forwarding starts at the bottom most port and works its way up to the root. In a second step, messages are copied in the root node of the model tree. In a third step, messages are forwarded top-down in a similar way.

Note: This strategy only works with models using the routing concept.

See Also: