| Package | Description |
|---|---|
| org.lsst.ccs.bus.data |
This package defines all the public data sent on the CCS buses via
messages defined in package org.lsst.ccs.bus.messages.
|
| org.lsst.ccs.bus.messages |
This package defines all the standard messages for the CCS buses.
|
| org.lsst.ccs.messaging |
Package defining the CCS Messaging interfaces.
|
| org.lsst.ccs.services |
| Modifier and Type | Class and Description |
|---|---|
class |
AgentLockInfo |
| Modifier and Type | Method and Description |
|---|---|
static String |
AgentLockInfo.asString(AgentLock lock) |
| Modifier and Type | Method and Description |
|---|---|
AgentLock |
CommandRequest.getLock()
Get the lock associated to this command request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CommandRequest.setLockAndLevel(AgentLock lock,
int level)
Associate lock and level sender's information to this command request.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DummyLock
A dummy lock used for preliminary implementation of the agent lock service.
|
| Modifier and Type | Method and Description |
|---|---|
AgentLock |
LockLevelService.getLockForAgent(String agentName)
Get this agent's lock, if available.
|
| Modifier and Type | Field and Description |
|---|---|
protected AgentLock |
AbstractAgentLockServiceDelegate.myCurrentLock |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,AgentLock> |
AbstractAgentLockServiceDelegate.allLocks |
protected Map<String,AgentLock> |
AbstractAgentLockServiceDelegate.heldLocks |
| Modifier and Type | Method and Description |
|---|---|
AgentLock |
AbstractAgentLockServiceDelegate.getCurrentLock() |
AgentLock |
AgentLockServiceDelegate.getExistingLockForAgent(String agentName) |
AgentLock |
AgentLockService.getExistingLockForAgent(String agentName)
Returns a lock for the specified subsystem if there is one,
null otherwise. |
AgentLock |
AbstractAgentLockServiceDelegate.getExistingLockForAgent(String agentName) |
AgentLock |
AgentLockServiceDelegate.getLockForAgent(String agentName) |
AgentLock |
AgentLockService.getLockForAgent(String agentName)
Returns a lock for the specified subsystem if there is one attached to this agent,
null otherwise. |
AgentLock |
AbstractAgentLockServiceDelegate.getLockForAgent(String agentName) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,AgentLock> |
AgentLockServiceDelegate.getHeldLocks() |
Map<String,AgentLock> |
AgentLockService.getHeldLocks()
Returns a map of attached locks.
|
Map<String,AgentLock> |
AbstractAgentLockServiceDelegate.getHeldLocks() |
Map<String,AgentLock> |
LocalAgentLockService.getLocks() |
Map<String,AgentLock> |
AgentLockServiceDelegate.getLocks() |
Map<String,AgentLock> |
AgentLockService.getLocks()
Returns a map of all existing locks, regardless of who owns them and what agents they are attached to.
|
Map<String,AgentLock> |
AbstractAgentLockServiceDelegate.getLocks() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractAgentLockServiceDelegate.addHeldLock(AgentLock lock) |
protected void |
AbstractAgentLockServiceDelegate.notifyGlobalLockListeners(String agentName,
AgentLock lock) |
protected void |
AbstractAgentLockServiceDelegate.notifyHeldLockListeners(String agentName,
AgentLock lock) |
protected void |
AbstractAgentLockServiceDelegate.notifyLockListeners(String agentName,
String owner,
AgentLock lock) |
default void |
AgentLockService.AgentLockUpdateListener.onAgentHeldLockUpdate(String agentName,
AgentLock lock)
Called when the current agent acquires or releases a new lock
|
default void |
AgentLockService.AgentLockUpdateListener.onAgentLockUpdate(String agentName,
String owner,
AgentLock lock)
Called when the current agent is locked or unlocked.
|
default void |
AgentLockService.AgentLockUpdateListener.onGlobalLockUpdate(String agentName,
String owner,
AgentLock lock)
Called when any agent on the network is locked or unlocked
|
protected void |
AbstractAgentLockServiceDelegate.removeHeldLock(String agentName,
AgentLock info) |
protected void |
AbstractAgentLockServiceDelegate.setCurrentLock(AgentLock lock) |
boolean |
LocalAgentLockService.validateLock(AgentLock lock) |
boolean |
AgentLockServiceDelegate.validateLock(AgentLock lock) |
boolean |
AgentLockService.validateLock(AgentLock lock)
Validate a lock object.
|
boolean |
AbstractAgentLockServiceDelegate.validateLock(AgentLock lock) |
Copyright © 2023 LSST. All rights reserved.