Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Sync Class Reference

The Sync class is used to create dso objects which have entites that are repetitivly called through the scheduler thread. More...

#include <bayonne.h>

List of all members.

Protected Methods

 Sync (void)
 Abstract class, protected constructor. More...

virtual bool isScheduled (void)
 Return if ready for update. More...

virtual unsigned getInterval (void)
 Return execution interval of this sync object. More...

virtual void Schedule (void)=0
 Operation to perform when scheduled. More...

virtual char * getSyncName (void)=0
 Return name used in slog event when scheduling item. More...


Friends

class Scheduler


Detailed Description

The Sync class is used to create dso objects which have entites that are repetitivly called through the scheduler thread.

These are sometimes used to update disk based databases from memory, or perform other interval timed operations.


Constructor & Destructor Documentation

Sync::Sync void   [protected]
 

Abstract class, protected constructor.


Member Function Documentation

virtual void Sync::Schedule void   [protected, pure virtual]
 

Operation to perform when scheduled.

virtual unsigned Sync::getInterval void   [inline, protected, virtual]
 

Return execution interval of this sync object.

How many xx minutes before attempting a new sync.

virtual char* Sync::getSyncName void   [protected, pure virtual]
 

Return name used in slog event when scheduling item.

virtual bool Sync::isScheduled void   [inline, protected, virtual]
 

Return if ready for update.

If not, the current update interval may be skipped entirely.


Friends And Related Function Documentation

friend class Scheduler [friend]
 


The documentation for this class was generated from the following file:
Generated at Wed Nov 21 12:17:04 2001 for Bayonne by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001