Interface PeripheralControllerPool


public interface PeripheralControllerPool
Maintains associations between locations and peripheral controllers.
  • Method Details

    • getPeripheralController

      @Nonnull PeripheralController getPeripheralController​(TCSResourceReference<Location> location) throws java.lang.IllegalArgumentException
      Returns the peripheral controller associated with the given location.
      Parameters:
      location - The reference to the location.
      Returns:
      The peripheral controller associated with the given location.
      Throws:
      java.lang.IllegalArgumentException - If no peripheral controller is associated with the given location or if the referenced location does not exist.