Class PublishingVariableTest.SignallingTableUpdator
java.lang.Object
com.singularsys.jep.misc.publishingvariable.VariableTableSubscriber
com.singularsys.jep.misc.publishingvariable.VariableTableUpdater
com.singularsys.jeptests.unit.misc.PublishingVariableTest.SignallingTableUpdator
- All Implemented Interfaces:
Flow.Subscriber<VariableTableAction>
- Enclosing class:
PublishingVariableTest
Updates a variable table when another table changes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvariableAdded(String name, Object value) Called when a variable is added to the table.protected voidvariableChanged(String name, Object oldValue, Object newValue) Called when a variable value has changed.Methods inherited from class com.singularsys.jep.misc.publishingvariable.VariableTableUpdater
clearNonConstants, constantAdded, onError, tableCleared, variableRemovedMethods inherited from class com.singularsys.jep.misc.publishingvariable.VariableTableSubscriber
cancel, onComplete, onNext, onSubscribe
-
Constructor Details
-
SignallingTableUpdator
-
-
Method Details
-
variableChanged
Description copied from class:VariableTableSubscriberCalled when a variable value has changed. Intended to be overridden by subclasses. Default implementation does nothing.- Overrides:
variableChangedin classVariableTableUpdater- Parameters:
name- name of the variableoldValue- previous value of the variablenewValue- value of the variable after the change
-
variableAdded
Description copied from class:VariableTableSubscriberCalled when a variable is added to the table. Intended to be overridden by subclasses. Default implementation does nothing.- Overrides:
variableAddedin classVariableTableUpdater- Parameters:
name- the name of the variable which has been added.value- the value of the variable which has been added.
-