public class MemoryBlock extends Object
| Constructor and Description |
|---|
MemoryBlock(ScheduledExecutorService executor,
HiveSource hiveSource,
Properties properties,
String logName)
Create a new memory block
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
protected void |
handleStateChange(SourceDefinition definition,
DataItemValue value) |
org.apache.mina.core.buffer.IoBuffer |
readData(int offset,
int length) |
void |
setConfiguration(List<SourceDefinition> definitions) |
int |
write(int address,
org.apache.mina.core.buffer.IoBuffer value) |
public MemoryBlock(ScheduledExecutorService executor, HiveSource hiveSource, Properties properties, String logName)
executor - a single threaded executor for sending out eventshiveSource - the source of the hive to exportproperties - properties to log on to the hivelogName - an optional logging namepublic void dispose()
public org.apache.mina.core.buffer.IoBuffer readData(int offset,
int length)
public int write(int address,
org.apache.mina.core.buffer.IoBuffer value)
public void setConfiguration(List<SourceDefinition> definitions)
protected void handleStateChange(SourceDefinition definition, DataItemValue value)
Copyright © 2015 Eclipse SCADA Project. All rights reserved.