|
1 /* |
|
2 * Copyright (c) 2006-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 : MOutgoingRequestQueueContext.h |
|
16 * Part of : ConnectionMgr |
|
17 * See class definition below |
|
18 * Version : SIP/5.0 |
|
19 * |
|
20 */ |
|
21 |
|
22 |
|
23 |
|
24 #ifndef MOUTGOINGREQUESTQUEUECONTEXT_H |
|
25 |
|
26 /** |
|
27 * @internalComponent |
|
28 */ |
|
29 #define MOUTGOINGREQUESTQUEUECONTEXT_H |
|
30 |
|
31 // INCLUDES |
|
32 #include <e32base.h> |
|
33 |
|
34 // FORWARD DECLARATIONS |
|
35 class CSIPRequest; |
|
36 class TInetAddr; |
|
37 class TSIPTransportParams; |
|
38 class MSocketUsagePermissionObserver; |
|
39 class RSocket; |
|
40 |
|
41 // CLASS DEFINITION |
|
42 /** |
|
43 * |
|
44 */ |
|
45 class MOutgoingRequestQueueContext |
|
46 { |
|
47 public: // Abstract methods |
|
48 |
|
49 virtual void ContinueSendToTransportL( const TSIPTransportParams& aParams, |
|
50 CSIPRequest& aRequest, |
|
51 TBool aForceUDP, |
|
52 const TInetAddr& aRemoteAddr, |
|
53 TUint aLocalPort, |
|
54 TUint aOrigTransport, |
|
55 TRequestStatus& aStatus, |
|
56 TBool aPublicAddrResolved ) = 0; |
|
57 |
|
58 virtual void RequestFailed( TRequestStatus& aStatus, TInt aError ) = 0; |
|
59 |
|
60 virtual RSocket& GetUdpSocketL( const TSIPTransportParams& aParams, |
|
61 const TInetAddr& aRemoteAddr, |
|
62 TUint& aLocalPort, |
|
63 MSocketUsagePermissionObserver* aObserver, |
|
64 TBool& aPermissionToUse ) = 0; |
|
65 |
|
66 virtual void UdpSocketFree( const TSIPTransportParams& aParams, |
|
67 const TInetAddr& aRemoteAddr, |
|
68 TUint aLocalPort, |
|
69 MSocketUsagePermissionObserver* aObserver, |
|
70 RSocket& aSocket ) = 0; |
|
71 |
|
72 }; |
|
73 |
|
74 #endif // MOUTGOINGREQUESTQUEUECONTEXT_H |
|
75 |