public class MarkerHandlerImpl extends AbstractCommonHandlerImpl
AbstractCommonHandlerImpl.AbstractConfigurationeventAttributes| Constructor and Description |
|---|
MarkerHandlerImpl(String configurationId,
EventProcessor eventProcessor,
ObjectPoolTracker<MasterItem> poolTracker,
int priority,
org.osgi.util.tracker.ServiceTracker<ConfigurationAdministrator,ConfigurationAdministrator> caTracker) |
| Modifier and Type | Method and Description |
|---|---|
protected WriteAttributeResults |
handleUpdate(Map<String,Variant> attributes,
OperationParameters operationParameters)
This method will be called on write request that have attributes which
match our prefix.
|
protected void |
injectAttributes(Map<String,Object> context,
DataItemValue.Builder builder) |
protected void |
injectEventAttributes(Event.EventBuilder builder) |
protected void |
processDataUpdate(Map<String,Object> context,
DataItemValue.Builder builder) |
void |
update(UserInformation userInformation,
Map<String,String> parameters) |
createEventBuilder, dataUpdategetPrefixed, processWrite, updateConfiguration, updateConfigurationaddItem, createTrackers, dispose, getMasterItems, removeItem, reprocesspublic MarkerHandlerImpl(String configurationId, EventProcessor eventProcessor, ObjectPoolTracker<MasterItem> poolTracker, int priority, org.osgi.util.tracker.ServiceTracker<ConfigurationAdministrator,ConfigurationAdministrator> caTracker)
protected void processDataUpdate(Map<String,Object> context, DataItemValue.Builder builder) throws Exception
processDataUpdate in class AbstractCommonHandlerImplExceptionprotected void injectAttributes(Map<String,Object> context, DataItemValue.Builder builder)
public void update(UserInformation userInformation, Map<String,String> parameters) throws Exception
update in class AbstractMasterHandlerImplExceptionprotected void injectEventAttributes(Event.EventBuilder builder)
injectEventAttributes in class AbstractCommonHandlerImplprotected WriteAttributeResults handleUpdate(Map<String,Variant> attributes, OperationParameters operationParameters) throws Exception
AbstractConfigurableMasterHandlerImplAll attributes that are processed must be returned in the result
handleUpdate in class AbstractConfigurableMasterHandlerImplattributes - the filtered attributes that match our prefixException - if anything goes wrongCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.