Package org.lsst.ccs.services
Class DataProviderDictionaryService.DataProviderDictionaryEvent
java.lang.Object
org.lsst.ccs.services.DataProviderDictionaryService.DataProviderDictionaryEvent
- Enclosing class:
- DataProviderDictionaryService
An event fired to
DataProviderDictionaryListeners when an agent
data dictionary has changed.
It contains the EventType describing the nature of the change:
* ADDED: fired when an Agent first joins the buses
* REMOVED: fired when an agent leaves the buses. The corresponding
dictionary is null.
An DataProviderDictionaryEvent 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.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEventType enumeration describing the nature of the dictionary change. -
Method Summary
Modifier and TypeMethodDescriptionThe AgentInfo for the Agent that triggered the event.Get theDataProviderDictionary.Get the EventType describing this event.
-
Method Details
-
getEventType
Get the EventType describing this event.- Returns:
- The
EventTypethat describes the event.
-
getAgentInfo
The AgentInfo for the Agent that triggered the event.- Returns:
- The
AgentInfoobject.
-
getDictionary
Get theDataProviderDictionary.- Returns:
- DataProviderDictionary.
-