syncmlfw/ds/syncagent/inc/NSmlDSAgent.h
branchRCL_3
changeset 9 57a65a3a658c
parent 0 b497e44ab2fc
child 30 2de6635c154b
equal deleted inserted replaced
5:3f7d9dbe57c8 9:57a65a3a658c
    35 class MSyncMLProgressObserver;
    35 class MSyncMLProgressObserver;
    36 class CNSmlDSContent;
    36 class CNSmlDSContent;
    37 //RD_AUTO_RESTART
    37 //RD_AUTO_RESTART
    38 class CNsmlDSNetmon;
    38 class CNsmlDSNetmon;
    39 class CNSmlDSProfile;
    39 class CNSmlDSProfile;
    40 
    40 class CRepository;
    41 // CLASS DECLARATION
    41 // CLASS DECLARATION
    42 
    42 
    43 /**
    43 /**
    44 * OMA DS protocol engine.
    44 * OMA DS protocol engine.
    45 *
    45 *
   499 	TNSmlSyncSuspendedState CurrentStateInReceiving();
   499 	TNSmlSyncSuspendedState CurrentStateInReceiving();
   500 	TNSmlSyncSuspendedState CurrentStateInClientAlertNext();
   500 	TNSmlSyncSuspendedState CurrentStateInClientAlertNext();
   501 	TNSmlSyncSuspendedState CurrentStateInServerAlertNext();
   501 	TNSmlSyncSuspendedState CurrentStateInServerAlertNext();
   502 	
   502 	
   503 	TBool SyncFailure();
   503 	TBool SyncFailure();
       
   504 	void StoreServerStatusCode(TInt aServerStatusCode) const;
       
   505 	void InitializeServerStatusCodeList();
   504 	public:
   506 	public:
   505 	/**
   507 	/**
   506 	* Mapping of the Alert code is done
   508 	* Mapping of the Alert code is done
   507 	*/
   509 	*/
   508 	static TNSmlPreviousSyncType MapAlertCode(TDes8& aAlertCode);
   510 	static TNSmlPreviousSyncType MapAlertCode(TDes8& aAlertCode);
   572      //RD_AUTO_RESTART
   574      //RD_AUTO_RESTART
   573 	CNsmlDSNetmon *iDSNetmon;
   575 	CNsmlDSNetmon *iDSNetmon;
   574 	TBool iAutoRestartInitiatedSync;
   576 	TBool iAutoRestartInitiatedSync;
   575 	//RD_SUSPEND_RESUME
   577 	//RD_SUSPEND_RESUME
   576 	TBool iUpdateLastAnchor;
   578 	TBool iUpdateLastAnchor;
       
   579 	//For storing Server Status Code
       
   580 	CRepository* iRepositorySSC;
       
   581 	RArray<TInt>* iServerStatusCodeArray;
       
   582 	TBool iIsExtendedServerErrorCodesSupported;
   577 	};
   583 	};
   578 	
   584 	
   579 typedef CNSmlDSAgent* (*TNSmlCreateDSAgentFunc) ( MSyncMLProgressObserver* aObserver );
   585 typedef CNSmlDSAgent* (*TNSmlCreateDSAgentFunc) ( MSyncMLProgressObserver* aObserver );
   580 
   586 
   581 /**
   587 /**