equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004-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 * Name : MSIPServerResolverObserver.h |
|
16 * Part of : ServerResolver |
|
17 * Version : SIP/4.0 |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 /** |
|
25 @internalComponent |
|
26 */ |
|
27 |
|
28 #ifndef MSIPSERVERRESOLVEROBSERVER_H |
|
29 #define MSIPSERVERRESOLVEROBSERVER_H |
|
30 |
|
31 class MSIPResolvingResult; |
|
32 |
|
33 |
|
34 class MSIPServerResolverObserver |
|
35 { |
|
36 public: |
|
37 |
|
38 /** |
|
39 * Destructor. |
|
40 */ |
|
41 virtual ~MSIPServerResolverObserver() {} |
|
42 |
|
43 /** |
|
44 * Resolving was completed successfully. |
|
45 * 1..n (IP, port, transport) tuples returned. |
|
46 * |
|
47 * If this function leaves, |
|
48 * ErrorOccured will be called with the leave code |
|
49 */ |
|
50 virtual void CompletedL() = 0; |
|
51 |
|
52 /** |
|
53 * An error occured while resolving or no tuples found. |
|
54 * |
|
55 * @param aError the reason for the failure. |
|
56 */ |
|
57 virtual void ErrorOccured( TInt aError ) = 0; |
|
58 }; |
|
59 |
|
60 #endif // MSIPSERVERRESOLVEROBSERVER_H |