webservices/wsframework/src/senservicesession.cpp
changeset 28 0802db42e4e9
parent 1 272b002df977
equal deleted inserted replaced
2:150a13bad6af 28:0802db42e4e9
    48     CSenWSDescription(aType),
    48     CSenWSDescription(aType),
    49     iStatus(KSenConnectionStatusNew),
    49     iStatus(KSenConnectionStatusNew),
    50     iFramework(aFramework),
    50     iFramework(aFramework),
    51     ipTransport(NULL)
    51     ipTransport(NULL)
    52     {
    52     {
       
    53     TLSLOG_L(KSenCoreServiceManagerLogChannelBase  , KMinLogLevel ,"CSenServiceSession::CSenServiceSession()");
    53     }
    54     }
    54 
    55 
    55 EXPORT_C CSenServiceSession::~CSenServiceSession()
    56 EXPORT_C CSenServiceSession::~CSenServiceSession()
    56     {
    57     {
       
    58     TLSLOG_L(KSenCoreServiceManagerLogChannelBase  , KMinLogLevel ,"CSenServiceSession::~CSenServiceSession()");
    57     // The REMOTE consumers are also sessions which are
    59     // The REMOTE consumers are also sessions which are
    58     // owned by XMLDAO or ClientSession
    60     // owned by XMLDAO or ClientSession
    59     iConsumerList.Reset();
    61     iConsumerList.Reset();
    60     iFacets.ResetAndDestroy();
    62     iFacets.ResetAndDestroy();
    61     if (iTransportOwned)
    63     if (iTransportOwned)
   560     TPtrC8 thisFrameworkId = FrameworkId();
   562     TPtrC8 thisFrameworkId = FrameworkId();
   561     if(patternFrameworkId.Length()>0)
   563     if(patternFrameworkId.Length()>0)
   562         {
   564         {
   563         if(!(thisFrameworkId.Length()>0 && patternFrameworkId == thisFrameworkId))
   565         if(!(thisFrameworkId.Length()>0 && patternFrameworkId == thisFrameworkId))
   564             {
   566             {
       
   567             TLSLOG_L(KSenCoreServiceManagerLogChannelBase  , KMinLogLevel,"CSenServiceSession::Matches() - Framework Id not same returning EFalse");
   565             return EFalse;
   568             return EFalse;
   566             }
   569             }
   567         }
   570         }
   568 
   571 
   569 
   572