dk.vajhoej.isam.remote
Class RemoteIsamResult<T>

java.lang.Object
  extended by dk.vajhoej.isam.remote.RemoteIsamResult<T>
All Implemented Interfaces:
IsamResult<T>

public class RemoteIsamResult<T>
extends java.lang.Object
implements IsamResult<T>

Class RemoteIsamResult is a result from a find operation in a remote ISAM source.


Constructor Summary
RemoteIsamResult(IsamProtocolClient del)
          Create instance of RemoteIsamResult.
 
Method Summary
 void close()
          Close.
 T current()
          Return current record.
 boolean read()
          Read record.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteIsamResult

public RemoteIsamResult(IsamProtocolClient del)
Create instance of RemoteIsamResult.

Parameters:
del - client protocol implementation
Method Detail

read

public boolean read()
             throws IsamException,
                    RecordException
Description copied from interface: IsamResult
Read record.

Specified by:
read in interface IsamResult<T>
Returns:
true if record read false if record not read
Throws:
IsamException - if problem with ISAM source
RecordException - if problem converting data

current

public T current()
          throws IsamException,
                 RecordException
Description copied from interface: IsamResult
Return current record.

Specified by:
current in interface IsamResult<T>
Returns:
current record
Throws:
IsamException - if problem with ISAM source
RecordException - if problem converting data

close

public void close()
           throws IsamException
Description copied from interface: IsamResult
Close.

Specified by:
close in interface IsamResult<T>
Throws:
IsamException - if problem with ISAM source