Interface PeripheralDispatcherService
public interface PeripheralDispatcherService
Provides methods concerning the
PeripheralJobDispatcher.-
Method Summary
Modifier and Type Method Description voiddispatch()Explicitly trigger the dispatching process for peripheral jobs.voidwithdrawByLocation(TCSResourceReference<Location> ref)Withdraw any job that a peripheral device (represented by the given location) might be processing.voidwithdrawByPeripheralJob(TCSObjectReference<PeripheralJob> ref)Withdraw the given peripheral job.
-
Method Details
-
dispatch
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, KernelRuntimeExceptionWithdraw any job 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.
-
withdrawByPeripheralJob
void withdrawByPeripheralJob(TCSObjectReference<PeripheralJob> ref) throws ObjectUnknownException, KernelRuntimeExceptionWithdraw the given peripheral job.- Parameters:
ref- A reference to the peripheral job to be withdrawn.- Throws:
ObjectUnknownException- If the referenced peripheral job does not exist.KernelRuntimeException- In case there is an exception executing this method.
-