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.

virtual bool isScheduled (void) = 0
 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.

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


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

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

Operation to perform when scheduled.

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

Return execution interval of this sync object.

How many xx minutes before attempting a new sync.

char * Sync::getName ( void ) [protected, pure virtual]
 

Return name used in slog event when scheduling item.

bool Sync::isScheduled ( void ) [protected, pure virtual]
 

Return if ready for update.

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


Friends And Related Function Documentation

class Scheduler [friend]
 


The documentation for this class was generated from the following file:
Generated at Sat Feb 3 09:41:24 2001 for Bayonne by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000