|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the ServiceServer
responds to requests of this typeS
- the ServiceServer
returns responses of this typepublic interface ServiceClient<T,S>
Provides a connection to a ROS service.
Method Summary | |
---|---|
void |
call(T request,
ServiceResponseListener<S> listener)
Calls a method on the ServiceServer . |
void |
connect(java.net.URI uri)
Connects to a ServiceServer . |
GraphName |
getName()
|
T |
newMessage()
|
void |
shutdown()
Stops the client (e.g. |
Method Detail |
---|
void connect(java.net.URI uri)
ServiceServer
.
uri
- the URI
of the ServiceServer
to connect tovoid call(T request, ServiceResponseListener<S> listener)
ServiceServer
.
request
- the request messagelistener
- the ServiceResponseListener
that will handle the response
to this requestGraphName getName()
ServiceClient
is connected tovoid shutdown()
T newMessage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |