public class Locker extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
addListener(ChangeListener listener) |
boolean |
equals(Object obj)
Checks equality based on agent name.
|
Map<String,org.lsst.ccs.command.Dictionary> |
getDictionaries()
Returns command dictionaries for the agent.
|
org.lsst.ccs.bus.data.AgentInfo |
getInfo()
Returns agent descriptor, if available.
|
int |
getLevel()
Returns current level for the agent.
|
org.lsst.ccs.bus.data.AgentLock |
getLock()
Returns current lock for the agent.
|
String |
getName()
Returns agent name.
|
LockService.State |
getState()
Returns current state for the agent.
|
int |
hashCode()
Computes hash code based on agent name.
|
boolean |
isAdjusting()
Checks whether the locking state of the agent is in the process of being adjusted.
|
boolean |
isOnline()
Checks whether the agent is currently connected to the busses and its command dictionary is available.
|
boolean |
removeAllListeners() |
boolean |
removeListener(ChangeListener listener) |
public String getName()
public org.lsst.ccs.bus.data.AgentInfo getInfo()
null in the agent has never been online since this handle creation.public org.lsst.ccs.bus.data.AgentLock getLock()
null if the agent is unlocked.public int getLevel()
public LockService.State getState()
public boolean isOnline()
public boolean isAdjusting()
public Map<String,org.lsst.ccs.command.Dictionary> getDictionaries()
public boolean addListener(ChangeListener listener)
public boolean removeListener(ChangeListener listener)
public boolean removeAllListeners()
public int hashCode()
Copyright © 2023 LSST. All rights reserved.