Example #1
0
 protected override void DisconnectData(Topic topic)
 {
     if (topic is TriggerTopic tt)
     {
         TopicsMap.RemoveTopic(tt.Path);
     }
 }
Example #2
0
        protected override Topic CreateTopic(int topicId, IList <string> topicInfo)
        {
            var path  = topicInfo[0];
            var topic = new TriggerTopic(this, topicId, path);

            TopicsMap.SetTopic(path, topic);
            return(topic);
        }