|
1 // Copyright (c) 2000-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 // This file contains the declaration of the MConnManObserver which is abstract interface to the |
|
15 // connectino Manager |
|
16 // |
|
17 // |
|
18 |
|
19 /** |
|
20 @file CMANOBSERVER.H |
|
21 */ |
|
22 |
|
23 #ifndef __CMANOBSERVER_H__ |
|
24 #define __CMANOBSERVER_H__ |
|
25 |
|
26 class CCOWatcherBase; |
|
27 class TPushConnPoint; |
|
28 |
|
29 /** |
|
30 * Abstract interface to the connection manager for callbacks from the COWatchers. |
|
31 * Functions are implemented in Connection Manager. |
|
32 */ |
|
33 //##ModelId=3B659EE10376 |
|
34 class MConnManObserver |
|
35 /** |
|
36 @internalComponent |
|
37 @released |
|
38 */ |
|
39 { |
|
40 public: |
|
41 |
|
42 /** |
|
43 * This method is defined to allow the SIA content type handler |
|
44 * to create a new connection without owning a handle to the |
|
45 * connection manager. |
|
46 * @param TPushConnPoint& aConnPoint |
|
47 * in: Details of the security level and address of the connection |
|
48 * @return None |
|
49 */ |
|
50 |
|
51 //##ModelId=3B659EE1038A |
|
52 virtual void CMOpenConnectionL(TPushConnPoint& aConnPoint)=0; |
|
53 /** |
|
54 * This method is a mechanism for the connection-oriented watchers |
|
55 * to report back their status. The connection manager can delete them |
|
56 * when they complete |
|
57 * @param CCOWatcherBase& aCOWatcher |
|
58 * in: reference to the COWatcher that has completed |
|
59 * @param TInt aError |
|
60 * in: Error code of completing CO Watcher |
|
61 * @return None |
|
62 */ |
|
63 //##ModelId=3B659EE10380 |
|
64 virtual void CMWatcherComplete(CCOWatcherBase& aCOWatcher, TInt aError)=0; |
|
65 }; |
|
66 |
|
67 |
|
68 #endif |