Public Member Functions
org.ros.node.service.ServiceClient< T, S > Interface Reference

List of all members.

Public Member Functions

void call (T request, ServiceResponseListener< S > listener)
void connect (URI uri)
GraphName getName ()
newMessage ()
void shutdown ()

Detailed Description

Provides a connection to a ROS service.

Author:
damonkohler@google.com (Damon Kohler)
Parameters:
<T>the ServiceServer responds to requests of this type
<S>the ServiceServer returns responses of this type

Definition at line 33 of file ServiceClient.java.


Member Function Documentation

void org.ros.node.service.ServiceClient< T, S >.call ( request,
ServiceResponseListener< S >  listener 
)

Calls a method on the ServiceServer.

Parameters:
requestthe request message
listenerthe ServiceResponseListener that will handle the response to this request
void org.ros.node.service.ServiceClient< T, S >.connect ( URI  uri)

Connects to a ServiceServer.

Parameters:
urithe URI of the ServiceServer to connect to
GraphName org.ros.node.service.ServiceClient< T, S >.getName ( )
Returns:
the name of the service this ServiceClient is connected to
T org.ros.node.service.ServiceClient< T, S >.newMessage ( )
Returns:
a new request message
void org.ros.node.service.ServiceClient< T, S >.shutdown ( )

Stops the client (e.g. disconnect a persistent service connection).


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


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