public class BitMonitor extends AbstractBooleanMonitor
masterItemmonitorListeners| Constructor and Description |
|---|
BitMonitor(org.osgi.framework.BundleContext context,
Executor executor,
com.google.common.collect.Interner<String> stringInterner,
ObjectPoolTracker<MasterItem> poolTracker,
EventProcessor eventProcessor,
String id,
String prefix,
String defaultMonitorType) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getDefaultHandlerPriority() |
protected void |
handleConfigUpdate(Map<String,String> configUpdate,
Map<String,Variant> attributes,
WriteAttributeResults result) |
protected void |
injectAttributes(DataItemValue.Builder builder)
Inject attributes to the value after the value update has been performed
using
#performDataUpdate(Builder) |
protected void |
performBooleanUpdate(DataItemValue.Builder builder,
boolean value) |
void |
update(UserInformation userInformation,
Map<String,String> properties) |
performValueUpdateperformDataUpdatehandleDataUpdate, setFailureakn, applyPersistentInformation, dispose, getConfigurationId, getFactoryId, getPrefix, injectEventAttributes, notifyStateChange, reprocess, setPrefixnodeChanged, setDataStore, storePersistentInformationbuildMonitorAttributes, createEvent, getCurrentState, isSuppressEvents, sendEvent, sendEvent, sendEvent, setAttributes, setFailure, setInactive, setOk, setState, setStringAttributes, setSuppressEvents, setUnsafe, triggerFailureaddStatusListener, getId, intern, removeStatusListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddStatusListener, getId, removeStatusListenerpublic BitMonitor(org.osgi.framework.BundleContext context,
Executor executor,
com.google.common.collect.Interner<String> stringInterner,
ObjectPoolTracker<MasterItem> poolTracker,
EventProcessor eventProcessor,
String id,
String prefix,
String defaultMonitorType)
protected int getDefaultHandlerPriority()
getDefaultHandlerPriority in class AbstractMasterItemMonitorprotected void performBooleanUpdate(DataItemValue.Builder builder, boolean value)
performBooleanUpdate in class AbstractBooleanMonitorpublic void update(UserInformation userInformation, Map<String,String> properties) throws Exception
update in interface DataItemMonitorupdate in class AbstractDemotingMasterItemMonitorExceptionprotected void injectAttributes(DataItemValue.Builder builder)
AbstractMasterItemMonitor#performDataUpdate(Builder)injectAttributes in class AbstractMasterItemMonitorbuilder - the builder to use for changing informationprotected void handleConfigUpdate(Map<String,String> configUpdate, Map<String,Variant> attributes, WriteAttributeResults result)
handleConfigUpdate in class AbstractMasterItemMonitorCopyright © 2015 Eclipse SCADA Project. All rights reserved.