|
1 /** @file |
|
2 * Copyright (c) 2008-2008 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: Implements algoritms for nonmodereted events |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_CUPNPHTTPNONMODERATEDEVENTTRANSACTION_H |
|
20 #define C_CUPNPHTTPNONMODERATEDEVENTTRANSACTION_H |
|
21 |
|
22 // INCLUDES |
|
23 #include "upnpnonmoderatedeventqueuemanager.h" |
|
24 |
|
25 // CLASS DECLARATION |
|
26 |
|
27 /** |
|
28 * CUpnpHttpNonModeratedEventTransaction |
|
29 * |
|
30 */ |
|
31 NONSHARABLE_CLASS( CUpnpHttpNonModeratedEventTransaction ): public CUpnpHttpTransaction |
|
32 { |
|
33 public: |
|
34 // Constructors and destructor |
|
35 |
|
36 /** |
|
37 * Destructor. |
|
38 */ |
|
39 ~CUpnpHttpNonModeratedEventTransaction(); |
|
40 |
|
41 /** |
|
42 * Two-phased constructor. |
|
43 */ |
|
44 static CUpnpHttpNonModeratedEventTransaction* NewL( CUpnpHttpMessage* aRequest, MTransactionObserver& aObserver ); |
|
45 |
|
46 /** |
|
47 * Two-phased constructor. |
|
48 */ |
|
49 static CUpnpHttpNonModeratedEventTransaction* NewLC( CUpnpHttpMessage* aRequest, MTransactionObserver& aObserver); |
|
50 |
|
51 /* |
|
52 * Pure virtual method that let child classes to process |
|
53 * response in their own specific way. |
|
54 */ |
|
55 void ProcessResponseL(); |
|
56 |
|
57 |
|
58 private: |
|
59 |
|
60 /** |
|
61 * Constructor for performing 1st stage construction |
|
62 */ |
|
63 CUpnpHttpNonModeratedEventTransaction( CUpnpHttpMessage* aRequest, MTransactionObserver& aObserver ); |
|
64 |
|
65 |
|
66 private: |
|
67 |
|
68 MTransactionObserver& iObserver;//not owned |
|
69 |
|
70 }; |
|
71 |
|
72 #endif // C_CUPNPHTTPNONMODERATEDEVENTTRANSACTION_H |
|
73 //end of file |