public void CheckTypeString(string typeString) { if (topic.GetTypeID() != typeString) { throw new OPSInvalidTopicException("Topic type string mismatch!"); } }
public TopicInfoData(Topic topic) { AppendType("TopicInfoData"); name = topic.GetName(); type = topic.GetTypeID(); transport = topic.GetTransport(); address = topic.GetDomainAddress(); port = topic.GetPort(); //keys; }