public static class AgentCommandDictionaryService.AgentCommandDictionaryEvent extends Object
AgentCommandDictionaryListeners when an agent
command dictionary has changed.
It contains the EventType describing the nature of the change:
* ADDED: fired when an Agent first joins the buses
* UPDATED: fired when an existing dictionary is updated. Currently
the only changes to a dictionary are caused by lock/level changes
* REMOVED: fired when an agent leaves the buses. The corresponding
dictionary is null.
An AgentCommandDictionaryEvent also contains the AgentInfo for which
the event was fired and the Map<String,Dictionary> containing all
the targets and corresponding dictionaries for the given Agent.| Modifier and Type | Class and Description |
|---|---|
static class |
AgentCommandDictionaryService.AgentCommandDictionaryEvent.EventType
EventType enumeration describing the nature of the dictionary change.
|
| Modifier and Type | Method and Description |
|---|---|
AgentInfo |
getAgentInfo()
The AgentInfo for the Agent that triggered the event.
|
HashMap<String,Dictionary> |
getDictionary()
Get the
Map<String,Dictionary> of targets with corresponding
Dictionary that are available for the given AgentInfo. |
AgentCommandDictionaryService.AgentCommandDictionaryEvent.EventType |
getEventType()
Get the EventType describing this event.
|
public AgentCommandDictionaryService.AgentCommandDictionaryEvent.EventType getEventType()
EventType that describes the event.public AgentInfo getAgentInfo()
AgentInfo object.public HashMap<String,Dictionary> getDictionary()
Map<String,Dictionary> of targets with corresponding
Dictionary that are available for the given AgentInfo.Copyright © 2022 LSST. All rights reserved.