public interface AgentLockServiceDelegate
void preInit()
void preStart()
void setLevelForAgent(String agentName, int level) throws UnauthorizedLevelException, UnauthorizedLockException
agentName - the subsystem for which to change the levellevel - the level to setUnauthorizedLevelException - if the requested level cannot be set. This
happens if this agent owns a lock on the
given subsystem and that lock defines a
maximum level that is lower than the
requested level, or if this agent does not
hold a lock on the given subsystem and
this agent's default subsystem level is
lower than the requested level.UnauthorizedLockException - if the user is not allowed to acquire a
lock on the specified AgentIOException - if there was a communication problem on
the buses.void lockAgent(String agentName) throws UnauthorizedLockException
AgentLockUpdateListener will be notified. The list of owned valid
locks will be updated.agentName - UnauthorizedLockException - if the user is not allowed to acquire a
lock on the specified Agentvoid unlockAgent(String agentName) throws UnauthorizedLockException
UnauthorizedLockExceptionvoid attachLock(String agentName) throws UnauthorizedLockException
UnauthorizedLockExceptionvoid detachLock(String agentName) throws UnauthorizedLockException
UnauthorizedLockExceptionboolean validateLock(AgentLock lock)
int getLevelForAgent(String agentName)
void addAgentLockUpdateListener(AgentLockService.AgentLockUpdateListener slul)
void removeAgentLockUpdateListener(AgentLockService.AgentLockUpdateListener l)
Copyright © 2023 LSST. All rights reserved.