Class RecursiveMessageForwarding

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

public final class RecursiveMessageForwarding extends Object implements MessageForwardingStrategy
Recursive version of a ForwardingStrategy.

This implementation starts at all outports with messages and works its way through the connected ports. With this strategy some ports may be called several times.

This implementation generally should work with all types of ports but might be less efficient than more specialized strategies.

  • Constructor Details

    • RecursiveMessageForwarding

      public RecursiveMessageForwarding()
  • Method Details