Package org.opentcs.components.kernel.services

# Interface PeripheralDispatcherService

    public interface PeripheralDispatcherService

Provides methods concerning the `PeripheralJobDispatcher`.

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `void` | `dispatch()` | Explicitly trigger the dispatching process for peripheral jobs.
  `void` | `withdrawByLocation​(TCSResourceReference<Location> ref)` | Withdraw any order that a peripheral device (represented by the given location) might be processing.

- ## Method Details

  - ### dispatch

    void dispatch() throws KernelRuntimeException
    Explicitly trigger the dispatching process for peripheral jobs.
    Throws:
      `KernelRuntimeException` - In case there is an exception executing this method.

  - ### withdrawByLocation

    void withdrawByLocation​(TCSResourceReference<Location> ref) throws ObjectUnknownException, KernelRuntimeException
    Withdraw any order that a peripheral device (represented by the given location) might be processing.
    Parameters:
      `ref` - A reference to the location representing the peripheral device.
    Throws:
      `ObjectUnknownException` - If the referenced location does not exist.
      `KernelRuntimeException` - In case there is an exception executing this method.