imservices/instantmessagingcache/imcacheclient/src/cimcacheaccesseventhandler.cpp
equal
deleted
inserted
replaced
118 { |
118 { |
119 iAccessHandler.HandleIMCacheEventL( EIMCacheAllChatClosed, NULL ); |
119 iAccessHandler.HandleIMCacheEventL( EIMCacheAllChatClosed, NULL ); |
120 break; |
120 break; |
121 } |
121 } |
122 case EIMOperationUnRegistered: |
122 case EIMOperationUnRegistered: |
123 { |
123 { |
124 TRACE( T_LIT("CIMCacheEventHandler::RunL() EIMOperationUnRegistered") ); |
124 TRACE(T_LIT( |
125 iContinueObserving = EFalse; |
125 "CIMCacheEventHandler::RunL() EIMOperationUnRegistered")); |
126 break; |
126 iContinueObserving = EFalse; |
127 } |
127 break; |
|
128 } |
|
129 case KErrServerTerminated: |
|
130 { |
|
131 // This case handles when the server terminated status is set. |
|
132 // This is scenario is typically scene when imcache server is uninstalled. |
|
133 UnRegisterObserver(); |
|
134 DoCancel(); |
|
135 break; |
|
136 } |
128 default : |
137 default : |
129 { |
138 { |
130 TRACE( T_LIT("CIMCacheEventHandler::RunL() default") ); |
139 TRACE( T_LIT("CIMCacheEventHandler::RunL() default") ); |
131 break; |
140 break; |
132 } |
141 } |