webservices/wsconnection/src/senservicedispatcher.cpp
changeset 23 a1df79fa35b4
parent 0 62f9d29f7211
--- a/webservices/wsconnection/src/senservicedispatcher.cpp	Fri Apr 16 16:07:50 2010 +0300
+++ b/webservices/wsconnection/src/senservicedispatcher.cpp	Fri Jun 11 14:42:58 2010 +0300
@@ -156,7 +156,9 @@
     
     for(;;)
         {
+        TLSLOG_L(KSenDispatcherLogChannel, KSenDispatcherLogLevel, "CSenServiceDispatcher::ExecuteL Before User::WaitForAnyRequest()");
         User::WaitForAnyRequest();
+        TLSLOG_L(KSenDispatcherLogChannel, KSenDispatcherLogLevel, "CSenServiceDispatcher::ExecuteL After User::WaitForAnyRequest()");
 
         //If iDispatchMessages = FALSE then stop dispacthing messages.
         //Is called from the destructor and thread will end in cleaner way
@@ -312,6 +314,7 @@
     }
 TBool CSenServiceDispatcher::RemoveFromQueue(TInt aTransactionID)
     {
+    TLSLOG_FORMAT((KSenDispatcherLogChannel, KSenDispatcherLogLevel, _L("CSenServiceDispatcher::RemoveFromQueue - VrtlTxnID (%d)"), aTransactionID));
     //This method gets called from two places 1)main thread from
     //CancelTransaction(aTransactionID) method and 2)child thread from
     //ExecuteL method once message has been dispacthed.
@@ -368,6 +371,7 @@
 
 TInt CSenServiceDispatcher::AddToTheTransMap(TInt* pVrtlaTxnId,TInt* pActlTxnId)
     {
+    TLSLOG_FORMAT((KSenDispatcherLogChannel, KSenDispatcherLogLevel, _L("CSenServiceDispatcher::AddToTheTransMap - VrtlTxnID [%d], ActlTxnId [%d]"), pVrtlaTxnId, pActlTxnId));
     TInt returnValue = KErrNone;
     //Wait on transaction map critical section if it is locked, and then add to 
     //the map.
@@ -382,6 +386,7 @@
 
 TInt CSenServiceDispatcher::RemoveFromTransMap(TInt* pVrtlaTxnId)
     {
+    TLSLOG_FORMAT((KSenDispatcherLogChannel, KSenDispatcherLogLevel, _L("CSenServiceDispatcher::RemoveFromTransMap - VrtlTxnID [%d]"), pVrtlaTxnId));
     TInt returnValue = KErrNone;
     //Is called from the main thread after we recieve the response.
     returnValue = TransactionMap().Find(*pVrtlaTxnId);
@@ -396,6 +401,7 @@
 
 TInt CSenServiceDispatcher::UpdateTransMap(TInt* pVrtlaTxnId,TInt* pActlTxnId)
     {
+    TLSLOG_FORMAT((KSenDispatcherLogChannel, KSenDispatcherLogLevel, _L("CSenServiceDispatcher::UpdateTransMap - VrtlTxnID [%d], ActlTxnId [%d]"), pVrtlaTxnId, pActlTxnId));
     TInt returnValue = KErrNone;
     //Is called from the main thread from HandleMessageChildAOL method.
     //Typically gets called when ESenReAuthAndResendNeeded and ESenResendNeeded