diff -r a2a70ce3d4e8 -r 5f1cd966e0d9 applayerpluginsandutils/httptransportplugins/httptransporthandler/mconnectionprefsprovider.h --- a/applayerpluginsandutils/httptransportplugins/httptransporthandler/mconnectionprefsprovider.h Thu Jul 15 19:14:59 2010 +0300 +++ b/applayerpluginsandutils/httptransportplugins/httptransporthandler/mconnectionprefsprovider.h Thu Aug 19 10:27:19 2010 +0300 @@ -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; };