Interface InternalQueryService
- All Superinterfaces:
QueryService
Declares query-related methods not accessible to remote peers.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
registerResponder
(Class<? extends Query<?>> clazz, QueryResponder responder) Registers the given responder for handling queries of the given type.void
unregisterResponder
(Class<? extends Query<?>> clazz) Unregisters the responder for the given type.Methods inherited from interface org.opentcs.components.kernel.services.QueryService
query
-
Method Details
-
registerResponder
Registers the given responder for handling queries of the given type.- Parameters:
clazz
- The query type.responder
- The responder to handle the queries.
-
unregisterResponder
Unregisters the responder for the given type.- Parameters:
clazz
- The query type.
-