org.ros.internal.node.client
Class ParameterClient

java.lang.Object
  extended by org.ros.internal.node.client.ParameterClient

public class ParameterClient
extends java.lang.Object

Provide access to the XML-RPC API for a ROS ParameterServer.


Field Summary
protected  T xmlRpcEndpoint
           
 
Constructor Summary
ParameterClient(NodeIdentifier nodeIdentifier, java.net.URI uri)
          Create a new ParameterClient connected to the specified ParameterServer URI.
 
Method Summary
 Response<java.lang.Void> deleteParam(GraphName parameterName)
           
 Response<java.lang.Object> getParam(GraphName parameterName)
           
 Response<java.util.List<GraphName>> getParamNames()
           
 java.net.URI getRemoteUri()
           
 Response<java.lang.Boolean> hasParam(GraphName parameterName)
           
 Response<GraphName> searchParam(GraphName parameterName)
           
 Response<java.lang.Void> setParam(GraphName parameterName, java.lang.Boolean parameterValue)
           
 Response<java.lang.Void> setParam(GraphName parameterName, java.lang.Double parameterValue)
           
 Response<java.lang.Void> setParam(GraphName parameterName, java.lang.Integer parameterValue)
           
 Response<java.lang.Void> setParam(GraphName parameterName, java.util.List<?> parameterValue)
           
 Response<java.lang.Void> setParam(GraphName parameterName, java.util.Map<?,?> parameterValue)
           
 Response<java.lang.Void> setParam(GraphName parameterName, java.lang.String parameterValue)
           
 Response<java.lang.Object> subscribeParam(GraphName parameterName)
           
 Response<java.lang.Integer> unsubscribeParam(GraphName parameterName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xmlRpcEndpoint

protected final T extends XmlRpcEndpoint xmlRpcEndpoint
Constructor Detail

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
Method Detail

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