Public Member Functions | |
List< Object > | getPid (String callerId) |
List< Object > | getPublishedTopics (String callerId, String subgraph) |
List< Object > | getSystemState (String callerId) |
List< Object > | getTopicTypes (String callerId) |
List< Object > | getUri (String callerId) |
List< Object > | lookupNode (String callerId, String nodeName) |
List< Object > | lookupService (String callerId, String service) |
List< Object > | registerPublisher (String callerId, String topicName, String topicType, String callerApi) |
List< Object > | registerService (String callerId, String service, String serviceApi, String callerApi) |
List< Object > | registerSubscriber (String callerId, String topicName, String topicType, String callerApi) |
List< Object > | unregisterPublisher (String callerId, String topicName, String callerApi) |
List< Object > | unregisterService (String callerId, String service, String serviceApi) |
List< Object > | unregisterSubscriber (String callerId, String topicName, String callerApi) |
An XML-RPC endpoint description of a ROS master.
Definition at line 26 of file MasterXmlRpcEndpoint.java.
List<Object> org.ros.internal.node.xmlrpc.MasterXmlRpcEndpoint.getPid | ( | String | callerId | ) |
Get the PID for the master process.
callerId | ROS caller ID |
Implemented in org.ros.internal.node.xmlrpc.MasterXmlRpcEndpointImpl.
List<Object> org.ros.internal.node.xmlrpc.MasterXmlRpcEndpoint.getPublishedTopics | ( | String | callerId, |
String | subgraph | ||
) |
Get list of topics that can be subscribed to. This does not return topics that have no publishers. See getSystemState() to get more comprehensive list.
callerId | ROS caller ID |
subgraph | Restrict topic names to match within the specified subgraph. Subgraph namespace is resolved relative to the caller's namespace. Use empty string to specify all names. |
Implemented in org.ros.internal.node.xmlrpc.MasterXmlRpcEndpointImpl.
List<Object> org.ros.internal.node.xmlrpc.MasterXmlRpcEndpoint.getSystemState | ( | String | callerId | ) |
Retrieve list representation of system state (i.e. publishers, subscribers, and services).
callerId | ROS caller ID |
Implemented in org.ros.internal.node.xmlrpc.MasterXmlRpcEndpointImpl.
List<Object> org.ros.internal.node.xmlrpc.MasterXmlRpcEndpoint.getTopicTypes | ( | String | callerId | ) |
Get a list of all topic types.
callerId | ROS caller ID |
Implemented in org.ros.internal.node.xmlrpc.MasterXmlRpcEndpointImpl.
List<Object> org.ros.internal.node.xmlrpc.MasterXmlRpcEndpoint.getUri | ( | String | callerId | ) |
Get the URI of the the master.
callerId | ROS caller ID |
Implemented in org.ros.internal.node.xmlrpc.MasterXmlRpcEndpointImpl.
List<Object> org.ros.internal.node.xmlrpc.MasterXmlRpcEndpoint.lookupNode | ( | String | callerId, |
String | nodeName | ||
) |
Get the XML-RPC URI of the node with the associated name/caller_id. This API is for looking information about publishers and subscribers. Use lookupService instead to lookup ROS-RPC URIs.
callerId | ROS caller ID |
nodeName | Name of node to lookup |
Implemented in org.ros.internal.node.xmlrpc.MasterXmlRpcEndpointImpl.
List<Object> org.ros.internal.node.xmlrpc.MasterXmlRpcEndpoint.lookupService | ( | String | callerId, |
String | service | ||
) |
Lookup all provider of a particular service.
callerId | ROS caller ID |
service | Fully-qualified name of service |
Implemented in org.ros.internal.node.xmlrpc.MasterXmlRpcEndpointImpl.
List<Object> org.ros.internal.node.xmlrpc.MasterXmlRpcEndpoint.registerPublisher | ( | String | callerId, |
String | topicName, | ||
String | topicType, | ||
String | callerApi | ||
) |
Register the caller as a publisher the topic.
callerId | ROS caller ID |
topicName | fully-qualified name of topic to register |
topicType | topic type, must be a package-resource name, i.e. the .msg name. |
callerApi | API URI of publisher to register |
Implemented in org.ros.internal.node.xmlrpc.MasterXmlRpcEndpointImpl.
List<Object> org.ros.internal.node.xmlrpc.MasterXmlRpcEndpoint.registerService | ( | String | callerId, |
String | service, | ||
String | serviceApi, | ||
String | callerApi | ||
) |
Register the caller as a provider of the specified service.
callerId | ROS caller ID |
service | Fully-qualified name of service |
serviceApi | XML-RPC URI of caller node |
callerApi |
Implemented in org.ros.internal.node.xmlrpc.MasterXmlRpcEndpointImpl.
List<Object> org.ros.internal.node.xmlrpc.MasterXmlRpcEndpoint.registerSubscriber | ( | String | callerId, |
String | topicName, | ||
String | topicType, | ||
String | callerApi | ||
) |
Subscribe the caller to the specified topic. In addition to receiving a list of current publishers, the subscriber will also receive notifications of new publishers via the publisherUpdate API.
callerId | ROS caller ID |
topicName | Fully-qualified name of topic |
topicType | topic type, must be a package-resource name, i.e. the .msg name |
callerApi | API URI of subscriber to register. Will be used for new publisher notifications |
Implemented in org.ros.internal.node.xmlrpc.MasterXmlRpcEndpointImpl.
List<Object> org.ros.internal.node.xmlrpc.MasterXmlRpcEndpoint.unregisterPublisher | ( | String | callerId, |
String | topicName, | ||
String | callerApi | ||
) |
Unregister the caller as a publisher of the topic.
callerId | ROS caller ID |
topicName | Fully-qualified name of topic. |
callerApi | API URI of publisher to unregister. Unregistration will only occur if current registration matches. |
Implemented in org.ros.internal.node.xmlrpc.MasterXmlRpcEndpointImpl.
List<Object> org.ros.internal.node.xmlrpc.MasterXmlRpcEndpoint.unregisterService | ( | String | callerId, |
String | service, | ||
String | serviceApi | ||
) |
Unregister the caller as a provider of the specified service.
callerId | ROS caller ID |
service | Fully-qualified name of service |
serviceApi | API URI of service to unregister. Unregistration will only occur if current registration matches. |
Implemented in org.ros.internal.node.xmlrpc.MasterXmlRpcEndpointImpl.
List<Object> org.ros.internal.node.xmlrpc.MasterXmlRpcEndpoint.unregisterSubscriber | ( | String | callerId, |
String | topicName, | ||
String | callerApi | ||
) |
Unregister the caller as a publisher of the topic.
callerId | ROS caller ID |
topicName | Fully-qualified name of topic. |
callerApi | API URI of service to unregister. Unregistration will only occur if current registration matches. |
Implemented in org.ros.internal.node.xmlrpc.MasterXmlRpcEndpointImpl.