Buteo Synchronization Framework
Public Slots | Public Member Functions | List of all members
Buteo::SyncBackup Class Reference

Handles Sync requirements towards Backup. More...

#include <SyncBackup.h>

Inheritance diagram for Buteo::SyncBackup:
Buteo::SyncBackupProxy

Public Slots

uchar backupStarts (const QDBusMessage &message)
 Called by backup framework when backup starts.
 
uchar backupFinished (const QDBusMessage &message)
 
uchar restoreStarts (const QDBusMessage &message)
 
uchar restoreFinished (const QDBusMessage &message)
 
- Public Slots inherited from Buteo::SyncBackupProxy
virtual uchar backupStarts (const QDBusMessage &message)=0
 Sets the required params and stops the servers and any running sync sessions.
 
virtual uchar backupFinished (const QDBusMessage &message)=0
 Sets the required params and starts the servers.
 
virtual uchar restoreStarts (const QDBusMessage &message)=0
 Sets the required params and stops the servers and any running sync sessions.
 
virtual uchar restoreFinished (const QDBusMessage &message)=0
 Sets the required params and starts the servers.
 
virtual bool getBackUpRestoreState ()=0
 Requests the current state og backup/restore operation.
 

Public Member Functions

 SyncBackup ()
 Default Constructor.
 
 ~SyncBackup ()
 Destructor.
 
bool getBackUpRestoreState ()
 Requests the current state og backup/restore operation.
 
void sendReply (uchar aResult)
 Reply to backup framework, result of o/p.
 

Additional Inherited Members

- Signals inherited from Buteo::SyncBackupProxy
void backupDone ()
 Notifies about completion of backup.
 
void startBackup ()
 Notifies about starting of backup.
 
void restoreDone ()
 Notifies about completion of restore opertaion.
 
void startRestore ()
 Notifies about starting of restore operation.
 

Detailed Description

Handles Sync requirements towards Backup.

This class communicates with the Backup daemon for Backup state before starting a sync.

Member Function Documentation

◆ backupFinished

uchar SyncBackup::backupFinished ( const QDBusMessage &  message)
slot

Called by backup framework when backup is completed

Parameters
message- result
Returns
uchar

◆ backupStarts

uchar SyncBackup::backupStarts ( const QDBusMessage &  message)
slot

Called by backup framework when backup starts.

Parameters
message- result
Returns
uchar

◆ getBackUpRestoreState()

bool SyncBackup::getBackUpRestoreState ( )
virtual

Requests the current state og backup/restore operation.

Implements Buteo::SyncBackupProxy.

◆ restoreFinished

uchar SyncBackup::restoreFinished ( const QDBusMessage &  message)
slot

Called by backup framework when backup ie restored

Parameters
message- result
Returns
uchar

◆ restoreStarts

uchar SyncBackup::restoreStarts ( const QDBusMessage &  message)
slot

Called by backup framework when it starts to restore a backup.

Parameters
message- result
Returns
uchar

◆ sendReply()

void SyncBackup::sendReply ( uchar  aResult)

Reply to backup framework, result of o/p.

Parameters
aResult- result

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