org.ros.internal.node.client
Class ParameterClient
java.lang.Object
org.ros.internal.node.client.ParameterClient
public class ParameterClient
- extends java.lang.Object
Provide access to the XML-RPC API for a ROS ParameterServer
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xmlRpcEndpoint
protected final T extends XmlRpcEndpoint xmlRpcEndpoint
ParameterClient
public ParameterClient(NodeIdentifier nodeIdentifier,
java.net.URI uri)
- Create a new
ParameterClient
connected to the specified
ParameterServer
URI.
- Parameters:
uri
- the URI
of the ParameterServer
to connect to
getParam
public Response<java.lang.Object> getParam(GraphName parameterName)
setParam
public Response<java.lang.Void> setParam(GraphName parameterName,
java.lang.Boolean parameterValue)
setParam
public Response<java.lang.Void> setParam(GraphName parameterName,
java.lang.Integer parameterValue)
setParam
public Response<java.lang.Void> setParam(GraphName parameterName,
java.lang.Double parameterValue)
setParam
public Response<java.lang.Void> setParam(GraphName parameterName,
java.lang.String parameterValue)
setParam
public Response<java.lang.Void> setParam(GraphName parameterName,
java.util.List<?> parameterValue)
setParam
public Response<java.lang.Void> setParam(GraphName parameterName,
java.util.Map<?,?> parameterValue)
searchParam
public Response<GraphName> searchParam(GraphName parameterName)
subscribeParam
public Response<java.lang.Object> subscribeParam(GraphName parameterName)
unsubscribeParam
public Response<java.lang.Integer> unsubscribeParam(GraphName parameterName)
hasParam
public Response<java.lang.Boolean> hasParam(GraphName parameterName)
deleteParam
public Response<java.lang.Void> deleteParam(GraphName parameterName)
getParamNames
public Response<java.util.List<GraphName>> getParamNames()
getRemoteUri
public java.net.URI getRemoteUri()
- Returns:
- the
URI
of the remote XmlRpcServer