org.ros.node.service
Interface ServiceResponseListener<MessageType>

Type Parameters:
MessageType - handles messages of this type

public interface ServiceResponseListener<MessageType>

A listener for service responses.


Method Summary
 void onFailure(RemoteException e)
          Called when a service method fails to return successfully.
 void onSuccess(MessageType response)
          Called when a service method returns successfully.
 

Method Detail

onSuccess

void onSuccess(MessageType response)
Called when a service method returns successfully.

Parameters:
response - the response message

onFailure

void onFailure(RemoteException e)
Called when a service method fails to return successfully.

Parameters:
e - the RemoteException received from the service