applayerpluginsandutils/httptransportplugins/httptransporthandler/mconnectionprefsprovider.h
branchRCL_3
changeset 40 a0da872af3fa
parent 39 c0c2f28ace9c
child 53 c59bddbfd7b9
--- a/applayerpluginsandutils/httptransportplugins/httptransporthandler/mconnectionprefsprovider.h	Tue Aug 31 15:44:10 2010 +0300
+++ b/applayerpluginsandutils/httptransportplugins/httptransporthandler/mconnectionprefsprovider.h	Wed Sep 01 12:21:21 2010 +0100
@@ -68,6 +68,16 @@
 	virtual void GetSecurityPrefs(TBool& aDialogPrompt, MSecurityPolicy*& aSecurityPolicy) =0;
 
 /**
+	Callback used by the transport layer to query a client to provide security 
+	preferences.
+	@param		aDialogPref	indicating whether clients should be 
+								prompted or not.
+	@param		aSecurityPolicy	The security policy provider, can be NULL if not
+								provided.
+*/
+	virtual void GetSecurityPrefs(MSecurityPolicy*& aSecurityPolicy, TInt& aDialogPref) =0;
+
+/**
 	Callback function that indicates the socket shutdown mode. This method instructs the
 	transport layer to shutdown	the socket immediately.
 	@return		A boolean indicating whether the socket should be shutdown immediately or not.
@@ -87,6 +97,13 @@
 	@return    Returns the receive buffer size.
 */
 	virtual TInt GetRecvBufferSize() = 0;
+	
+/*
+ *  Callback function used by the transport layer to get the socket timeout value. The result is either a non-negative integer, or an error code.
+      
+    @Returns the socket close timeout value to set the lingering value for socket.
+ */
+    virtual TInt GetSocketImmediateCloseTimeout()=0;    
 
 	};