persistentstorage/sql/SRC/Client/SqlDbSession.inl
branchRCL_3
changeset 24 cc28652e0254
parent 23 26645d81f48d
equal deleted inserted replaced
23:26645d81f48d 24:cc28652e0254
   221 
   221 
   222 @return KErrNone or system-wide error codes.
   222 @return KErrNone or system-wide error codes.
   223 */
   223 */
   224 inline TInt RSqlDbSession::SendReceive(TInt aFunction)
   224 inline TInt RSqlDbSession::SendReceive(TInt aFunction)
   225 	{
   225 	{
       
   226 	SYMBIAN_TRACE_SQL_EVENTS_ONLY(TPtrC8 funcStr = GetIPCFuncStr(aFunction));
       
   227 	SYMBIAN_TRACE_SQL_EVENTS_ONLY(UTF::Printf(UTF::TTraceContext(UTF::EBorder), KDbMsgStr, &funcStr));
   226 	return RSessionBase::SendReceive(aFunction);	
   228 	return RSessionBase::SendReceive(aFunction);	
   227 	}
   229 	}
   228 
   230 
   229 /**
   231 /**
   230 The method sends a message asynchronously to the SQL server.
   232 The method sends a message asynchronously to the SQL server.
   233 
   235 
   234 @return KErrNone or system-wide error codes.
   236 @return KErrNone or system-wide error codes.
   235 */
   237 */
   236 inline void RSqlDbSession::SendReceive(TInt aFunction, TRequestStatus& aStatus)
   238 inline void RSqlDbSession::SendReceive(TInt aFunction, TRequestStatus& aStatus)
   237 	{
   239 	{
       
   240 	SYMBIAN_TRACE_SQL_EVENTS_ONLY(TPtrC8 funcStr = GetIPCFuncStr(aFunction));
       
   241 	SYMBIAN_TRACE_SQL_EVENTS_ONLY(UTF::Printf(UTF::TTraceContext(UTF::EBorder), KDbMsgStr, &funcStr));
   238 	RSessionBase::SendReceive(aFunction, aStatus);
   242 	RSessionBase::SendReceive(aFunction, aStatus);
   239 	}
   243 	}
   240 
   244 
   241 /**
   245 /**
   242 The method sends a message with arguments to the SQL server.
   246 The method sends a message with arguments to the SQL server.
   246 
   250 
   247 @return KErrNone or system-wide error codes.
   251 @return KErrNone or system-wide error codes.
   248 */
   252 */
   249 inline TInt RSqlDbSession::SendReceive(TInt aFunction, const TIpcArgs& aArgs)
   253 inline TInt RSqlDbSession::SendReceive(TInt aFunction, const TIpcArgs& aArgs)
   250 	{
   254 	{
       
   255 	SYMBIAN_TRACE_SQL_EVENTS_ONLY(TPtrC8 funcStr = GetIPCFuncStr(aFunction));
       
   256 	SYMBIAN_TRACE_SQL_EVENTS_ONLY(UTF::Printf(UTF::TTraceContext(UTF::EBorder), KDbMsgStr, &funcStr));
   251 	return RSessionBase::SendReceive(aFunction, aArgs);	
   257 	return RSessionBase::SendReceive(aFunction, aArgs);	
   252 	}
   258 	}
   253 	
   259 	
   254 /**
   260 /**
   255 The method sends asynchronously a message with arguments to the SQL server.
   261 The method sends asynchronously a message with arguments to the SQL server.
   258 @param aArgs Message arguments
   264 @param aArgs Message arguments
   259 @param aStatus Completion status of asynchronous request
   265 @param aStatus Completion status of asynchronous request
   260 */
   266 */
   261 inline void RSqlDbSession::SendReceive(TInt aFunction,const TIpcArgs& aArgs, TRequestStatus& aStatus)
   267 inline void RSqlDbSession::SendReceive(TInt aFunction,const TIpcArgs& aArgs, TRequestStatus& aStatus)
   262 	{
   268 	{
       
   269 	SYMBIAN_TRACE_SQL_EVENTS_ONLY(TPtrC8 funcStr = GetIPCFuncStr(aFunction));
       
   270 	SYMBIAN_TRACE_SQL_EVENTS_ONLY(UTF::Printf(UTF::TTraceContext(UTF::EBorder), KDbMsgStr, &funcStr));
   263 	RSessionBase::SendReceive(aFunction, aArgs, aStatus);	
   271 	RSessionBase::SendReceive(aFunction, aArgs, aStatus);	
   264 	}
   272 	}