Interface RouterService
public interface RouterService
Provides methods concerning the
Router.-
Method Summary
Modifier and Type Method Description voidupdatePathLock(TCSObjectReference<Path> ref, boolean locked)Updates a path's lock state.voidupdateRoutingTopology()Notifies the router that the topology has changed in a significant way and needs to be re-evaluated.
-
Method Details
-
updatePathLock
void updatePathLock(TCSObjectReference<Path> ref, boolean locked) throws ObjectUnknownException, KernelRuntimeExceptionUpdates a path's lock state.- Parameters:
ref- A reference to the path to be updated.locked- Indicates whether the path is to be locked (true) or unlocked (false).- Throws:
ObjectUnknownException- If the referenced path does not exist.KernelRuntimeException- In case there is an exception executing this method.
-
updateRoutingTopology
Notifies the router that the topology has changed in a significant way and needs to be re-evaluated.- Throws:
KernelRuntimeException- In case there is an exception executing this method.
-