Class ControllerDispatcherHandler

java.lang.Object
com.illumon.iris.controller.ControllerDispatcherHandler
All Implemented Interfaces:
com.fishlib.net.api.CommandHandler

public class ControllerDispatcherHandler extends Object implements com.fishlib.net.api.CommandHandler
Class to handle dispatcher details. One of these will be created for each dispatcher. We rely on the dispatcher to tell us its current values when something changes. The only exception is that when a PQ is starting, we'll internally account for it before the dispatcher is aware of any changes; this is to ensure that when multiple PQs start at the same time, we can let a server selection provider know server utilization immediately.
  • Method Details

    • handleCommand

      public void handleCommand(@NotNull com.fishlib.net.api.ClientEntry client, @NotNull com.fishlib.base.Command command)
      Specified by:
      handleCommand in interface com.fishlib.net.api.CommandHandler
    • handleClientDeath

      public void handleClientDeath(@NotNull com.fishlib.net.api.ClientEntry client)
      Specified by:
      handleClientDeath in interface com.fishlib.net.api.CommandHandler