commsfwtools/preparedefaultcommsdatabase/src/CommsDatSessionImpl.cpp
branchRCL_3
changeset 25 9d7ce34704c8
parent 0 dfb7c4ff071f
child 26 b564fb5fd78b
equal deleted inserted replaced
24:00c6709d25aa 25:9d7ce34704c8
   155     if (iCommsStorage)
   155     if (iCommsStorage)
   156         {
   156         {
   157         return KErrNone;
   157         return KErrNone;
   158         }
   158         }
   159     
   159     
   160     __FLOG_STATIC1(KLogComponent, KCDInfoLog, _L("*** CMDBSessionImpl::ConstructL() constructing session object object <%08x>"), this);
   160 #ifdef __FLOG_ACTIVE
   161     
   161     RThread self;
       
   162     TBuf<KMaxFullName> name;
       
   163     self.FullName(name);
       
   164     __FLOG_STATIC2(KLogComponent, KCDInfoLog, _L("*** CMDBSessionImpl::ConstructL() constructing session object <%08x> in thread \"%S\""), this, &name);
       
   165 #endif
       
   166 
   162     EstablishVersionL(aRequiredVersion); 
   167     EstablishVersionL(aRequiredVersion); 
   163  
   168  
   164     // Connect to the repository
   169     // Connect to the repository
   165     iCommsStorage = ::CRepository::NewL(KCDCommsRepositoryId);
   170     iCommsStorage = ::CRepository::NewL(KCDCommsRepositoryId);
   166    
   171    
   185 No session required with Central repository
   190 No session required with Central repository
   186 
   191 
   187 @internalComponent
   192 @internalComponent
   188 */
   193 */
   189     {
   194     {
       
   195     __FLOG_STATIC1(KLogComponent, KCDInfoLog, _L("*** CMDBSessionImpl::Close() closing session object <%08x>"), this);
   190 #ifndef __TOOLS2__
   196 #ifndef __TOOLS2__
   191     TRAPD(
   197     TRAPD(
   192         err, 
   198         err, 
   193         
   199         
   194         // Don't signal any roll-back, the reason we're performing a roll-back is because
   200         // Don't signal any roll-back, the reason we're performing a roll-back is because