public abstract class AbstractMonitorService extends Object implements MonitorService
Modifier and Type | Field and Description |
---|---|
protected MonitorStatusInformation |
currentState |
protected Set<MonitorListener> |
monitorListeners |
Constructor and Description |
---|
AbstractMonitorService(String id,
Executor executor,
com.google.common.collect.Interner<String> stringInterner) |
Modifier and Type | Method and Description |
---|---|
void |
addStatusListener(MonitorListener listener) |
String |
getId() |
protected String |
intern(String string) |
protected void |
notifyStateChange(MonitorStatusInformation state) |
void |
removeStatusListener(MonitorListener listener) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
akn
protected Set<MonitorListener> monitorListeners
protected MonitorStatusInformation currentState
public String getId()
getId
in interface MonitorService
public void addStatusListener(MonitorListener listener)
addStatusListener
in interface MonitorService
protected void notifyStateChange(MonitorStatusInformation state)
public void removeStatusListener(MonitorListener listener)
removeStatusListener
in interface MonitorService
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.