|
1 /** @file |
|
2 * Copyright (c) 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: Declaration of CUpnpServiceDescriptionHttpTransaction |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __UPNPSERVICEDESCRIPTIONHTTPTRANSACTION_H__ |
|
20 #define __UPNPSERVICEDESCRIPTIONHTTPTRANSACTION_H__ |
|
21 |
|
22 #include "upnphttptransaction.h" |
|
23 |
|
24 class CUpnpControlPoint; |
|
25 |
|
26 /** |
|
27 * Http transation to get service description message. |
|
28 */ |
|
29 NONSHARABLE_CLASS ( CUpnpServiceDescriptionHttpTransaction ) : public CUpnpHttpTransaction |
|
30 { |
|
31 public: |
|
32 static CUpnpServiceDescriptionHttpTransaction* NewLC( |
|
33 CUpnpHttpMessage* aRequest, CUpnpControlPoint& aControlPoint ); |
|
34 virtual ~CUpnpServiceDescriptionHttpTransaction(); |
|
35 |
|
36 private: //from CUpnpHttpTransaction |
|
37 /** |
|
38 * Callback called when response comes. |
|
39 * Processes response by passing it to control point. |
|
40 */ |
|
41 virtual void ProcessResponseL(); |
|
42 |
|
43 private: |
|
44 CUpnpServiceDescriptionHttpTransaction( |
|
45 CUpnpHttpMessage* aRequest, CUpnpControlPoint& aControlPoint ); |
|
46 |
|
47 private: |
|
48 CUpnpControlPoint& iControlPoint; |
|
49 }; |
|
50 |
|
51 #endif /*__UPNPSERVICEDESCRIPTIONHTTPTRANSACTION_H__*/ |
|
52 |
|
53 // End of File |
|
54 |