DomainParticipantFindTopic Method |
Namespace: OpenDDSharp.DDS
If a Topic of the same name already exists, it gives access to it, otherwise it waits (blocks the caller) until another mechanism creates it (or the specified timeout occurs). This other mechanism can be another thread, a configuration tool, or some other middleware service. Note that the Topic is a local object that acts as a ‘proxy’ to designate the global concept of topic.
A Topic obtained by means of FindTopic(String, Duration), must also be deleted by means of DeleteTopic(Topic) so that the local resources can be released. If a Topic is obtained multiple times by means of FindTopic(String, Duration) or CreateTopic, it must also be deleted that same number of times using DeleteTopic(Topic).