equal
deleted
inserted
replaced
47 |
47 |
48 // EPOC default constructor |
48 // EPOC default constructor |
49 void CSuplSessionManager::ConstructL() |
49 void CSuplSessionManager::ConstructL() |
50 { |
50 { |
51 DEBUG_TRACE("CSuplSessionManager::ConstructL", __LINE__) |
51 DEBUG_TRACE("CSuplSessionManager::ConstructL", __LINE__) |
52 iCommMgr = CSuplCommunicationManager::NewL(); |
52 iSessionRetryQ = CSuplSessionRetryQ::NewL(); |
|
53 iCommMgr = CSuplCommunicationManager::NewL(*this); |
53 iCommMgr->Initialize(); |
54 iCommMgr->Initialize(); |
54 iConnectError=KErrNone; |
55 iConnectError=KErrNone; |
55 } |
56 } |
56 |
57 |
57 // Two-phased constructor |
58 // Two-phased constructor |
70 { |
71 { |
71 DEBUG_TRACE("CSuplSessionManager::~CSuplSessionManager", __LINE__) |
72 DEBUG_TRACE("CSuplSessionManager::~CSuplSessionManager", __LINE__) |
72 if(iProtocolMgr) |
73 if(iProtocolMgr) |
73 delete iProtocolMgr; |
74 delete iProtocolMgr; |
74 delete iCommMgr; |
75 delete iCommMgr; |
|
76 delete iSessionRetryQ; |
75 delete iEcomWatcher; |
77 delete iEcomWatcher; |
76 REComSession::FinalClose(); |
78 REComSession::FinalClose(); |
77 } |
79 } |
78 |
80 |
79 // ------------------------------------------------------------------ |
81 // ------------------------------------------------------------------ |
508 DEBUG_TRACE("CSuplSessionManager::CancelLocationConversionRequest", __LINE__) |
510 DEBUG_TRACE("CSuplSessionManager::CancelLocationConversionRequest", __LINE__) |
509 if(iProtocolMgr && aSessn) |
511 if(iProtocolMgr && aSessn) |
510 iProtocolMgr->CancelLocationConversionRequest(aSessn); |
512 iProtocolMgr->CancelLocationConversionRequest(aSessn); |
511 } |
513 } |
512 |
514 |
|
515 void CSuplSessionManager::ConnectionOpened() |
|
516 { |
|
517 iSessionRetryQ->SessionStarted(); |
|
518 } |
|
519 |
|
520 void CSuplSessionManager::ConnectionClosed() |
|
521 { |
|
522 iSessionRetryQ->SessionEnded(); |
|
523 } |
|
524 |
|
525 void CSuplSessionManager::QueueForReIssueRequestL(CSuplSessionRequest& aSessionRequest) |
|
526 { |
|
527 iSessionRetryQ->AddToQueueL(aSessionRequest); |
|
528 } |
|
529 |
|
530 void CSuplSessionManager::RemoveFromQueueForReIssueRequest(CSuplSessionRequest& aSessionRequest) |
|
531 { |
|
532 iSessionRetryQ->RemoveFromQueueL(aSessionRequest); |
|
533 } |
|
534 |
513 // End of File |
535 // End of File |