public class DafConfigurationCommunicationListenerSupport extends Object
Constructor and Description |
---|
DafConfigurationCommunicationListenerSupport(SystemObject object) |
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.
|
boolean |
isConfigurationCommunicationActive() |
void |
removeConfigurationCommunicationChangeListener(ConfigurationCommunicationChangeListener listener) |
public DafConfigurationCommunicationListenerSupport(SystemObject object)
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(de.bsvrz.dav.daf.main.config.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 anpublic boolean isConfigurationCommunicationActive()