CBackupNotifier Class Reference

class CBackupNotifier : public CBase
Since
7.0 The notification object which waits for a signal that backup has begun/ended. When its RunL method is called, it notifies its owning CRegistrar class object to suspend/resume persistant storage of the Interface Implementation registration details.

Inherits from

Nested Classes and Structures

Constructor & Destructor Documentation

CBackupNotifier(MBackupNotifierObserver &)

CBackupNotifier ( MBackupNotifierObserver & aObserver ) [private]
Intended Usage : Default c'tor Error Condition : None
Since
7.0
Pre-condition
None
Post-condition
CBackupNotifier is fully constructed

Parameters

MBackupNotifierObserver & aObserver

~CBackupNotifier()

~CBackupNotifier ( ) [virtual]
Intended Usage : Standard default d'tor Error Condition : None
Since
7.0
Pre-condition
CBackupNotifier is fully constructed.
Post-condition
CBackupNotifier is totally destroyed

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]
Intended Usage : Initialisation phase of two phase construction. Error Condition : None
leave
None
Since
7.0
Pre-condition
CBackupNotifier is fully constructed.
Post-condition
CBackupNotifier is fully initialised.

HandleBackupOperationEventL(const TBackupOperationAttributes &)

void HandleBackupOperationEventL ( const TBackupOperationAttributes & aBackupOperationAttributes ) [private]
Intended Usage : To allow a response to be made by an interested party fo a change in state of the backup operation.
leave
:
CBaBackupSessionWrapper::NewL
leave
:
CBaBackupSessionWrapper::RegisterBackupOperationObserverL
Since
7.0
Pre-condition
CBackupNotifier is fully constructed.
Post-condition
The aBackupOperationAttributes value will have been used to drive the suspend and restore behaviours of the ECOM Server.

Parameters

const TBackupOperationAttributes & aBackupOperationAttributes The current state of the backup operation.

NewL(MBackupNotifierObserver &)

CBackupNotifier * NewL ( MBackupNotifierObserver & aObserver ) [static]
Intended Usage : Standardised safe construction which leaves nothing on the cleanup stack. Error Condition : Cannot fully construct because of memory limitations.
leave
KErrNoMemory
Since
7.0
Pre-condition
None
Post-condition
CBackupNotifier is fully constructed, and initialised.

Parameters

MBackupNotifierObserver & aObserver

RegisterForNotificationsL()

void RegisterForNotificationsL ( ) [private]
Intended Usage : To allow registration for notifications from the backup operation. Error Condition : None
Since
7.0
Pre-condition
CBackupNotifier is fully constructed.
Post-condition
CBackupNotifier is registered for notification messages.

Member Data Documentation

CBaBackupSessionWrapper * iBackupSession

CBaBackupSessionWrapper * iBackupSession [private]

The owned notification control object

TBool iIsRegistered

TBool iIsRegistered [private]

The flag indicating that registration occurred sucessfully

MBackupNotifierObserver & iObserver

MBackupNotifierObserver & iObserver [private]

A reference to its observer instance

CRetryTimer * iRetryTimer

CRetryTimer * iRetryTimer [private]

The friendly timer for connection retries