public class HSDBValueSource extends AbstractValueSource
Constructor and Description |
---|
HSDBValueSource(org.osgi.framework.BundleContext context,
File root,
String name) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
Date |
getEndTimestamp() |
Date |
getStartTimestamp() |
boolean |
visit(ValueVisitor visitor,
Date start,
Date end)
Visit the value source
|
protected boolean |
visitFile(org.eclipse.scada.hd.server.importer.hsdb.HSDBValueSource.FileEntry entry,
ValueVisitor visitor) |
addListener, notifyChange, removeListener
public HSDBValueSource(org.osgi.framework.BundleContext context, File root, String name) throws FileNotFoundException, IOException
FileNotFoundException
IOException
public Date getStartTimestamp()
public Date getEndTimestamp()
public boolean visit(ValueVisitor visitor, Date start, Date end)
ValueSource
visitor
- the visitorstart
- the start timestampend
- the end timestamptrue
if more data should be read, false
otherwiseprotected boolean visitFile(org.eclipse.scada.hd.server.importer.hsdb.HSDBValueSource.FileEntry entry, ValueVisitor visitor)
public void dispose()
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.