|
1 /** |
|
2 * Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 /** |
|
21 @file CReconnectRequest.h |
|
22 @internalComponent |
|
23 */ |
|
24 |
|
25 #if !defined (__CRECONNECTREQUEST_H__) |
|
26 #define __CRECONNECTREQUEST_H__ |
|
27 |
|
28 #include "CNetConRequestBase.h" |
|
29 |
|
30 class CNifAgentBase; |
|
31 NONSHARABLE_CLASS(CReconnectRequest) : public CNetConRequestBase |
|
32 /** |
|
33 Decides whether or not to re-establish a failed connection. |
|
34 |
|
35 @internalComponent |
|
36 */ |
|
37 { |
|
38 public: |
|
39 static CReconnectRequest* NewL(MNetConEnv* aController, MNetworkControllerObserver* aObserver, CNifAgentBase* aAgent, CStoreableOverrideSettings* aOverrides); |
|
40 virtual ~CReconnectRequest(); |
|
41 |
|
42 virtual void StartRequest(); ///< start processing this request |
|
43 virtual void RequestComplete(TInt aError); ///< force premature completion of a request with a given error |
|
44 virtual void SetAvailableBearers(TUint32 aBearerSet); ///< bearer availability |
|
45 virtual void MDPOReconnectComplete(TInt aError); ///< override part of the MDialogProcessorObserver interface |
|
46 |
|
47 private: |
|
48 CReconnectRequest(MNetConEnv* aController, MNetworkControllerObserver* aObserver, CNifAgentBase* aAgent, CStoreableOverrideSettings* aOverrides); |
|
49 void ConstructL(); |
|
50 void StartReconnectL(); |
|
51 |
|
52 private: |
|
53 CNifAgentBase* const iAgent; |
|
54 }; |
|
55 |
|
56 #endif // __CRECONNECTREQUEST_H__ |
|
57 |