|
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: |
|
15 * THIS API IS INTERNAL TO NETWORKING AND IS SUBJECT TO CHANGE AND NOT FOR EXTERNAL USE |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 |
|
22 /** |
|
23 @file ss_activities.h |
|
24 @internalTechnology |
|
25 */ |
|
26 |
|
27 #ifndef SYMBIAN_SS_INTERNAL_ACTIVITIES_H |
|
28 #define SYMBIAN_SS_INTERNAL_ACTIVITIES_H |
|
29 |
|
30 #include <elements/nm_node.h> |
|
31 #include <comms-infras/ss_common.h> |
|
32 #include <comms-infras/ss_activities.h> |
|
33 |
|
34 namespace ESock |
|
35 { |
|
36 |
|
37 /* message ID is a 16bit number, range<0,0xFFFF> see Messages::TSignatureBase |
|
38 */ |
|
39 // activity ID is 16bit number, range<0,0xFFFF>, and needs to be unique for a node only |
|
40 // but an activity ID used to define activity in static activity map is only 8 bits |
|
41 // range <0,255>. |
|
42 |
|
43 // All publishedPartner activity IDs belong in ss_activities.h |
|
44 // Activity IDs in the range ECFActivityEndOfList - ECFActivityCustom |
|
45 // may be used on any nodes and are internal to esock |
|
46 |
|
47 // When allocating numbers for activities please avoid common esock numbers that overlap |
|
48 // with the same number space in logging output see usage in ss_conn.cpp see sockmes.h for enum's |
|
49 // ECNStart = 67, |
|
50 // ECNStop = 69, |
|
51 // ECNAttach = 84, |
|
52 // ECNWaitForIncoming = 1011, // = 0x3f3 |
|
53 // ECNProgressNotification = 71, |
|
54 // ECNClose = 65, |
|
55 // ESCPSStop = 87, |
|
56 |
|
57 enum TCFInternalActivityId |
|
58 { |
|
59 |
|
60 // internal esock activities range is 96 - 126 |
|
61 |
|
62 // core activity IDs could be used on any node |
|
63 ECFActivityBuildStack = ECFActivityEndOfList + 1, |
|
64 ECFActivityProviderStatusChange = 97, |
|
65 ECFActivityDataClientStatusChange = 98, |
|
66 |
|
67 // Other activity IDs (could be reuse when other IDs exhausted) |
|
68 //CConnection / CPR client specific activities (could be reuse when other IDs exhausted) |
|
69 ECFActivityConnectionAttach = 99, |
|
70 ECFActivityConnectionWaitForIncoming = 100, |
|
71 ECFActivityConnSubConnEvents = 101, |
|
72 ECFActivityConnectionAllInterfaceNotification = 102, |
|
73 ECFActivityLegacyConnEnumResponse = 103, |
|
74 ECFActivityConnectionEnumerateConnections = 104, |
|
75 ECFActivityStopSCPR = 105, |
|
76 ECFActivityLegacyRMessage2Handler = 106, |
|
77 ECFActivityConnectionLegacyRMessage2Handler = 107, |
|
78 ECFActivitySubConnectionLegacyRMessage2Handler = 108, |
|
79 |
|
80 ECFActivityReportProviderStatusDeactivationWatcher = 109, |
|
81 |
|
82 //CFlowRequest specific activities (could be reuse when other IDs exhausted) |
|
83 ECFActivityImplicitFlow = 112, |
|
84 ECFActivityConnectionFlow = 113, |
|
85 ECFActivitySubConnectionFlow = 114, |
|
86 // spare = 115, |
|
87 |
|
88 //CSubConnection / SCPR specific activities (could be reuse when other IDs exhausted) |
|
89 ECFActivityGetParamLength = 116, |
|
90 ECFActivityGetParam = 117, |
|
91 ECFActivitySubConnectionCreate = 118, |
|
92 // spare = 119, |
|
93 |
|
94 ECFActivityDataClientJoin = 122, //TODO REMOVE ME used in umts QoSIPSCprJoinActivity that needs major work |
|
95 ECFActivityBuildLowerLayer = 123, // TODO removed activity |
|
96 ECFActivityReBindLayer = 124, // TODO removed activity |
|
97 ECFActivityReConnect = 125, //TODO removed activity |
|
98 |
|
99 // IF IN DOUBT INSERT NEW INDIVIDUAL ACTIVITIES HERE.. |
|
100 // Please, please reflect changes here in the esockmessages.definition.txt file for svg logging |
|
101 |
|
102 |
|
103 // Dont implement more activities than ECFActivityEndOfInternalList! |
|
104 ECFActivityEndOfInternalList = 126, |
|
105 // ECFActivityCustom = 0x007F, |
|
106 |
|
107 }; |
|
108 |
|
109 } //namespace ESock |
|
110 |
|
111 #endif //SYMBIAN_SS_INTERNAL_ACTIVITIES_H |
|
112 |