com.ibm.jtopenlite.ddm
Interface DDMReadCallback

All Known Implementing Classes:
DDMReadCallbackAdapter, DDMThreadedReader

public interface DDMReadCallback

Used by DDMConnection to pass the output of a read operation to the user in a memory-conscious fashion.


Method Summary
 void endOfFile(DDMCallbackEvent event)
          Called by DDMConnection when a read or position operation moved the cursor to before the first record or after the last record.
 void newRecord(DDMCallbackEvent event, DDMDataBuffer dataBuffer)
          Called by DDMConnection when a new record has been read.
 void recordNotFound(DDMCallbackEvent event)
          Called by DDMConnection when a keyed read returned no matching records.
 

Method Detail

newRecord

void newRecord(DDMCallbackEvent event,
               DDMDataBuffer dataBuffer)
               throws IOException
Called by DDMConnection when a new record has been read.

Throws:
IOException

recordNotFound

void recordNotFound(DDMCallbackEvent event)
Called by DDMConnection when a keyed read returned no matching records.


endOfFile

void endOfFile(DDMCallbackEvent event)
Called by DDMConnection when a read or position operation moved the cursor to before the first record or after the last record.