public interface PeerManager
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Topic> |
getAvailableTopics() |
java.util.List<Topic> |
getCoordinatedTopics() |
GraphBuilder |
getDefaultGraphBuilder()
Obtain a new instance of the default topology graph builder.
|
GraphBuilder |
getDefaultTreeBuilder()
Obtain a new instance of the default routing tree builder.
|
PeerGroup |
getKnownGroup(Topic inTopic)
Returns the peer group if it is known to exist.
|
PeerGroup |
getMasterGroup()
Obtain the master group used from lookups and adverts
|
PeerGroup |
getPeerGroup(Topic inTopic)
Obtain the peer group for a topic, performing a lookup if it is not known.
|
java.util.List<Topic> |
getPublishingTopics() |
java.util.List<Topic> |
getSubscribingTopics() |
Topic |
getTopic(java.lang.String inTopicName)
Obtain the topic object for a given string
|
void |
setBootstrapNodes(java.util.List<NodeDetails> inBootNodes)
Provide a list of nodes that should be connected to upon startup.
|
java.util.List<Topic> getAvailableTopics()
java.util.List<Topic> getPublishingTopics()
java.util.List<Topic> getSubscribingTopics()
java.util.List<Topic> getCoordinatedTopics()
Topic getTopic(java.lang.String inTopicName)
inTopicName - - The name of the topic to get the obtain.PeerGroup getMasterGroup()
PeerGroup getKnownGroup(Topic inTopic)
inTopic - - The topic for the peer group.PeerGroup getPeerGroup(Topic inTopic) throws TopicException
inTopic - - The topic for the peer group.TopicExceptionGraphBuilder getDefaultGraphBuilder()
GraphBuilder getDefaultTreeBuilder()
void setBootstrapNodes(java.util.List<NodeDetails> inBootNodes)
inBootNodes - - The list of nodes to connect to.