|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.jtopenlite.ddm.DDMReadCallbackAdapter
public abstract class DDMReadCallbackAdapter
Helper class for implementing a DDMReadCallback.
| Constructor Summary | |
|---|---|
DDMReadCallbackAdapter()
|
|
| 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. |
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 |
|---|
public DDMReadCallbackAdapter()
| Method Detail |
|---|
public boolean isDone()
endOfFile() or recordNotFound().
To reset the state, call reset().
public abstract void newRecord(int recordNumber,
byte[] recordData,
boolean[] nullFields)
throws IOException
IOException
public void newRecord(DDMCallbackEvent event,
DDMDataBuffer dataBuffer)
throws IOException
DDMReadCallback
newRecord in interface DDMReadCallbackIOExceptionpublic void recordNotFound(DDMCallbackEvent event)
DDMReadCallback
recordNotFound in interface DDMReadCallbackpublic void endOfFile(DDMCallbackEvent event)
DDMReadCallback
endOfFile in interface DDMReadCallbackpublic void reset()
isDone()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||