publishTopic method

void publishTopic(
  1. NT4Topic topic
)

Publish a given topic

Implementation

void publishTopic(NT4Topic topic) {
  topic.pubUID = getNewPubUID();
  _clientPublishedTopics[topic.name] = topic;
  _wsPublish(topic);
}