Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages | Examples

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.

Static Public Member Functions

static void check (void)

Protected Member Functions

 Sync (void)
 Abstract class, protected constructor.
virtual bool isScheduled (void)
 Return if ready for update.
virtual unsigned getInterval (void)
 Return execution interval of this sync object.
virtual void schedule (void)=0
 Operation to perform when scheduled.
virtual char * getSyncName (void)=0
 Return name used in slog event when scheduling item.


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

static void Sync::check void   )  [static]
 

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.

virtual void Sync::schedule void   )  [protected, pure virtual]
 

Operation to perform when scheduled.


The documentation for this class was generated from the following file:
Generated on Tue Sep 13 02:19:10 2005 for Bayonne by  doxygen 1.4.4