Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpointImpl Class Reference
Inheritance diagram for org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpointImpl:
Inheritance graph
[legend]

List of all members.

Public Member Functions

List< Object > getBusInfo (String callerId)
List< Object > getBusStats (String callerId)
List< Object > getMasterUri (String callerId)
List< Object > getPid (String callerId)
List< Object > getPublications (String callerId)
List< Object > getSubscriptions (String callerId)
List< Object > paramUpdate (String callerId, String key, boolean value)
List< Object > paramUpdate (String callerId, String key, char value)
List< Object > paramUpdate (String callerId, String key, byte value)
List< Object > paramUpdate (String callerId, String key, short value)
List< Object > paramUpdate (String callerId, String key, int value)
List< Object > paramUpdate (String callerId, String key, double value)
List< Object > paramUpdate (String callerId, String key, String value)
List< Object > paramUpdate (String callerId, String key, List<?> value)
List< Object > paramUpdate (String callerId, String key, Vector<?> value)
List< Object > paramUpdate (String callerId, String key, Map<?,?> value)
List< Object > publisherUpdate (String callerId, String topicName, Object[] publishers)
List< Object > requestTopic (String callerId, String topic, Object[] protocols)
List< Object > shutdown (String callerId, String message)
 SlaveXmlRpcEndpointImpl (SlaveServer slave)

Private Member Functions

List< Object > parameterUpdate (String parameterName, Object parameterValue)

Private Attributes

final SlaveServer slave

Static Private Attributes

static final boolean DEBUG = false
static final Log log = LogFactory.getLog(SlaveXmlRpcEndpointImpl.class)

Detailed Description

Author:
damonkohler@google.com (Damon Kohler)

Definition at line 45 of file SlaveXmlRpcEndpointImpl.java.


Constructor & Destructor Documentation

Definition at line 52 of file SlaveXmlRpcEndpointImpl.java.


Member Function Documentation

List<Object> org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpointImpl.getBusInfo ( String  callerId) [inline]

Retrieve transport/topic connection information.

Parameters:
callerIdROS caller ID.
Returns:
busInfo in the form of:
[[connectionId1, destinationId1, direction1, transport1, topic1, connected1]... ]

connectionId is defined by the node and is opaque. destinationId is the XMLRPC URI of the destination.

direction is one of 'i', 'o', or 'b' (in, out, both).

transport is the transport type (e.g. 'TCPROS'). topic is the topic name.

connected1 indicates connection status. Note that this field is only provided by slaves written in Python at the moment (cf. rospy/masterslave.py in _TopicImpl.get_stats_info() vs. roscpp/publication.cpp in Publication::getInfo()).

Implements org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpoint.

Definition at line 62 of file SlaveXmlRpcEndpointImpl.java.

List<Object> org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpointImpl.getBusStats ( String  callerId) [inline]

Retrieve transport/topic statistics.

Parameters:
callerIdROS caller ID.
Returns:
stats in the form of
[publishStats, subscribeStats, serviceStats]

where
publishStats: [[topicName, messageDataSent, pubConnectionData]...]
subscribeStats: [[topicName, subConnectionData]...]
serviceStats: (proposed) [numRequests, bytesReceived, bytesSent]

pubConnectionData: [connectionId, bytesSent, numSent, connected]
subConnectionData: [connectionId, bytesReceived, dropEstimate, connected]
dropEstimate: -1 if no estimate.

Implements org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpoint.

Definition at line 57 of file SlaveXmlRpcEndpointImpl.java.

List<Object> org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpointImpl.getMasterUri ( String  callerId) [inline]
List<Object> org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpointImpl.getPid ( String  callerId) [inline]

Retrieve a list of topics that this node publishes.

Parameters:
callerIdROS caller ID.
Returns:
topicList is a list of topics published by this node and is of the form [ [topic1, topicType1]...[topicN, topicTypeN]]]

Implements org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpoint.

Definition at line 101 of file SlaveXmlRpcEndpointImpl.java.

List<Object> org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpointImpl.parameterUpdate ( String  parameterName,
Object  parameterValue 
) [inline, private]

Definition at line 110 of file SlaveXmlRpcEndpointImpl.java.

List<Object> org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpointImpl.paramUpdate ( String  callerId,
String  key,
boolean  value 
) [inline]

Callback from master with updated value of subscribed parameter.

Parameters:
callerIdROS caller ID.
keyparameter name, globally resolved
valuenew parameter value
Returns:
ignore

Implements org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpoint.

Definition at line 119 of file SlaveXmlRpcEndpointImpl.java.

List<Object> org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpointImpl.paramUpdate ( String  callerId,
String  key,
char  value 
) [inline]
List<Object> org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpointImpl.paramUpdate ( String  callerId,
String  key,
byte  value 
) [inline]
List<Object> org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpointImpl.paramUpdate ( String  callerId,
String  key,
short  value 
) [inline]
List<Object> org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpointImpl.paramUpdate ( String  callerId,
String  key,
int  value 
) [inline]
List<Object> org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpointImpl.paramUpdate ( String  callerId,
String  key,
double  value 
) [inline]
List<Object> org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpointImpl.paramUpdate ( String  callerId,
String  key,
String  value 
) [inline]
List<Object> org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpointImpl.paramUpdate ( String  callerId,
String  key,
List<?>  value 
) [inline]
List<Object> org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpointImpl.paramUpdate ( String  callerId,
String  key,
Vector<?>  value 
) [inline]
List<Object> org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpointImpl.paramUpdate ( String  callerId,
String  key,
Map<?,?>  value 
) [inline]
List<Object> org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpointImpl.publisherUpdate ( String  callerId,
String  topicName,
Object[]  publishers 
) [inline]
List<Object> org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpointImpl.requestTopic ( String  callerId,
String  topic,
Object[]  protocols 
) [inline]

Publisher node API method called by a subscriber node. This requests that source allocate a channel for communication. Subscriber provides a list of desired protocols for communication. Publisher returns the selected protocol along with any additional params required for establishing connection. For example, for a TCP/IP-based connection, the source node may return a port number of TCP/IP server.

Parameters:
callerIdROS caller ID
topictopic name
protocolslist of desired protocols for communication in order of preference
Returns:
protocolParams or empty list if there are no compatible protocols

Implements org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpoint.

Definition at line 187 of file SlaveXmlRpcEndpointImpl.java.

List<Object> org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpointImpl.shutdown ( String  callerId,
String  message 
) [inline]

Member Data Documentation

final boolean org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpointImpl.DEBUG = false [static, private]

Definition at line 47 of file SlaveXmlRpcEndpointImpl.java.

final Log org.ros.internal.node.xmlrpc.SlaveXmlRpcEndpointImpl.log = LogFactory.getLog(SlaveXmlRpcEndpointImpl.class) [static, private]

Definition at line 48 of file SlaveXmlRpcEndpointImpl.java.

Definition at line 50 of file SlaveXmlRpcEndpointImpl.java.


The documentation for this class was generated from the following file:


rosjava_core
Author(s):
autogenerated on Wed Aug 26 2015 16:06:51