equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
21 #include <ecom/ecom.h> |
21 #include <ecom/ecom.h> |
22 #include <SmlDataProvider.h> |
22 #include <SmlDataProvider.h> |
23 #include <s32mem.h> |
23 #include <s32mem.h> |
24 #include <nsmlchangefinder.h> |
24 #include <nsmlchangefinder.h> |
25 #include <e32cmn.h> |
25 #include <e32cmn.h> |
26 #include <ecom/ImplementationInformation.h> |
26 #include <ecom/implementationinformation.h> |
27 #include <mmf/common/mmfcontrollerpluginresolver.h> |
27 #include <mmf/common/mmfcontrollerpluginresolver.h> |
28 |
28 |
29 #include "sconsyncclientserver.h" |
29 #include "sconsyncclientserver.h" |
30 #include "sconsyncrelationship.h" |
30 #include "sconsyncrelationship.h" |
31 #include "scondataproviderinfo.h" |
31 #include "scondataproviderinfo.h" |
40 |
40 |
41 // one store per computer, max store count. |
41 // one store per computer, max store count. |
42 const TInt KMaxStoresCount = 10; |
42 const TInt KMaxStoresCount = 10; |
43 |
43 |
44 const TInt KDefaultTimeOutInMicroSeconds = 30 * 1000000; // 30 seconds |
44 const TInt KDefaultTimeOutInMicroSeconds = 30 * 1000000; // 30 seconds |
45 const TInt KDeleteAllTimeOutInMicroSeconds = 300 * 1000000; // 5 minutes |
45 const TInt KDeleteAllTimeOutInMicroSeconds = 540 * 1000000; // 9 minutes |
46 const TInt KOpenStoreTimeOutInMicroSeconds = 180 * 1000000; // 180 seconds |
46 const TInt KOpenStoreTimeOutInMicroSeconds = 540 * 1000000; // 9 minutes |
|
47 const TInt KResetChangeInfoTimeOutInMicroSeconds = 540 * 1000000; // 9 minutes |
47 |
48 |
48 CSconAsyncHandler::~CSconAsyncHandler() |
49 CSconAsyncHandler::~CSconAsyncHandler() |
49 { |
50 { |
50 TRACE_FUNC_ENTRY; |
51 TRACE_FUNC_ENTRY; |
51 Cancel(); |
52 Cancel(); |
178 break; |
179 break; |
179 case EMovedItems: |
180 case EMovedItems: |
180 MovedItemsL(); |
181 MovedItemsL(); |
181 break; |
182 break; |
182 case EResetChangeInfo: |
183 case EResetChangeInfo: |
|
184 iTimeOut->Start( KResetChangeInfoTimeOutInMicroSeconds ); |
183 ResetChangeInfoL(); |
185 ResetChangeInfoL(); |
184 break; |
186 break; |
185 case ECommitChangeInfo: |
187 case ECommitChangeInfo: |
186 CommitChangeInfoL(); |
188 CommitChangeInfoL(); |
187 break; |
189 break; |