Simias::Storage::ChangeLogReader Class Reference

Object that retrieves specified Collection Store changes from the ChangeLog file. More...

Collaboration diagram for Simias::Storage::ChangeLogReader:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ChangeLogReader (Collection collection)
 Initializes a new instance of the object class.
EventContext GetEventContext ()
 Gets an EventContext object that contains the latest event information.
bool GetEvents (EventContext cookie, out ArrayList changeList)
 Gets the events that have been recorded in the ChangeLog from the specified event context.


Detailed Description

Object that retrieves specified Collection Store changes from the ChangeLog file.


Constructor & Destructor Documentation

Simias::Storage::ChangeLogReader::ChangeLogReader ( Collection  collection  )  [inline]

Initializes a new instance of the object class.

Parameters:
collection Collection object to listen for events on.


Member Function Documentation

EventContext Simias::Storage::ChangeLogReader::GetEventContext (  )  [inline]

Gets an EventContext object that contains the latest event information.

Returns:
An EventContext object that is up-to-date with the latest information in the event log.

bool Simias::Storage::ChangeLogReader::GetEvents ( EventContext  cookie,
out ArrayList  changeList 
) [inline]

Gets the events that have been recorded in the ChangeLog from the specified event context.

Parameters:
cookie Event context received from call to GetEventContext method.
changeList Receives a list of ChangeLogRecords that are the changes to the Collection Store.
Returns:
True if there is more data to get. Otherwise false is returned.


The documentation for this class was generated from the following file:

Generated on Wed Apr 8 14:53:10 2009 for simias by  doxygen 1.5.6