public class GatewaySystemTagManagerProxy extends java.lang.Object implements ClientSubManager
TagManagerBase.CollisionPolicy
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Constructor and Description |
---|
GatewaySystemTagManagerProxy(DatasourceTagManager dsMgr) |
Modifier and Type | Method and Description |
---|---|
void |
addTags(TagPath parentFolder,
java.util.List<TagNode> tags,
TagManagerBase.CollisionPolicy collisionPolicy)
Adds the given tags into the parent folder.
|
java.util.List<Tag> |
browse(TagPath path)
Provides the tags located beneath the specified path.
|
void |
editTags(java.util.List<TagPath> paths,
TagDiff edit)
Applies the given TagDiff edit to the paths indicated
|
Tag |
getTag(TagPath path)
Returns the tag located at a specific path.
|
TagDiagnostics |
getTagDiagnostics(TagPath path)
Returns the current diagnostic information for a given path.
|
java.util.List<Tag> |
getTags(java.util.List<TagPath> paths) |
protected DatasourceTagManager |
mgr() |
java.util.List<QualifiedValue> |
read(java.util.List<TagPath> paths)
Reads the values of the given tag paths.
|
void |
removeTags(java.util.List<TagPath> tagPaths)
Removes the tags at the given tag paths.
|
void |
shutdown() |
void |
startup() |
void |
subscribe(java.util.List<TagPath> paths,
java.util.List<TagChangeListener> listeners)
Subscribes to multiple paths at once, in order to be more efficient.
|
void |
subscribe(TagPath path,
TagChangeListener listener)
Subscribes to the given tag path/property.
|
void |
unsubscribe(java.util.List<TagPath> paths,
java.util.List<TagChangeListener> listeners)
Unsubscribes from multiple paths at once, in order to be more efficient.
|
void |
unsubscribe(TagPath path,
TagChangeListener listener)
Unsubscribes from the given tag path/property.
|
WriteOperation |
write(TagPath path,
java.lang.Object value) |
public static final java.lang.String NAME
public GatewaySystemTagManagerProxy(DatasourceTagManager dsMgr)
protected DatasourceTagManager mgr()
public TagDiagnostics getTagDiagnostics(TagPath path)
TagManagerBase
getTagDiagnostics
in interface TagManagerBase
public void addTags(TagPath parentFolder, java.util.List<TagNode> tags, TagManagerBase.CollisionPolicy collisionPolicy) throws java.lang.Exception
TagManagerBase
addTags
in interface TagManagerBase
java.lang.Exception
public void editTags(java.util.List<TagPath> paths, TagDiff edit) throws java.lang.Exception
TagManagerBase
editTags
in interface TagManagerBase
java.lang.Exception
public void removeTags(java.util.List<TagPath> tagPaths) throws java.lang.Exception
TagManagerBase
removeTags
in interface TagManagerBase
java.lang.Exception
public void subscribe(TagPath path, TagChangeListener listener)
TagSubscriptionManager
subscribe
in interface TagSubscriptionManager
public void subscribe(java.util.List<TagPath> paths, java.util.List<TagChangeListener> listeners)
TagSubscriptionManager
subscribe
in interface TagSubscriptionManager
public void unsubscribe(TagPath path, TagChangeListener listener)
TagSubscriptionManager
unsubscribe
in interface TagSubscriptionManager
public void unsubscribe(java.util.List<TagPath> paths, java.util.List<TagChangeListener> listeners)
TagSubscriptionManager
unsubscribe
in interface TagSubscriptionManager
public java.util.List<Tag> browse(TagPath path)
TagCollection
browse
in interface TagCollection
public Tag getTag(TagPath path)
TagCollection
getTag
in interface TagCollection
public java.util.List<Tag> getTags(java.util.List<TagPath> paths)
getTags
in interface ClientSubManager
public java.util.List<QualifiedValue> read(java.util.List<TagPath> paths)
TagSubscriptionManager
read
in interface TagSubscriptionManager
public WriteOperation write(TagPath path, java.lang.Object value)
write
in interface ClientSubManager
public void shutdown()
shutdown
in interface ClientSubManager
public void startup()
startup
in interface ClientSubManager