Package sk.ipesoft.d2000.d2japi
Interface ArchiveDataListener
-
- All Known Subinterfaces:
ArchiveDataListener2
public interface ArchiveDataListener
Listener notifying about archive data arrival.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onArchiveData(sk.ipesoft.d2000.base.UnivalValue<?>[] data, boolean noMoreData)
Notify that new data from archive request has arrived.void
onArchiveObjectDescription(ArchiveObjectDescription description)
Handle description of archive object.void
onError(D2JapiErrorCode errorCode)
Notify about error that occurs during data arrival from archive.
-
-
-
Method Detail
-
onArchiveData
void onArchiveData(sk.ipesoft.d2000.base.UnivalValue<?>[] data, boolean noMoreData)
Notify that new data from archive request has arrived. If noMoreData is true, then no more data from archive came.- Parameters:
data
- data from archivenoMoreData
- specified if more data can arrived or not
-
onArchiveObjectDescription
void onArchiveObjectDescription(ArchiveObjectDescription description)
Handle description of archive object. Description is always processed just before the first data chunk.- Parameters:
description
- description of archive object
-
onError
void onError(D2JapiErrorCode errorCode)
Notify about error that occurs during data arrival from archive. After this notification, no more onArchiveData arrives.- Parameters:
errorCode
- specifies type of error
-
-