--- a/epoc32/include/mw/msenhostletrequest.h Tue Nov 24 13:55:44 2009 +0000
+++ b/epoc32/include/mw/msenhostletrequest.h Tue Mar 16 16:12:26 2010 +0000
@@ -1,1 +1,69 @@
-msenhostletrequest.h
+/*
+* Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* 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
+* which accompanies this distribution, and is available
+* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Hostlet request call back interface
+*
+*/
+
+#ifndef MSEN_HOSTLET_REQUEST_H
+#define MSEN_HOSTLET_REQUEST_H
+
+#include <e32base.h>
+
+#include <MSenProperties.h>
+
+// FORWARD DECLARATIONS
+class CSenIdentifier;
+
+class MSenHostletRequest
+ {
+ public:
+ /**
+ * Getter for the request - it may either be plain (SOAP) request body,
+ * or complete request including all the (SOAP) headers, depending
+ * of whether or not the provider wishes to receive complete client
+ * messages.
+ * @see MSenProvider for more information about complete client
+ * messages facet.
+ */
+ virtual TPtrC8 RequestUtf8() const = 0;
+
+ /**
+ * Getter for requester's thread ID
+ */
+ virtual TPtrC ThreadId() const = 0;
+
+ /**
+ * Getter for requester's consumer ID
+ */
+ virtual TPtrC8 ConsumerId() const = 0;
+
+ /**
+ * Getter for request ID (transaction ID)
+ */
+ virtual TInt RequestId() const = 0;
+
+ /**
+ * Getter for request's properties and properties type
+ * @param aType provides the (class) type of the retuned properties.
+ * This enum can be used to select corresponding properties class
+ * to de-serialize the properties descriptor into a more convenient
+ * properties class instance.
+ * @return the (transport) properties associated with this message.
+ */
+ virtual TPtrC8 Properties(MSenProperties::TSenPropertiesClassType& aType) const = 0;
+
+ //virtual const CSenIdentifier& Requester() const = 0;
+ };
+
+#endif // MSEN_HOSTLET_REQUEST_H