applayerpluginsandutils/httptransportplugins/httptransporthandler/mconnectionprefsprovider.h
equal
deleted
inserted
replaced
66 provided. |
66 provided. |
67 */ |
67 */ |
68 virtual void GetSecurityPrefs(TBool& aDialogPrompt, MSecurityPolicy*& aSecurityPolicy) =0; |
68 virtual void GetSecurityPrefs(TBool& aDialogPrompt, MSecurityPolicy*& aSecurityPolicy) =0; |
69 |
69 |
70 /** |
70 /** |
71 Callback used by the transport layer to query a client to provide security |
|
72 preferences. |
|
73 @param aDialogPref indicating whether clients should be |
|
74 prompted or not. |
|
75 @param aSecurityPolicy The security policy provider, can be NULL if not |
|
76 provided. |
|
77 */ |
|
78 virtual void GetSecurityPrefs(MSecurityPolicy*& aSecurityPolicy, TInt& aDialogPref) =0; |
|
79 |
|
80 /** |
|
81 Callback function that indicates the socket shutdown mode. This method instructs the |
71 Callback function that indicates the socket shutdown mode. This method instructs the |
82 transport layer to shutdown the socket immediately. |
72 transport layer to shutdown the socket immediately. |
83 @return A boolean indicating whether the socket should be shutdown immediately or not. |
73 @return A boolean indicating whether the socket should be shutdown immediately or not. |
84 */ |
74 */ |
85 virtual TBool ImmediateSocketShutdown() =0; |
75 virtual TBool ImmediateSocketShutdown() =0; |
98 */ |
88 */ |
99 virtual TInt GetRecvBufferSize() = 0; |
89 virtual TInt GetRecvBufferSize() = 0; |
100 |
90 |
101 /* |
91 /* |
102 * 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. |
92 * 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. |
103 |
93 |
104 @Returns the socket close timeout value to set the lingering value for socket. |
94 @Returns the socket close timeout value to set the lingering value for socket. |
105 */ |
95 */ |
106 virtual TInt GetSocketImmediateCloseTimeout()=0; |
96 virtual TInt GetSocketImmediateCloseTimeout()=0; |
|
97 |
|
98 |
107 |
99 |
108 }; |
100 }; |
109 |
101 |
110 #endif // __MCONNECTIONPREFSPROVIDER_H__ |
102 #endif // __MCONNECTIONPREFSPROVIDER_H__ |
111 |
103 |