1.1 --- a/epoc32/include/mw/msenhostletrequest.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/mw/msenhostletrequest.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,69 @@
1.4 -msenhostletrequest.h
1.5 +/*
1.6 +* Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies).
1.7 +* All rights reserved.
1.8 +* This component and the accompanying materials are made available
1.9 +* 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
1.10 +* which accompanies this distribution, and is available
1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.12 +*
1.13 +* Initial Contributors:
1.14 +* Nokia Corporation - initial contribution.
1.15 +*
1.16 +* Contributors:
1.17 +*
1.18 +* Description: Hostlet request call back interface
1.19 +*
1.20 +*/
1.21 +
1.22 +#ifndef MSEN_HOSTLET_REQUEST_H
1.23 +#define MSEN_HOSTLET_REQUEST_H
1.24 +
1.25 +#include <e32base.h>
1.26 +
1.27 +#include <MSenProperties.h>
1.28 +
1.29 +// FORWARD DECLARATIONS
1.30 +class CSenIdentifier;
1.31 +
1.32 +class MSenHostletRequest
1.33 + {
1.34 + public:
1.35 + /**
1.36 + * Getter for the request - it may either be plain (SOAP) request body,
1.37 + * or complete request including all the (SOAP) headers, depending
1.38 + * of whether or not the provider wishes to receive complete client
1.39 + * messages.
1.40 + * @see MSenProvider for more information about complete client
1.41 + * messages facet.
1.42 + */
1.43 + virtual TPtrC8 RequestUtf8() const = 0;
1.44 +
1.45 + /**
1.46 + * Getter for requester's thread ID
1.47 + */
1.48 + virtual TPtrC ThreadId() const = 0;
1.49 +
1.50 + /**
1.51 + * Getter for requester's consumer ID
1.52 + */
1.53 + virtual TPtrC8 ConsumerId() const = 0;
1.54 +
1.55 + /**
1.56 + * Getter for request ID (transaction ID)
1.57 + */
1.58 + virtual TInt RequestId() const = 0;
1.59 +
1.60 + /**
1.61 + * Getter for request's properties and properties type
1.62 + * @param aType provides the (class) type of the retuned properties.
1.63 + * This enum can be used to select corresponding properties class
1.64 + * to de-serialize the properties descriptor into a more convenient
1.65 + * properties class instance.
1.66 + * @return the (transport) properties associated with this message.
1.67 + */
1.68 + virtual TPtrC8 Properties(MSenProperties::TSenPropertiesClassType& aType) const = 0;
1.69 +
1.70 + //virtual const CSenIdentifier& Requester() const = 0;
1.71 + };
1.72 +
1.73 +#endif // MSEN_HOSTLET_REQUEST_H