com.phoenix_int.aserver.monitors
Interface IPHXFileCallback


public interface IPHXFileCallback

Callback interface to signal data available on a file being monitored.


Method Summary
 boolean dataReady(java.lang.String data)
          Called when data is ready
 boolean fileTruncated()
          Indicates that the file was truncated back to 0 bytes.
 

Method Detail

dataReady

boolean dataReady(java.lang.String data)
Called when data is ready

Parameters:
position - The position in the file that this data starts at.
data - The available data
Returns:
true to continue monitoring, false to abort monitoring

fileTruncated

boolean fileTruncated()
Indicates that the file was truncated back to 0 bytes.

Returns:
true to continue monitoring, false to abort monitoring