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(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

      void registerResponder(@Nonnull 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 Class<? extends Query<?>> clazz)
      Unregisters the responder for the given type.
      Parameters:
      clazz - The query type.