|
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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef MMCEINTRANSACTIONOBSERVER_H |
|
22 #define MMCEINTRANSACTIONOBSERVER_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <mcedefs.h> |
|
26 #include <e32std.h> |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 class TMceTransactionDataContainer; |
|
30 class CMceSession; |
|
31 |
|
32 // CLASS DECLARATION |
|
33 |
|
34 /** |
|
35 * An interface to be implemented by users of MCE if they wish to receive |
|
36 * extension SIP requests such as INFO within an existing session. |
|
37 * |
|
38 * This observer is set using CMceManager::SetInTransactionObserver function. |
|
39 * |
|
40 * @lib mceclient.lib |
|
41 */ |
|
42 class MMceInTransactionObserver |
|
43 { |
|
44 public: // Session control callbacks |
|
45 |
|
46 /** |
|
47 * New incoming Request received. |
|
48 * @param aSession |
|
49 * @param aTransactionId transaction id of the transaction |
|
50 * @param aContainer, holds details of the incoming SIP request. |
|
51 */ |
|
52 virtual void IncomingRequest( |
|
53 const TDesC8& aMethod, |
|
54 CMceSession& aSession, |
|
55 TMceTransactionId aTransactionId, |
|
56 TMceTransactionDataContainer* aContainer ) = 0; |
|
57 |
|
58 }; |
|
59 |
|
60 #endif // MMCEINTRANSACTIONOBSERVER_H |
|
61 |
|
62 |
|
63 //End of File |
|
64 |