This topic type will be removed in a future release
@Deprecated public interface ChildListTopicData extends TopicData
The topic load will be maintained as a
delimited
list of fields containing the node names of all child topics. It
will be sent out automatically to clients that subscribe and so when the
subscription is notified it will indicate that load has already been
performed.
When a new child topic is added then a delta message will be published with a
single header of CHILD_ADDED
and the data as the child node name.
When a child topic is removed then a delta message will be published with a
single header of CHILD_REMOVED
and the data as the child node name.
Note when a topic is removed causing all of its descendants to also be removed then there will only be deltas sent out for the parent of the top level topic removed.
An instance of this type of data can be created using
TopicDataFactory.newChildListData
.
Modifier and Type | Field and Description |
---|---|
static String |
CHILD_ADDED
Deprecated.
Header value used in delta messages to indicate that a new child topic
has been added.
|
static String |
CHILD_REMOVED
Deprecated.
Header value used in delta messages to indicate that a child topic has
been removed.
|
getDeltaEncoding, getLoadEncoding, getLoadMessage, getLoadMessage, getTopic, getType, hasSubscribers, isCommand, isLockedByCurrentThread, isPaged, isPublishing, isRouting, isService, lock, setDeltaEncoding, setLoadEncoding, unlock
static final String CHILD_ADDED
static final String CHILD_REMOVED
Copyright © 2016 Push Technology Ltd. All Rights Reserved.