public class TopicSystemState
extends java.lang.Object
Constructor and Description |
---|
TopicSystemState(java.lang.String topicName,
java.util.Set<java.lang.String> publishers,
java.util.Set<java.lang.String> subscribers) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getPublishers()
Get the set of all nodes that publish the topic.
|
java.util.Set<java.lang.String> |
getSubscribers()
Get the set of all nodes that subscribe to the topic.
|
java.lang.String |
getTopicName() |
public TopicSystemState(java.lang.String topicName, java.util.Set<java.lang.String> publishers, java.util.Set<java.lang.String> subscribers)
public java.lang.String getTopicName()
public java.util.Set<java.lang.String> getPublishers()
public java.util.Set<java.lang.String> getSubscribers()