com.ibm.jtopenlite.ddm

Class DDMReadCallbackAdapter

  • java.lang.Object
    • com.ibm.jtopenlite.ddm.DDMReadCallbackAdapter
    • 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.
      boolean isDone()
      Returns true after an operation calls endOfFile() or recordNotFound().
      void newRecord(DDMCallbackEvent event, DDMDataBuffer dataBuffer)
      Called by DDMConnection when a new record has been read.
      abstract void newRecord(int recordNumber, byte[] recordData, boolean[] nullFields)
      Called by the other newRecord().
      void recordNotFound(DDMCallbackEvent event)
      Called by DDMConnection when a keyed read returned no matching records.
      void reset()
      Resets the state of this callback adapter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DDMReadCallbackAdapter

        public DDMReadCallbackAdapter()
    • Method Detail

      • newRecord

        public abstract void newRecord(int recordNumber,
                     byte[] recordData,
                     boolean[] nullFields)
                                throws java.io.IOException
        Called by the other newRecord().
        Throws:
        java.io.IOException
      • endOfFile

        public void endOfFile(DDMCallbackEvent event)
        Description copied from interface: DDMReadCallback
        Called by DDMConnection when a read or position operation moved the cursor to before the first record or after the last record.
        Specified by:
        endOfFile in interface DDMReadCallback
      • reset

        public void reset()
        Resets the state of this callback adapter.
        See Also:
        isDone()