Interface ConfigHandler

  • All Known Implementing Classes:

    public interface ConfigHandler
    This class declares those methods required to be a handler for an instance of the ConfigAgent class. Instead of declaring separate subscribers and handlers for all types of configurations, this pair is intended to hold everything. Extend this handler whenever new configs are added to ConfigAgent.
    Simon Thoresen Hult
    • Method Detail

      • setupRouting

        void setupRouting​(RoutingSpec spec)
        Sets the routing specification for this client. This will be done synchronously during initialization, and then subsequently whenever an updated configuration is available.
        spec - The routing specification.