equal
deleted
inserted
replaced
|
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef SRVREQS_H |
|
17 #define SRVREQS_H |
|
18 |
|
19 enum TServerRequest |
|
20 { |
|
21 EInitialise, |
|
22 ECreateInt, |
|
23 ECreateReal, |
|
24 ECreateString, |
|
25 EDelete, |
|
26 EGetInt, |
|
27 ESetInt, |
|
28 EGetReal, |
|
29 ESetReal, |
|
30 EGetString, |
|
31 ESetString, |
|
32 EFind, |
|
33 EFindEqInt, |
|
34 EFindEqReal, |
|
35 EFindEqString, |
|
36 EFindNeqInt, |
|
37 EFindNeqReal, |
|
38 EFindNeqString, |
|
39 EGetFindResult, |
|
40 ENotifyRequestCheck, |
|
41 ENotifyRequest, |
|
42 ENotifyCancel, |
|
43 ENotifyCancelAll, |
|
44 EGroupNotifyRequest, |
|
45 EGroupNotifyCancel, |
|
46 EReset, |
|
47 EResetAll, |
|
48 ETransactionStart, |
|
49 ETransactionCommit, |
|
50 ETransactionCancel, |
|
51 EMove, |
|
52 ETransactionState, |
|
53 ETransactionFail, |
|
54 EDeleteRange, |
|
55 ELastInTable=EDeleteRange, |
|
56 |
|
57 EGetSetParameters |
|
58 }; |
|
59 |
|
60 #if defined(__CENTREP_SERVER_PERFTEST__) || defined(__CENTREP_SERVER_MEMTEST__) || defined(__CENTREP_SERVER_CACHETEST__) |
|
61 |
|
62 enum TServerGetSetParametersSubCmd |
|
63 { |
|
64 //Subcommands for CentRep server performance test which is run when __CENTREP_SERVER_PERFTEST__ macro is defined |
|
65 EGetPerfResults, |
|
66 ERestartPerfTests, |
|
67 EStopPerfTests, |
|
68 //Subcommands for CentRep server memory test which is run when __CENTREP_SERVER_MEMTEST__ macro is defined |
|
69 EGetMemResults, |
|
70 //Subcommands for CentRep server cache test which is run when __CENTREP_SERVER_CACHETEST__ macro is defined |
|
71 EEnableCache, |
|
72 EDisableCache, |
|
73 // The identifier for last command. Should always remain at the end |
|
74 ELast |
|
75 }; |
|
76 #endif // __CENTREP_SERVER_PERFTEST__ || __CENTREP_SERVER_MEMTEST__ || __CENTREP_SERVER_CACHETEST__ |
|
77 |
|
78 #endif // SRVREQS_H |