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