|
1 // Copyright (c) 2007-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 // This file defines the TQueuedRequestDescription, which allows |
|
15 // uniquely identifies the location of a queued request. |
|
16 // @internalAll |
|
17 // @prototype |
|
18 // |
|
19 // |
|
20 |
|
21 #ifndef NETUPSQUEUEDREQUESTDESCRIPTION_H |
|
22 #define NETUPSQUEUEDREQUESTDESCRIPTION_H |
|
23 |
|
24 #include <e32def.h> // defines TInt |
|
25 #include <e32std.h> // defines ThreadId, TProcessId etc |
|
26 |
|
27 #include <comms-infras/ss_activities.h> |
|
28 |
|
29 #include "netupstypes.h" // defines TRequestId |
|
30 #include "netupsdatabaseentry.h" // defines a netups database entry |
|
31 #include "netupsprocessentry.h" // defines a netups process entry |
|
32 #include "netupsthreadentry.h" // defines a net ups thread entry |
|
33 |
|
34 namespace NetUps |
|
35 { |
|
36 |
|
37 struct TQueuedRequestDescription |
|
38 { |
|
39 TQueuedRequestDescription( CDatabaseEntry* aDatabaseEntry, |
|
40 CProcessEntry* aProcessEntry, |
|
41 CThreadEntry* aThreadEntry, |
|
42 ESock::TCommsId* aCommsId, |
|
43 TRequestId aRequestId) : |
|
44 iDatabaseEntry(aDatabaseEntry), |
|
45 iProcessEntry(aProcessEntry), |
|
46 iThreadEntry(aThreadEntry), |
|
47 iCommsId(aCommsId), |
|
48 iRequestId(aRequestId) |
|
49 { |
|
50 } |
|
51 CDatabaseEntry* iDatabaseEntry; |
|
52 CProcessEntry* iProcessEntry; |
|
53 CThreadEntry* iThreadEntry; |
|
54 ESock::TCommsId* iCommsId; |
|
55 TRequestId iRequestId; |
|
56 }; |
|
57 |
|
58 } // end of namespace NetUps |
|
59 |
|
60 #endif // NETUPSQUEUEDREQUESTDESCRIPTION_H |