Class DafConfigurationCommunicationListenerSupport
- java.lang.Object
-
- de.bsvrz.dav.daf.main.impl.config.DafConfigurationCommunicationListenerSupport
-
public class DafConfigurationCommunicationListenerSupport extends java.lang.Object
Verwaltet die Listener für die Kommunikation mit der Komfiguration.
-
-
Constructor Summary
Constructors Constructor Description DafConfigurationCommunicationListenerSupport(SystemObject object)
-
Method Summary
Modifier and Type Method 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.boolean
isConfigurationCommunicationActive()
void
removeConfigurationCommunicationChangeListener(ConfigurationCommunicationChangeListener listener)
-
-
-
Constructor Detail
-
DafConfigurationCommunicationListenerSupport
public DafConfigurationCommunicationListenerSupport(SystemObject object)
-
-
Method Detail
-
addConfigurationCommunicationChangeListener
public void addConfigurationCommunicationChangeListener(ConfigurationCommunicationChangeListener listener)
- Parameters:
listener
- Beobachter für Zustandsänderungen der Kommunikation.- See Also:
ConfigurationCommunicationInterface.isConfigurationCommunicationActive()
-
removeConfigurationCommunicationChangeListener
public void removeConfigurationCommunicationChangeListener(ConfigurationCommunicationChangeListener listener)
- Parameters:
listener
- Ein bisher für Zustandsänderungen der Kommunikation angemeldeter Beobachter.- See Also:
ConfigurationCommunicationInterface.removeConfigurationCommunicationChangeListener(de.bsvrz.dav.daf.main.config.ConfigurationCommunicationChangeListener)
-
configurationCommunicationChange
public 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.- Parameters:
object
- Objekt (MutableSet
oderDynamicObject
) 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
-
isConfigurationCommunicationActive
public boolean isConfigurationCommunicationActive()
-
-