public interface TopicDataInitialiser
PublishingTopicData
.
If such an initialiser is set on the TopicData then it will be invoked at the point when the TopicData gets attached to a Topic.
Modifier and Type | Method and Description |
---|---|
void |
initialise(String topicName,
TopicTreeNode parent,
PublishingTopicData data)
This is called just before the data is attached to a topic in order to
perform initialisation of the data.
|
void initialise(String topicName, TopicTreeNode parent, PublishingTopicData data) throws APIException
The terminal name of the topic and its proposed parent are supplied but at the time of calling the new topic will not have been attached to the parent.
topicName
- the node name of the new Topicparent
- the parent node of the new Topicdata
- the data to be initialisedAPIException
- if initialisation failsCopyright © 2016 Push Technology Ltd. All Rights Reserved.