Package sk.ipesoft.d2000.d2japi
Interface AuditDataListener
-
public interface AuditDataListener
Interface for receiving list of object names in chunks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onData(java.lang.String[] chunk, boolean last)
Receive next chunk of object names.void
onError(java.lang.String comment)
Called when an error occured in kernel while reading data.
-
-
-
Method Detail
-
onData
void onData(java.lang.String[] chunk, boolean last)
Receive next chunk of object names. Method is called at least once. On each call next chunk of object names is delivered inchunk
array. The last chunk is signaled bytrue
inlast
.- Parameters:
chunk
- array of object nameslast
-true
if the current chunk is the last one
-
onError
void onError(java.lang.String comment)
Called when an error occured in kernel while reading data. Error can occur as a first message or after receiving several chunks, but no more chunks will be received after an error. Error is more closely specified bycomment
.- Parameters:
comment
- user readable error description
-
-