public class MasterStateClient
extends java.lang.Object
Constructor and Description |
---|
MasterStateClient(Node caller,
java.net.URI masterUri) |
Modifier and Type | Method and Description |
---|---|
java.util.List<TopicDeclaration> |
getPublishedTopics(java.lang.String subgraph) |
SystemState |
getSystemState() |
java.util.List<TopicType> |
getTopicTypes() |
java.net.URI |
getUri() |
java.net.URI |
lookupNode(java.lang.String nodeName) |
java.net.URI |
lookupService(java.lang.String serviceName) |
public MasterStateClient(Node caller, java.net.URI masterUri)
public java.net.URI lookupNode(java.lang.String nodeName)
public java.net.URI getUri()
URI
of the MasterServer
public java.net.URI lookupService(java.lang.String serviceName)
serviceName
- the name of the ServiceServer
to look upURI
of the ServiceServer
with the given namepublic java.util.List<TopicDeclaration> getPublishedTopics(java.lang.String subgraph)
subgraph
- the subgraph of the topicsList
of TopicDeclaration
s for published topicspublic java.util.List<TopicType> getTopicTypes()
List
of TopicType
s known by the masterpublic SystemState getSystemState()
SystemState