Class TagListener
java.lang.Object
com.inductiveautomation.ignition.common.expressions.TagListener
- All Implemented Interfaces:
TagChangeListener
,EventListener
- Direct Known Subclasses:
ExpressionBindingTagListener
A class that can listen for tag changes and notify an InteractionListener. It also holds the last value seen
internally and will serialize it.
-
Constructor Summary
ConstructorsConstructorDescriptionTagListener
(TagPath path, QualifiedValue qv) TagListener
(TagPath path, Object value, QualityCode quality) -
Method Summary
Modifier and TypeMethodDescriptionvoid
_setTagPath
(TagPath path) protected TagManager
protected void
void
Deprecated.void
Deprecated.void
setQValue
(BasicTagValue btv) Deprecated.void
setTagPath
(String tagPath) void
void
setTagValue
(BasicTagValue value) Deprecated.void
shutdown()
void
startup
(CommonContext context, InteractionListener listener) void
Invoked when the tag has changedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.inductiveautomation.ignition.common.tags.model.event.TagChangeListener
getSecurityContext, isLightweight
-
Constructor Details
-
TagListener
-
TagListener
-
TagListener
public TagListener()
-
-
Method Details
-
tagChanged
Description copied from interface:TagChangeListener
Invoked when the tag has changed- Specified by:
tagChanged
in interfaceTagChangeListener
- Parameters:
e
- a ChangeEvent object
-
startup
-
shutdown
public void shutdown() -
reSubscribe
protected void reSubscribe() -
getTagManager
-
_getTagPath
-
_setTagPath
-
getTagPath
-
setTagPath
-
getTagQualifiedValue
-
setTagQualifiedValue
-
setTagValue
Deprecated. -
setQValue
Deprecated. -
setQValue
Deprecated. -
setQValue
Deprecated.
-