applayerpluginsandutils/httpprotocolplugins/httpclient/chttpconnectionmanager.h
branchRCL_3
changeset 3 5ee1d9ce5878
parent 0 b16258d2340f
child 5 337070b4fa18
equal deleted inserted replaced
0:b16258d2340f 3:5ee1d9ce5878
    68     public:
    68     public:
    69     static CHttpPipelineFallback* NewL();
    69     static CHttpPipelineFallback* NewL();
    70     ~CHttpPipelineFallback();
    70     ~CHttpPipelineFallback();
    71     
    71     
    72     TBool NeedPipelineFallback(const TDesC8& aHost);
    72     TBool NeedPipelineFallback(const TDesC8& aHost);
    73     void  InsertPipelineFailedHost(const TDesC8& aHost);
    73 
       
    74 /**
       
    75    If the pipeline has failed atleast 2 times due to network problems
       
    76    the host is inserted into the failed host array. The function checks 
       
    77    for the no. of failures for the given host. Only on time failed hosts
       
    78     are pushed into the probable pipeline failed host array
       
    79  */
       
    80      void InsertPipelineFailedHost(const TDesC8& aHost);
       
    81       
       
    82 /**
       
    83      Add to the pipeline failed host array if not already added.
       
    84  */
       
    85     void AppendPipelineFailedHost(const TDesC8& aHost);
    74     
    86     
    75      private:
    87      private:
    76     CHttpPipelineFallback();
    88     CHttpPipelineFallback();
    77     
    89     
    78     private:
    90     private:
   113 	void TunnelConnection(RStringF aHost);
   125 	void TunnelConnection(RStringF aHost);
   114 	TBool TunnelMatches(RStringF aHost) const;
   126 	TBool TunnelMatches(RStringF aHost) const;
   115 	void MakeConnectionNonPersistent();
   127 	void MakeConnectionNonPersistent();
   116 	void CheckRequestComplete(MHttpRequest& aRequest);
   128 	void CheckRequestComplete(MHttpRequest& aRequest);
   117 	void DisablePipelining();
   129 	void DisablePipelining();
   118 	void InsertPipelineFailedHost(const TDesC8& aHost);
   130 	void AppendPipelineFailedHost(const TDesC8& aHost);
       
   131 
   119 	
   132 	
   120 private:	// methods from MHttpRequestObserver
   133 private:	// methods from MHttpRequestObserver
   121 
   134 
   122 	virtual void SendRequestDataL(const TDesC8& aData);
   135 	virtual void SendRequestDataL(const TDesC8& aData);
   123 	virtual void RequestComplete();
   136 	virtual void RequestComplete();