Class DelayedCommand

java.lang.Object
tools.refinery.interpreter.rete.network.delayed.DelayedCommand
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
DelayedConnectCommand, DelayedDisconnectCommand

public abstract class DelayedCommand extends Object implements Runnable
Instances of this class are responsible for initializing a Receiver with the contents of a Supplier. However, due to the dynamic nature of the Rete Network and to the fact that certain Nodes in the Network are sensitive to the shape of the Network, the commands must be delayed until the construction of the Network has stabilized.
Since:
2.3
  • Field Details

    • supplier

      protected final Supplier supplier
    • receiver

      protected final Receiver receiver
    • direction

      protected final Direction direction
    • container

      protected final ReteContainer container
  • Constructor Details

  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isTimestampAware

      protected abstract boolean isTimestampAware()