public class ConfigurationCommunicationListenerSupport extends Object
Modifier and Type | Field and Description |
---|---|
(package private) CopyOnWriteArrayList<ConfigurationCommunicationChangeListener> |
_configComListeners
Speichert alle Beobachter, die an Kommunikationsänderungen zu diesem Objekts interessiert sind.
|
Constructor and Description |
---|
ConfigurationCommunicationListenerSupport() |
Modifier and Type | Method and Description |
---|---|
void |
addConfigurationCommunicationChangeListener(ConfigurationCommunicationChangeListener listener) |
void |
configurationCommunicationChange(ConfigurationCommunicationInterface object,
boolean configComStatus)
Schnittstelle um allen angemeldeten Listenern Bescheid zu geben, dass sich der Zustand der Kommunikation mit der verwaltenden Konfiguration
des angegebenen Objekts geändert hat.
|
void |
removeConfigurationCommunicationChangeListener(ConfigurationCommunicationChangeListener listener) |
CopyOnWriteArrayList<ConfigurationCommunicationChangeListener> _configComListeners
public ConfigurationCommunicationListenerSupport()
public void addConfigurationCommunicationChangeListener(ConfigurationCommunicationChangeListener listener)
listener
- Beobachter für Zustandsänderungen der Kommunikation.ConfigurationCommunicationInterface.isConfigurationCommunicationActive()
public void removeConfigurationCommunicationChangeListener(ConfigurationCommunicationChangeListener listener)
listener
- Ein bisher für Zustandsänderungen der Kommunikation angemeldeter Beobachter.ConfigurationCommunicationInterface.removeConfigurationCommunicationChangeListener(ConfigurationCommunicationChangeListener)
public void configurationCommunicationChange(ConfigurationCommunicationInterface object, boolean configComStatus)
object
- Objekt (MutableSet
oder DynamicObject
) zu dessen verwaltenden Konfiguration sich der Kommunikationszustand geändert hatconfigComStatus
- der aktuelle Kommunikationszustand. True bedeutet die Kommunikation steht, false zeigt eine Unterbrechung der Kommunikation an