|
1 /* |
|
2 * Copyright (c) 2005-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 : MSigCompOwner.h |
|
16 * Part of : SIP SigComp Controller |
|
17 * Version : SIP/4.0 |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 /** |
|
25 @internalComponent |
|
26 */ |
|
27 |
|
28 |
|
29 #ifndef __MSIGCOMPOWNER_H__ |
|
30 #define __MSIGCOMPOWNER_H__ |
|
31 |
|
32 #include <e32base.h> |
|
33 #include <in_sock.h> |
|
34 class CSIPResponse; |
|
35 class CSIPRequest; |
|
36 class CSigComp; |
|
37 class TSIPTransportParams; |
|
38 |
|
39 class MSigCompOwner |
|
40 { |
|
41 public: |
|
42 virtual ~MSigCompOwner() {} |
|
43 |
|
44 virtual CBufBase* EncodeSipL( CSIPResponse& aResponse, |
|
45 TBool aStreambasedProtocol ) = 0; |
|
46 virtual CBufBase* EncodeSipL( CSIPRequest& aRequest, |
|
47 TBool aStreambasedProtocol ) = 0; |
|
48 virtual CBufBase* EncodeSipAndCompressL( const TSIPTransportParams& aTransportParams, |
|
49 CSIPResponse& aResponse, |
|
50 const TInetAddr& aAddress, |
|
51 TBool aStreambasedProtocol ) = 0; |
|
52 |
|
53 virtual CBufBase* EncodeSipAndCompressL( const TSIPTransportParams& aTransportParams, |
|
54 CSIPRequest& aRequest, |
|
55 const TInetAddr& aAddress, |
|
56 TBool aStreambasedProtocol ) = 0; |
|
57 virtual CSigComp* SigComp() = 0; |
|
58 virtual TBool HasCompartmentUser( const TSIPTransportParams& aTransportParams ) = 0; |
|
59 virtual TBool Match( const TDesC8& aAddress ) = 0; |
|
60 }; |
|
61 |
|
62 #endif // end of __MSIGCOMPOWNER_H__ |
|
63 |
|
64 // End of File |