Public Member Functions | |
Response< List < TopicDeclaration > > | getPublishedTopics (GraphName callerName, String subgraph) |
Response< SystemState > | getSystemState (GraphName callerName) |
Response< List< TopicType > > | getTopicTypes (GraphName callerName) |
Response< URI > | getUri (GraphName slaveName) |
Response< URI > | lookupNode (GraphName slaveName, String nodeName) |
Response< URI > | lookupService (GraphName callerName, String serviceName) |
MasterClient (URI uri) | |
Response< List< URI > > | registerPublisher (PublisherDeclaration publisherDeclaration) |
Response< Void > | registerService (NodeIdentifier slave, ServiceServer<?,?> service) |
Response< List< URI > > | registerSubscriber (NodeIdentifier slave, Subscriber<?> subscriber) |
Response< Integer > | unregisterPublisher (PublisherIdentifier publisherIdentifier) |
Response< Integer > | unregisterService (NodeIdentifier slave, ServiceServer<?,?> service) |
Response< Integer > | unregisterSubscriber (NodeIdentifier slave, Subscriber<?> subscriber) |
Provides access to the XML-RPC API exposed by a MasterServer.
Definition at line 50 of file MasterClient.java.
org.ros.internal.node.client.MasterClient.MasterClient | ( | URI | uri | ) | [inline] |
Create a new MasterClient connected to the specified MasterServer URI.
uri | the URI of the MasterServer to connect to |
Definition at line 59 of file MasterClient.java.
Response<List<TopicDeclaration> > org.ros.internal.node.client.MasterClient.getPublishedTopics | ( | GraphName | callerName, |
String | subgraph | ||
) | [inline] |
callerName | the GraphName of the caller |
subgraph | the subgraph of the topics |
Definition at line 208 of file MasterClient.java.
Response<SystemState> org.ros.internal.node.client.MasterClient.getSystemState | ( | GraphName | callerName | ) | [inline] |
callerName | the GraphName of the caller |
Definition at line 231 of file MasterClient.java.
Response<List<TopicType> > org.ros.internal.node.client.MasterClient.getTopicTypes | ( | GraphName | callerName | ) | [inline] |
Get a List of all TopicSystemState message types.
callerName | the GraphName of the caller |
Definition at line 221 of file MasterClient.java.
Response<URI> org.ros.internal.node.client.MasterClient.getUri | ( | GraphName | slaveName | ) | [inline] |
slaveName | the NodeIdentifier of the caller |
Definition at line 183 of file MasterClient.java.
Response<URI> org.ros.internal.node.client.MasterClient.lookupNode | ( | GraphName | slaveName, |
String | nodeName | ||
) | [inline] |
slaveName | the GraphName of the caller |
nodeName | the name of the SlaveServer to lookup |
Definition at line 173 of file MasterClient.java.
Response<URI> org.ros.internal.node.client.MasterClient.lookupService | ( | GraphName | callerName, |
String | serviceName | ||
) | [inline] |
callerName | the GraphName of the caller |
serviceName | the name of the ServiceServer to look up |
Definition at line 196 of file MasterClient.java.
Response<List<URI> > org.ros.internal.node.client.MasterClient.registerPublisher | ( | PublisherDeclaration | publisherDeclaration | ) | [inline] |
Registers the specified PublisherDeclaration.
publisherDeclaration | the PublisherDeclaration of the Publisher to register |
Definition at line 139 of file MasterClient.java.
Response<Void> org.ros.internal.node.client.MasterClient.registerService | ( | NodeIdentifier | slave, |
ServiceServer<?,?> | service | ||
) | [inline] |
Registers the given ServiceServer.
slave | the NodeIdentifier where the ServiceServer is running |
service | the ServiceServer to register |
Definition at line 73 of file MasterClient.java.
Response<List<URI> > org.ros.internal.node.client.MasterClient.registerSubscriber | ( | NodeIdentifier | slave, |
Subscriber<?> | subscriber | ||
) | [inline] |
Registers the given Subscriber. In addition to receiving a list of current Publishers, the Subscribers SlaveServer will also receive notifications of new Publishers via the publisherUpdate API.
slave | the NodeIdentifier that the Subscriber is running on |
subscriber | the Subscriber to register |
Definition at line 109 of file MasterClient.java.
Response<Integer> org.ros.internal.node.client.MasterClient.unregisterPublisher | ( | PublisherIdentifier | publisherIdentifier | ) | [inline] |
Unregisters the specified PublisherDeclaration.
publisherIdentifier | the PublisherIdentifier of the Publisher to unregister |
Definition at line 157 of file MasterClient.java.
Response<Integer> org.ros.internal.node.client.MasterClient.unregisterService | ( | NodeIdentifier | slave, |
ServiceServer<?,?> | service | ||
) | [inline] |
Unregisters the specified ServiceServer.
slave | the NodeIdentifier where the ServiceServer is running |
service | the ServiceServer to unregister |
Definition at line 89 of file MasterClient.java.
Response<Integer> org.ros.internal.node.client.MasterClient.unregisterSubscriber | ( | NodeIdentifier | slave, |
Subscriber<?> | subscriber | ||
) | [inline] |
Unregisters the specified Subscriber.
slave | the NodeIdentifier where the subscriber is running |
subscriber | the Subscriber to unregister |
Definition at line 124 of file MasterClient.java.