applayerpluginsandutils/httpprotocolplugins/WspProtocolHandler/MConnectInvokerCallback.h
equal
deleted
inserted
replaced
|
1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef __MCONNECTINVOKERCALLBACK_H__ |
|
17 #define __MCONNECTINVOKERCALLBACK_H__ |
|
18 |
|
19 #include <e32base.h> |
|
20 |
|
21 /** The MConnectInvokerCallback is used to perform an automatic session connect. |
|
22 An active object uses this callback to get the protocol handler to initiate |
|
23 the session connect. |
|
24 */ |
|
25 class MConnectInvokerCallback |
|
26 { |
|
27 public: // Methods |
|
28 |
|
29 /** @fn HandleConnectInvocationL() =0 |
|
30 Intended Usage : |
|
31 @since 7.0 |
|
32 @post A session connect has been initiated with the new proxy. |
|
33 */ |
|
34 virtual void HandleConnectInvocationL() =0; |
|
35 |
|
36 /** @fn ConnectInvokerCallbackError(TInt aError) =0 |
|
37 Intended Usage : Error handling function for when RunL() leaves. |
|
38 @since 7.0 |
|
39 @param aError The error with which RunL() left. |
|
40 @return An error code. If the input error value could be handled, |
|
41 then KErrNone is returned, otherwise the input error code |
|
42 is returned. |
|
43 */ |
|
44 virtual TInt ConnectInvokerCallbackError(TInt aError) =0; |
|
45 |
|
46 }; |
|
47 |
|
48 #endif // __MPROXYREDIRECTIONCALLBACK_H__ |