com.kuka.roboticsAPI.requestModel
Interface IRequestHandler


public interface IRequestHandler

Implementing classes may register themselves globally at the RequestService to handle user requests.

This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

Method Summary
 Collection<Class<? extends IRequest>> getMappingTypes()
          Gets the list of request types which the handler can handle.
 void onPerformRequest(IRequest request, Controller controller, RequestService service)
          Called when a request should be performed.
 

Method Detail

onPerformRequest

void onPerformRequest(IRequest request,
                      Controller controller,
                      RequestService service)
Called when a request should be performed.

Parameters:
request - The request.
controller - The controller the which the request was sent.
service - The request service which was asked to perform the request.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

getMappingTypes

Collection<Class<? extends IRequest>> getMappingTypes()
Gets the list of request types which the handler can handle.

Returns:
The list of request types which the handler can handle.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.


Copyright © 2019. All rights reserved.