|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IsamProtocolClient
Interface IsamProtocolClient defines the API for remote ISAM sources clients. This interface is not intended for use by applications.
| Field Summary |
|---|
| Fields inherited from interface dk.vajhoej.isam.remote.IsamProtocol |
|---|
B_V1, CLOSE, CREATE, DELETE, ERROR, FIND_GE, FIND_GT, FIND_LE, FIND_LT, O_V1, OK, READ, RESULT_CLOSE, RESULT_CURRENT, RESULT_READ, UPDATE |
| Method Summary | ||
|---|---|---|
void |
close()
Close ISAM source. |
|
|
create(T o)
Create record in ISAM source. |
|
|
delete(java.lang.Class<T> t,
Key<TK> k)
Delete record from ISAM source. |
|
void |
handshake()
Send preferred version. |
|
|
read(java.lang.Class<T> t,
Key<TK> k)
Read record from ISAM source. |
|
|
readXX(int cmd,
java.lang.Class<T> t,
Key<TK> k)
Find all records matching criteria. |
|
void |
resultClose()
Close. |
|
|
resultCurrent()
Return current record. |
|
boolean |
resultRead()
Read record. |
|
|
update(T o)
Update record in ISAM source. |
|
| Method Detail |
|---|
void handshake()
throws IsamException
IsamException - if problem with ISAM source
<T,TK> T read(java.lang.Class<T> t,
Key<TK> k)
throws IsamException,
RecordException
t - type to readk - key of record to read
IsamException - if problem with ISAM source
RecordException - if problem converting data
<T> void create(T o)
throws IsamException,
RecordException
o - object to create
IsamException - if problem with ISAM source
RecordException - if problem converting data
<T> void update(T o)
throws IsamException,
RecordException
o - object to update
IsamException - if problem with ISAM source
RecordException - if problem converting data
<T,TK> void delete(java.lang.Class<T> t,
Key<TK> k)
throws IsamException,
RecordException
t - type to deletek - key of record to delete
IsamException - if problem with ISAM source
RecordException - if problem converting data
void close()
throws IsamException
IsamException - if problem with ISAM source
<T,TK> IsamResult<T> readXX(int cmd,
java.lang.Class<T> t,
Key<TK> k)
throws IsamException,
RecordException
t - type to findk - key to find
IsamException - if problem with ISAM source
RecordException - if problem converting data
boolean resultRead()
throws IsamException,
RecordException
IsamException - if problem with ISAM source
RecordException - if problem converting data
<T> T resultCurrent()
throws IsamException,
RecordException
IsamException - if problem with ISAM source
RecordException - if problem converting data
void resultClose()
throws IsamException
IsamException - if problem with ISAM source
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||