|
|
|
|
|
Re: Synchronous HD Items and Values [message #1635040 is a reply to message #1634597] |
Wed, 25 February 2015 15:39 |
Krishna KK Messages: 6 Registered: February 2015 |
Junior Member |
|
|
Jen,
Sorry, I meant HD items. Here is the code that am referring to:
import org.eclipse.scada.hd.ItemListListener;
import org.eclipse.scada.hd.client.Connection;
import org.eclipse.scada.hd.data.HistoricalItemInformation;
public class ItemListObserver implements ItemListListener
{
private final Map<String, HistoricalItemInformation> items = new HashMap<String, HistoricalItemInformation> ();
public ItemListObserver ( final Connection connection)
{
synchronized ( this )
{
connection.addListListener ( this );
}
}
@Override
public void listChanged ( final Set<HistoricalItemInformation> addedOrModified, final Set<String> removed, final boolean full )
{
handleUpdate ( addedOrModified, removed, full );
}
Is there a way for me to find if the retrieval is complete in the ItemListListener or should I be using a different approach?
Appreciate your help,
Regards,
Krishna
|
|
|
Powered by
FUDForum. Page generated in 0.04230 seconds