public class CommonSumHandler extends AbstractMasterHandlerImpl
eventAttributes
Constructor and Description |
---|
CommonSumHandler(ObjectPoolTracker<MasterItem> poolTracker) |
Modifier and Type | Method and Description |
---|---|
void |
dataUpdate(Map<String,Object> context,
DataItemValue.Builder builder)
Called when data changed or the handler chain changed.
|
void |
update(UserInformation userInformation,
Map<String,String> parameters) |
addItem, createTrackers, dispose, getMasterItems, processWrite, removeItem, reprocess
public CommonSumHandler(ObjectPoolTracker<MasterItem> poolTracker)
public void update(UserInformation userInformation, Map<String,String> parameters) throws Exception
update
in class AbstractMasterHandlerImpl
Exception
public void dataUpdate(Map<String,Object> context, DataItemValue.Builder builder)
MasterItemHandler
The call gets a context object provided which each handler can use to store context information of one calculation run. Each calculation run gets a fresh new context. The context is intended to pass data from one handler to the next.
Although the value parameter is a mutable type, the handler may only make changes inside the dataUpdate method.
dataUpdate
in interface MasterItemHandler
dataUpdate
in class AbstractMasterHandlerImpl
context
- the context objectbuilder
- the changed valueCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.