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

NAME

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

SYNOPSIS



#include <bayonne.h>

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

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.

Author

Generated automatically by Doxygen for Bayonne from the source code.