applayerpluginsandutils/httptransportplugins/httptransporthandler/ctcptransportlayer.h
changeset 28 dd1f62411ef8
parent 0 b16258d2340f
--- a/applayerpluginsandutils/httptransportplugins/httptransporthandler/ctcptransportlayer.h	Wed Jun 23 18:48:21 2010 +0300
+++ b/applayerpluginsandutils/httptransportplugins/httptransporthandler/ctcptransportlayer.h	Tue Jul 06 14:51:44 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -103,7 +103,11 @@
 
 	virtual TBool HasConnection();
 	
-	void StartDefaultCommsConnectionL ();
+	virtual void StartDefaultCommsConnectionL ();
+
+	virtual void HostResolverFromCache(RHostResolver& aResolver);
+	
+	virtual void AddToHostResolverCache(RHostResolver& aResolver);
 
 private:	// methods
 
@@ -119,6 +123,10 @@
 
 	inline MCommsInfoProvider& CommsInfoProvider();
 	
+	void EmptyHostResolverCacheIfNeeded();
+	
+	void EmptyHostResolverCache();
+	
 private:	// attributes
 
 /** The connection preferences provider
@@ -157,6 +165,8 @@
 */
 	RPointerArray<CSocketController>	iControllerStore;
 	
+	RArray<RHostResolver>               iHostResolverCache;
+	
 	TBool iPriority;
 
 /** Logger handle