Class DataProcessHandler
- java.lang.Object
-
- com.inductiveautomation.gateway.tags.history.processing.DataProcessHandler
-
- All Implemented Interfaces:
DataHandler
public class DataProcessHandler extends java.lang.Object implements DataHandler
Links between a processor and a handler. Values are put into the processor, and as processed values are emitted, put into a DataHandler.
-
-
Constructor Summary
Constructors Constructor Description DataProcessHandler(DataProcessor processor, DataHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
flush()
Indicate that the handler won't get any more data, at least for a while.protected void
handleProcessed(java.util.List<RawTagValue> values)
void
putValue(RawTagValue inValue)
Insert a value into the handler.
-
-
-
Constructor Detail
-
DataProcessHandler
public DataProcessHandler(DataProcessor processor, DataHandler handler)
-
-
Method Detail
-
putValue
public void putValue(RawTagValue inValue) throws java.lang.Exception
Description copied from interface:DataHandler
Insert a value into the handler.- Specified by:
putValue
in interfaceDataHandler
- Throws:
java.lang.Exception
-
handleProcessed
protected void handleProcessed(java.util.List<RawTagValue> values) throws java.lang.Exception
- Throws:
java.lang.Exception
-
flush
public void flush() throws java.lang.Exception
Description copied from interface:DataHandler
Indicate that the handler won't get any more data, at least for a while.- Specified by:
flush
in interfaceDataHandler
- Throws:
java.lang.Exception
-
-