2 * Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Hostlet request call back interface
18 #ifndef MSEN_HOSTLET_REQUEST_H
19 #define MSEN_HOSTLET_REQUEST_H
23 #include <MSenProperties.h>
25 // FORWARD DECLARATIONS
28 class MSenHostletRequest
32 * Getter for the request - it may either be plain (SOAP) request body,
33 * or complete request including all the (SOAP) headers, depending
34 * of whether or not the provider wishes to receive complete client
36 * @see MSenProvider for more information about complete client
39 virtual TPtrC8 RequestUtf8() const = 0;
42 * Getter for requester's thread ID
44 virtual TPtrC ThreadId() const = 0;
47 * Getter for requester's consumer ID
49 virtual TPtrC8 ConsumerId() const = 0;
52 * Getter for request ID (transaction ID)
54 virtual TInt RequestId() const = 0;
57 * Getter for request's properties and properties type
58 * @param aType provides the (class) type of the retuned properties.
59 * This enum can be used to select corresponding properties class
60 * to de-serialize the properties descriptor into a more convenient
61 * properties class instance.
62 * @return the (transport) properties associated with this message.
64 virtual TPtrC8 Properties(MSenProperties::TSenPropertiesClassType& aType) const = 0;
66 //virtual const CSenIdentifier& Requester() const = 0;
69 #endif // MSEN_HOSTLET_REQUEST_H