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

      Methods 
      Modifier and Type Method and Description
      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 java.io.IOException
        Called by DDMConnection when a new record has been read.
        Throws:
        java.io.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.