com.isti.util
Interface FileMonPollingThread.FileDataCallBack

Enclosing class:
FileMonPollingThread

public static interface FileMonPollingThread.FileDataCallBack

Interface FileDataCallBack defines a call-back method to be invoked when new file data is available.


Method Summary
 void callBackMethod(boolean flagVal, byte[] byteArr)
          Method invoked when new file data is available.
 

Method Detail

callBackMethod

void callBackMethod(boolean flagVal,
                    byte[] byteArr)
Method invoked when new file data is available.

Parameters:
flagVal - true for success; false for error (in which case the 'byteArr' parameter will contain an error message).
byteArr - file data (if 'flagVal'==true), or the data from an error-message string (if 'flagVal'==false).