|
1 // Copyright (c) 2008-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 |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalComponent |
|
21 */ |
|
22 |
|
23 #ifndef BULKSERVERMSGQUEUE_H |
|
24 #define BULKSERVERMSGQUEUE_H |
|
25 |
|
26 #include <remcon/clientid.h> |
|
27 |
|
28 NONSHARABLE_STRUCT(TBulkClientInfo) |
|
29 { |
|
30 // Process Id is used to match bulk session with target session |
|
31 TProcessId iProcessId; |
|
32 |
|
33 // Use to uniquely identify this client to allow bearers to address |
|
34 TRemConClientId iRemConId; |
|
35 |
|
36 // This contains only the bulk APIs |
|
37 RArray<TUid> iInterestedAPIs; |
|
38 |
|
39 // This is used by the receiver to queue. Only the owner of this |
|
40 // object may queue it. |
|
41 TSglQueLink iClientInfoLink; |
|
42 }; |
|
43 |
|
44 enum TBulkServerMsgType |
|
45 { |
|
46 // Sent upon bulk server creation to provide the control server which |
|
47 // is used to map RemCon Client IDs between bulk and control sessions. |
|
48 EControlServer = 0, |
|
49 // Sent upon bulk server creation to provide the bearer manager which |
|
50 // can be used to extract (or create) the bulk interfaces from the bearer. |
|
51 EBearerManager = 1, |
|
52 }; |
|
53 |
|
54 NONSHARABLE_STRUCT(TBulkServerMsg) |
|
55 { |
|
56 TBulkServerMsgType iType; |
|
57 TAny* iData; |
|
58 }; |
|
59 |
|
60 #endif // BULKSERVERMSGQUEUE_H |
|
61 |