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, waitaknprotected Set<MonitorListener> monitorListeners
protected MonitorStatusInformation currentState
public String getId()
getId in interface MonitorServicepublic void addStatusListener(MonitorListener listener)
addStatusListener in interface MonitorServiceprotected void notifyStateChange(MonitorStatusInformation state)
public void removeStatusListener(MonitorListener listener)
removeStatusListener in interface MonitorServiceCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.