Interface InternalQueryService

All Superinterfaces:
QueryService

public interface InternalQueryService
extends QueryService
Declares query-related methods not accessible to remote peers.
  • Method Summary

    Modifier and Type Method Description
    void registerResponder​(java.lang.Class<? extends Query<?>> clazz, QueryResponder responder)
    Registers the given responder for handling queries of the given type.
    void unregisterResponder​(java.lang.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

      void registerResponder​(@Nonnull java.lang.Class<? extends Query<?>> clazz, @Nonnull QueryResponder responder)
      Registers the given responder for handling queries of the given type.
      Parameters:
      clazz - The query type.
      responder - The responder to handle the queries.
    • unregisterResponder

      void unregisterResponder​(@Nonnull java.lang.Class<? extends Query<?>> clazz)
      Unregisters the responder for the given type.
      Parameters:
      clazz - The query type.