equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: JavaStorageMessage |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef JAVASTORAGEMESSAGE_H |
|
20 #define JAVASTORAGEMESSAGE_H |
|
21 |
|
22 #include "comms.h" |
|
23 |
|
24 namespace java |
|
25 { |
|
26 namespace storage |
|
27 { |
|
28 |
|
29 /** |
|
30 * JavaStorageMessage contains storage related communication constants. |
|
31 */ |
|
32 class JavaStorageMessage |
|
33 { |
|
34 public: |
|
35 enum MessageIdentifier |
|
36 { |
|
37 EOpen = 1, |
|
38 EClose, |
|
39 EStartTransaction, |
|
40 ECommit, |
|
41 ERollback, |
|
42 ERead, |
|
43 EWrite, |
|
44 ESearch, |
|
45 ERemove, |
|
46 ECreateTable, |
|
47 EAppendTable, |
|
48 EUpdate, |
|
49 EShutdown, |
|
50 EGetAvailableDrives |
|
51 }; |
|
52 |
|
53 private: |
|
54 }; |
|
55 |
|
56 /** |
|
57 * Connect and disconnect message identifier. |
|
58 * ServerMessage: string headers, string dbAddress |
|
59 * ResponseMessage: string headers |
|
60 */ |
|
61 const int IPC_JS_CONN_REG = |
|
62 java::comms::JAVASTORAGE_MESSAGE_ID_RANGE_START_C + 1; |
|
63 |
|
64 } // end namespace storage |
|
65 } // end namespace java |
|
66 |
|
67 #endif // JAVASTORAGEMESSAGE_H |
|
68 |