applayerpluginsandutils/httptransportplugins/httptransporthandler/ctcptransportlayer.h
branchRCL_3
changeset 13 26ce6fb6aee2
parent 0 b16258d2340f
child 18 5f1cd966e0d9
equal deleted inserted replaced
12:f21293830889 13:26ce6fb6aee2
   101 	
   101 	
   102 	virtual TInt SessionId();
   102 	virtual TInt SessionId();
   103 
   103 
   104 	virtual TBool HasConnection();
   104 	virtual TBool HasConnection();
   105 	
   105 	
   106 	void StartDefaultCommsConnectionL ();
   106 	virtual void StartDefaultCommsConnectionL ();
       
   107 
       
   108 	virtual void HostResolverFromCache(RHostResolver& aResolver);
       
   109 	
       
   110 	virtual void AddToHostResolverCache(RHostResolver& aResolver);
   107 
   111 
   108 private:	// methods
   112 private:	// methods
   109 
   113 
   110 	CTcpTransportLayer(MConnectionPrefsProvider& aTransLayerObserver);
   114 	CTcpTransportLayer(MConnectionPrefsProvider& aTransLayerObserver);
   111 	
   115 	
   116 	inline MSocketConnectorStore& SocketConnectorStore();
   120 	inline MSocketConnectorStore& SocketConnectorStore();
   117 
   121 
   118 	inline MSocketControllerStore& SocketControllerStore();
   122 	inline MSocketControllerStore& SocketControllerStore();
   119 
   123 
   120 	inline MCommsInfoProvider& CommsInfoProvider();
   124 	inline MCommsInfoProvider& CommsInfoProvider();
       
   125 	
       
   126 	void EmptyHostResolverCacheIfNeeded();
       
   127 	
       
   128 	void EmptyHostResolverCache();
   121 	
   129 	
   122 private:	// attributes
   130 private:	// attributes
   123 
   131 
   124 /** The connection preferences provider
   132 /** The connection preferences provider
   125 */
   133 */
   155 
   163 
   156 /** The socket controller store
   164 /** The socket controller store
   157 */
   165 */
   158 	RPointerArray<CSocketController>	iControllerStore;
   166 	RPointerArray<CSocketController>	iControllerStore;
   159 	
   167 	
       
   168 	RArray<RHostResolver>               iHostResolverCache;
       
   169 	
   160 	TBool iPriority;
   170 	TBool iPriority;
   161 
   171 
   162 /** Logger handle
   172 /** Logger handle
   163 */
   173 */
   164 	__FLOG_DECLARATION_MEMBER2
   174 	__FLOG_DECLARATION_MEMBER2