|
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // SIP Default SubConnection Provider class. |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalComponent |
|
21 */ |
|
22 |
|
23 #ifndef SYMBIAN_SIPDEFTSCPR_H |
|
24 #define SYMBIAN_SIPDEFTSCPR_H |
|
25 |
|
26 |
|
27 |
|
28 #include <comms-infras/ss_subconnprov.h> |
|
29 #include <comms-infras/corescpr.h> |
|
30 #include <comms-infras/corescprstates.h> |
|
31 #include <comms-infras/corescpractivities.h> |
|
32 #include <cs_subconevents.h> |
|
33 #include <cs_subconparams.h> |
|
34 #include <sip_subconevents.h> |
|
35 #include <sip_subconparams.h> |
|
36 #include <comms-infras/ss_log.h> |
|
37 #include "sipscprfactory.h" |
|
38 #include <comms-infras/ss_corepractivities.h> |
|
39 |
|
40 #ifdef __CFLOG_ACTIVE |
|
41 #define KSipSCprTag KESockSubConnectionTag |
|
42 _LIT8(KSipDeftSCprSubTag, "sipdeftscpr"); |
|
43 #endif |
|
44 |
|
45 |
|
46 |
|
47 class CSipDefaultSubConnectionProvider : public CCoreSubConnectionProvider |
|
48 /** Default SIP subconnection provider |
|
49 |
|
50 @internalTechnology |
|
51 @released Since 9.5 */ |
|
52 { |
|
53 friend class CSipSubConnectionProviderFactory; |
|
54 public: |
|
55 typedef CSipSubConnectionProviderFactory FactoryType; |
|
56 |
|
57 /** |
|
58 Destructor of the class |
|
59 */ |
|
60 virtual ~CSipDefaultSubConnectionProvider(); |
|
61 |
|
62 protected: |
|
63 CSipDefaultSubConnectionProvider(ESock::CSubConnectionProviderFactoryBase& aFactory); |
|
64 void ConstructL(); |
|
65 static CSipDefaultSubConnectionProvider* NewL(ESock::CSubConnectionProviderFactoryBase& aFactory); |
|
66 virtual void ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aMessage); |
|
67 }; |
|
68 |
|
69 #endif //SYMBIAN_SIPDEFTSCPR_H |