equal
deleted
inserted
replaced
37 #include "sendebug.h" |
37 #include "sendebug.h" |
38 #include "senservicemanagerdefines.h" |
38 #include "senservicemanagerdefines.h" |
39 #include "senservicepolicy.h" |
39 #include "senservicepolicy.h" |
40 #include "seninternalcredential.h" |
40 #include "seninternalcredential.h" |
41 #include "sensaxutils.h" |
41 #include "sensaxutils.h" |
42 #include <xml/dom/xmlengnodelist.h> |
42 #include <xmlengnodelist.h> |
43 #include <SenIdentityProvider.h> |
43 #include <SenIdentityProvider.h> |
44 #include "senlogger.h" |
44 #include "senlogger.h" |
45 #include <SenXmlConstants.h> |
45 #include <SenXmlConstants.h> |
46 |
46 |
47 #include <SenTransportProperties.h> |
47 #include <SenTransportProperties.h> |
96 // and initiates the inner ipElement |
96 // and initiates the inner ipElement |
97 CSenServiceSession::BaseConstructL(); |
97 CSenServiceSession::BaseConstructL(); |
98 // Init member variables |
98 // Init member variables |
99 iClientServerInterval = 0; |
99 iClientServerInterval = 0; |
100 iValidUntil = Time::NullTTime(); |
100 iValidUntil = Time::NullTTime(); |
101 iMaxTime = Time::NullTTime();; |
|
102 iFrameworkId = iFramework.Id().AllocL(); |
101 iFrameworkId = iFramework.Id().AllocL(); |
103 } |
102 } |
104 |
103 |
105 EXPORT_C CSenWebServiceSession::~CSenWebServiceSession() |
104 EXPORT_C CSenWebServiceSession::~CSenWebServiceSession() |
106 { |
105 { |
1552 { |
1551 { |
1553 return iValidUntil; |
1552 return iValidUntil; |
1554 } |
1553 } |
1555 else |
1554 else |
1556 { |
1555 { |
1557 //const TTime& MAX_TIME = Time::MaxTTime(); |
1556 const TTime& MAX_TIME = Time::MaxTTime(); |
1558 //return MAX_TIME; // if no expiration was set, the session is |
1557 return MAX_TIME; // if no expiration was set, the session is |
1559 // valid forever(!) |
1558 // valid forever(!) |
1560 iMaxTime = Time::MaxTTime(); |
|
1561 return iMaxTime; |
|
1562 |
|
1563 } |
1559 } |
1564 } |
1560 } |
1565 |
1561 |
1566 EXPORT_C void CSenWebServiceSession::WriteAsXMLToL(RWriteStream& aWriteStream) |
1562 EXPORT_C void CSenWebServiceSession::WriteAsXMLToL(RWriteStream& aWriteStream) |
1567 { |
1563 { |