1 // Copyright (c) 2001-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
18 @warning : This file contains Rose Model ID comments - please do not delete
26 #include <http/framework/cprottransaction.h>
27 #include <http/mhttpdatasupplier.h>
28 #include <http/rhttpsession.h> // this include is needed to ensure that the <rhttp.inl> is compiled by gcc...
31 //##ModelId=3B1E52A8001F
32 class CTxData : public CBase, public MHTTPDataSupplier
34 An abstract base class for the encoding of request data to be transmitted by a
43 Intended Usage: Destructor - cleans up and releases resources to the system
46 //##ModelId=3B1E52A80051
49 /** @fn CProtTransaction& ProtTrans()
50 Intended Usage: Obtain the protocol transaction whose request part is represented
51 as encoded data by this object.
52 @return The protocol transaction object
55 //##ModelId=3B1E52A80049
56 CProtTransaction& ProtTrans();
61 Intended Usage: Default constructor - creates a Tx data object not associated
62 with any protocol transaction.
65 //##ModelId=3A925A44019E
68 /** @fn CTxData(CProtTransaction& aProtTransaction)
69 Intended Usage: Normal constructor, of a CTxData that corresponds to the supplied
71 @param aProtTransaction (in) The transaction for which this object
72 represents the transmitted data.
74 IMPORT_C CTxData(CProtTransaction& aProtTransaction);
77 Intended Usage: Second phase construction, default
80 //##ModelId=3B1E52A8003D
83 protected: // attributes
85 /** The HTTP transaction from whose request this OTA transmission data is built.
86 Note that the transaction is not owned by this object.
88 //##ModelId=3B1E52A80035
89 CProtTransaction* iProtTrans;
94 Intended Usage: Reserve a slot in the v-table to preserve future BC
96 //##ModelId=3C4C37D6010F
97 inline virtual void Reserved1();
100 Intended Usage: Reserve a slot in the v-table to preserve future BC
102 //##ModelId=3C4C37D600FB
103 inline virtual void Reserved2();
107 inline void CTxData::Reserved1()
109 inline void CTxData::Reserved2()
113 #endif // __CTXDATA_H__