public class RoundHandlerImpl extends AbstractCommonHandlerImpl
AbstractCommonHandlerImpl.AbstractConfigurationeventAttributes| Constructor and Description |
|---|
RoundHandlerImpl(String configurationId,
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(DataItemValue.Builder builder) |
protected void |
processDataUpdate(Map<String,Object> context,
DataItemValue.Builder builder) |
void |
update(UserInformation userInformation,
Map<String,String> parameters) |
createEventBuilder, dataUpdate, injectEventAttributesgetPrefixed, processWrite, updateConfiguration, updateConfigurationaddItem, createTrackers, dispose, getMasterItems, removeItem, reprocesspublic RoundHandlerImpl(String configurationId, 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 AbstractCommonHandlerImplExceptionpublic void update(UserInformation userInformation, Map<String,String> parameters) throws Exception
update in class AbstractMasterHandlerImplExceptionprotected void injectAttributes(DataItemValue.Builder builder)
protected 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.