webservices/wshttpchanneltransportplugin/inc/senhttpchannelimpl.h
changeset 23 a1df79fa35b4
parent 15 0aea830faa24
equal deleted inserted replaced
16:abb636afedf7 23:a1df79fa35b4
   105     virtual void SetSecureDialogL(TBool aSecureDialog);
   105     virtual void SetSecureDialogL(TBool aSecureDialog);
   106 
   106 
   107     TInt CancelTransaction(const TInt aTxnId);
   107     TInt CancelTransaction(const TInt aTxnId);
   108     void CancelAllTransactions();
   108     void CancelAllTransactions();
   109 
   109 
   110     void SetExplicitIapDefined(TBool aExplicitIapDefined);
   110     virtual void SetExplicitIapDefined(TBool aExplicitIapDefined);
   111     /*
   111     /*
   112     * Getter for currently effective IAP ID
   112     * Getter for currently effective IAP ID
   113     * @param aIapId will be assigned to hold
   113     * @param aIapId will be assigned to hold
   114     * the value of that Internet Access Point
   114     * the value of that Internet Access Point
   115     * identifier (an unsigned integer utilized
   115     * identifier (an unsigned integer utilized
   129                                   RString& aUsername,
   129                                   RString& aUsername,
   130                                   RString& aPassword);
   130                                   RString& aPassword);
   131     void EnableTimeOutL(TInt aTxnId, TInt aTimeOutSec);
   131     void EnableTimeOutL(TInt aTxnId, TInt aTimeOutSec);
   132     void DisableTimeOutL(TInt aTxnId);
   132     void DisableTimeOutL(TInt aTxnId);
   133     virtual TInt32 UsedIap();
   133     virtual TInt32 UsedIap();
       
   134     virtual void ResetIapId();
       
   135     virtual void ResetUsedIapId();
   134     
   136     
   135 protected:
   137 protected:
   136     CSenHttpChannelImpl(MSenIdentityManager& aManager);
   138     CSenHttpChannelImpl(MSenIdentityManager& aManager);
   137 
   139 
   138     void AddRequestHeadersL(RHTTPHeaders& aHeaders, CSenLayeredHttpTransportProperties& aProps);
   140     void AddRequestHeadersL(RHTTPHeaders& aHeaders, CSenLayeredHttpTransportProperties& aProps);
   158 
   160 
   159 
   161 
   160 private:
   162 private:
   161     
   163     
   162     // New functions
   164     // New functions
   163     
   165 
   164     
   166 	TInt SetID(TUint32 aIapId, TBool aDialogPref, RConnection& aConnection, RSocketServ& aSocketServer, TBool aSNAP = EFalse);
       
   167 	TInt GetS60PlatformVersion(TUint& aMajor, TUint& aMinor);
       
   168 	TBool IsOCCImplementedSDK();	
   165     TPtrC8 SoapActionL(MSenElement& aSoapEnvelope);
   169     TPtrC8 SoapActionL(MSenElement& aSoapEnvelope);
   166     TInt SubmitRequestL(MSenResponseObserver& aObserver,
   170     TInt SubmitRequestL(MSenResponseObserver& aObserver,
   167                         const TDesC8& aUri,
   171                         const TDesC8& aUri,
   168                         const TDesC8* aContentType = NULL,
   172                         const TDesC8* aContentType = NULL,
   169                         const TDesC8* aContent = NULL);
   173                         const TDesC8* aContent = NULL);
   208     TBool iXopResponse;
   212     TBool iXopResponse;
   209     TBool iDeflateFilter;//Is true if deflate filter loaded for a session
   213     TBool iDeflateFilter;//Is true if deflate filter loaded for a session
   210     TBool iHasHttpContentType;
   214     TBool iHasHttpContentType;
   211     SenMultiPartUtils::TMultiPartContentType iMultiPartContentType; // content type of MultiPart response
   215     SenMultiPartUtils::TMultiPartContentType iMultiPartContentType; // content type of MultiPart response
   212     RHTTPTransaction iHttpTransaction ;
   216     RHTTPTransaction iHttpTransaction ;
       
   217 #ifndef __ENABLE_ALR__    
       
   218     TBool iOCCenabled ;
       
   219 #endif    
   213     };
   220     };
   214 
   221 
   215 #endif //SEN_HTTP_CHANNEL_IMPL_H
   222 #endif //SEN_HTTP_CHANNEL_IMPL_H
   216 
   223 
   217 // End of file
   224 // End of file