DsLogAdmin::Iterator Interface Reference

The iterator is used when a query or retrieve operation is returning a large number of log records. More...

import "DsLogAdmin.idl";

List of all members.

Public Member Functions

RecordList get (in unsigned long position, in unsigned long how_many) raises (InvalidParam)
 Return elements at requested position.
void destroy ()
 Destroy this iterator.


Detailed Description

The iterator is used when a query or retrieve operation is returning a large number of log records.


Member Function Documentation

void DsLogAdmin::Iterator::destroy (  ) 

Destroy this iterator.

RecordList DsLogAdmin::Iterator::get ( in unsigned long  position,
in unsigned long  how_many 
) raises (InvalidParam)

Return elements at requested position.

position - The position to start from. how_many - Number of records to retrieve.

Returns:
An array of size how_many with LogRecord elements. If less than how_many records are available, all remaining records are returned. InvalidParam If position is larger than maximum iterator size of of position is before a position already requested. The latter is enforced because the iterator can not be backed up.