74 // Destructor |
74 // Destructor |
75 // --------------------------------------------------------------------------- |
75 // --------------------------------------------------------------------------- |
76 // |
76 // |
77 CWSOviPlugin::~CWSOviPlugin() |
77 CWSOviPlugin::~CWSOviPlugin() |
78 { |
78 { |
|
79 TLSLOG(KSenCoreServiceManagerLogChannelBase , KMinLogLevel,(_L("CWSOviPlugin::~CWSOviPlugin()"))); |
79 iMsgHandlers.ResetAndDestroy(); |
80 iMsgHandlers.ResetAndDestroy(); |
80 iSessionHandlers.ResetAndDestroy(); |
81 iSessionHandlers.ResetAndDestroy(); |
81 iHandlerContexts.ResetAndDestroy(); |
82 iHandlerContexts.ResetAndDestroy(); |
82 iVersions.Reset(); |
83 iVersions.Reset(); |
83 iIMSI.Close(); |
84 iIMSI.Close(); |
84 TLSLOG(KSenCoreServiceManagerLogChannelBase , KMinLogLevel,(_L("CWSOviPlugin::~CWSOviPlugin()"))); |
85 TLSLOG(KSenCoreServiceManagerLogChannelBase , KMinLogLevel,(_L("CWSOviPlugin::~CWSOviPlugin() Completed"))); |
85 } |
86 } |
86 |
87 |
87 // --------------------------------------------------------------------------- |
88 // --------------------------------------------------------------------------- |
88 // Second phase construction. |
89 // Second phase construction. |
89 // --------------------------------------------------------------------------- |
90 // --------------------------------------------------------------------------- |
90 // |
91 // |
91 void CWSOviPlugin::ConstructL() |
92 void CWSOviPlugin::ConstructL() |
92 { |
93 { |
93 TLSLOG(KSenCoreServiceManagerLogChannelBase , KMinLogLevel,(_L("CWSOviPlugin::ConstructL"))); |
94 TLSLOG(KSenCoreServiceManagerLogChannelBase , KMinLogLevel,(_L("CWSOviPlugin::ConstructL()"))); |
94 |
95 |
95 BaseConstructL(KFrameworkXMLNS, KFrameworkLocalName); |
96 BaseConstructL(KFrameworkXMLNS, KFrameworkLocalName); |
96 //load default setup of handlers |
97 //load default setup of handlers |
97 AddHandlerL(KValidateValue, KValidateHandlerVersion, SenHandler::ESessionHandler); |
98 AddHandlerL(KValidateValue, KValidateHandlerVersion, SenHandler::ESessionHandler); |
98 AddHandlerL(KRegisterValue, KNullDesC8, SenHandler::ESessionHandler); |
99 AddHandlerL(KRegisterValue, KNullDesC8, SenHandler::ESessionHandler); |
100 AddHandlerL(KCredentialCollectorValue, KNullDesC8, SenHandler::EMessageHandler); |
101 AddHandlerL(KCredentialCollectorValue, KNullDesC8, SenHandler::EMessageHandler); |
101 AddHandlerL(KDeviceValue, KNullDesC8, SenHandler::EMessageHandler); |
102 AddHandlerL(KDeviceValue, KNullDesC8, SenHandler::EMessageHandler); |
102 AddHandlerL(KSecurityValue, KNullDesC8, SenHandler::EMessageHandler); |
103 AddHandlerL(KSecurityValue, KNullDesC8, SenHandler::EMessageHandler); |
103 AddHandlerL(KEncoderValue, KNullDesC8, SenHandler::EMessageHandler); |
104 AddHandlerL(KEncoderValue, KNullDesC8, SenHandler::EMessageHandler); |
104 AddHandlerL(KServiceUpdateValue, KNullDesC8, SenHandler::ESessionHandler); |
105 AddHandlerL(KServiceUpdateValue, KNullDesC8, SenHandler::ESessionHandler); |
|
106 TLSLOG(KSenCoreServiceManagerLogChannelBase , KMinLogLevel,(_L("CWSOviPlugin::ConstructL() Completed"))); |
105 } |
107 } |
106 |
108 |
107 //======================================================== |
109 //======================================================== |
108 // MSIF SPecific |
110 // MSIF SPecific |
109 //======================================================== |
111 //======================================================== |