equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008 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: Observer interface used to receive notifications from |
|
15 * Connection Multiplexer ICMP receiver. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 #ifndef M_MNCMICMPOBSERVER_H |
|
23 #define M_MNCMICMPOBSERVER_H |
|
24 |
|
25 // INCLUDES |
|
26 #include <e32base.h> |
|
27 |
|
28 class TInetAddr; |
|
29 |
|
30 /** |
|
31 * Observer interface used to receive notifications from |
|
32 * Connection Multiplexer ICMP receiver |
|
33 * |
|
34 * @lib connectionmux.lib |
|
35 * @since S60 v3.2 |
|
36 */ |
|
37 class MNcmIcmpObserver |
|
38 { |
|
39 public: |
|
40 |
|
41 /** |
|
42 * Notifies that an ICMP error is occurred using |
|
43 * the specified remote address. Gets a local address and |
|
44 * a remote address to be used in the creation of the ICMP message. |
|
45 * |
|
46 * @since S60 v3.2 |
|
47 * @param aAddress Remote address on which the error occurred |
|
48 * @param aLocalAddress Reference to local address |
|
49 * @param aRemoteAddress Reference to remote address |
|
50 * @return void |
|
51 */ |
|
52 virtual void IcmpError( const TInetAddr& aAddress, |
|
53 TInetAddr& aLocalAddress, TInetAddr& aRemoteAddress ) = 0; |
|
54 }; |
|
55 |
|
56 #endif // M_MNCMICMPOBSERVER_H |
|
57 |
|
58 // End of File |