Class ChangeNotifier
- java.lang.Object
-
- com.inductiveautomation.ignition.client.sqltags.impl.ChangeNotifier
-
- All Implemented Interfaces:
java.lang.Runnable
public class ChangeNotifier extends java.lang.Object implements java.lang.Runnable
A Runnable class that takes an iterator of change listeners and a tag change event and will notify all of the listeners when run. calling start() on this class will either enqueue it on the EDT if the current thread is NOT the EDT, or will call run() directly if the thread is the EDT
-
-
Constructor Summary
Constructors Constructor Description ChangeNotifier(TagChangeEvent event, java.util.Iterator<? extends TagChangeListener> toNotify)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
void
start()
Will either enqueue this Runnable on the EDT if the current thread is NOT the EDT, or will call run() directly if the thread is the EDTjava.lang.String
toString()
-
-
-
Constructor Detail
-
ChangeNotifier
public ChangeNotifier(TagChangeEvent event, java.util.Iterator<? extends TagChangeListener> toNotify)
-
-
Method Detail
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
start
public void start()
Will either enqueue this Runnable on the EDT if the current thread is NOT the EDT, or will call run() directly if the thread is the EDT
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-