RFavouritesSession Class Reference

#include <mw/favouritessession.h>

class RFavouritesSession : public RSessionBase

Inherits from

Public Member Functions
IMPORT_C TIntConnect()
IMPORT_C TIntDeleteDatabase(const TDesC &)
IMPORT_C voidResourceCheck()
IMPORT_C TIntResourceCount()
IMPORT_C voidResourceMark()
voidSendReceive(TInt, const TIpcArgs &, TRequestStatus &)
TInt SendReceive(TInt, const TIpcArgs &)
TInt SendReceive(TInt)
IMPORT_C TVersionVersion()
IMPORT_C void__DbgSetAllocFail(RAllocator::TAllocFail, TInt)
Inherited Attributes
RHandleBase::iHandle
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::Close()
RHandleBase::DoExtendedClose()
RHandleBase::Duplicate(const RThread &,TOwnerType)
RHandleBase::FullName()const
RHandleBase::FullName(TDes &)const
RHandleBase::Handle()const
RHandleBase::HandleInfo(THandleInfo *)
RHandleBase::Name()const
RHandleBase::NotifyDestruction(TRequestStatus &)
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
RHandleBase::RHandleBase()
RHandleBase::RHandleBase(TInt)
RHandleBase::SetHandle(TInt)
RHandleBase::SetHandleNC(TInt)
RSessionBase::CreateSession(RServer2,const TVersion &)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
RSessionBase::Open(RMessagePtr2,TInt,TOwnerType)
RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Open(TInt,TOwnerType)
RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Send(TInt)const
RSessionBase::Send(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt,TRequestStatus &)const
RSessionBase::SetReturnedHandle(TInt)
RSessionBase::SetReturnedHandle(TInt,RHandleBase &)
RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &)
RSessionBase::ShareAuto()
RSessionBase::ShareProtected()

Detailed Description

RFavouritesSession is the Favourites Engine Session. It represents the connection to the Favourites Engine Server.

Member Function Documentation

Connect ( )

IMPORT_C TIntConnect()
Connect to Favourites Server.
Since
0.9
Return Value
Error code.

DeleteDatabase ( const TDesC & )

IMPORT_C TIntDeleteDatabase(const TDesC &aName)
Delete database.
Since
0.9
Parameters
aNameDatabase name.
Return Value
ErrorCode

ResourceCheck ( )

IMPORT_C voidResourceCheck()
Check that the number of allocated object through this session matches the same of when the last call to ResourceMark was made.
Since
0.9
Return Value
void

ResourceCount ( )

IMPORT_C TIntResourceCount()
Get number of allocated object through this session.
Since
0.9
Return Value
void

ResourceMark ( )

IMPORT_C voidResourceMark()
Start checking the number of allocated object through this session.
Since
0.9
Return Value
void

SendReceive ( TInt, const TIpcArgs &, TRequestStatus & )

voidSendReceive(TIntaFunction,
const TIpcArgs &aArgs,
TRequestStatus &aStatus
)const [inline]

Reimplemented from RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const

Message passing routine.
Since
0.9
Parameters
aFunctionFunction.
aArgsArguments.
aStatusRequest status.

SendReceive ( TInt, const TIpcArgs & )

TInt SendReceive(TIntaFunction,
const TIpcArgs &aArgs
)const [inline]

Reimplemented from RSessionBase::SendReceive(TInt,const TIpcArgs &)const

Message passing routine.
Since
0.9
Parameters
aFunctionFunction.
aArgsArguments.
Return Value
Error code.

SendReceive ( TInt )

TInt SendReceive(TIntaFunction)const [inline]

Reimplemented from RSessionBase::SendReceive(TInt)const

Message passing routine.
Since
0.9
Parameters
aFunctionFunction.
Return Value
Error code.

Version ( )

IMPORT_C TVersionVersion()[static]
Get version.
Since
0.9
Return Value
Version.

__DbgSetAllocFail ( RAllocator::TAllocFail, TInt )

IMPORT_C void__DbgSetAllocFail(RAllocator::TAllocFailaType,
TIntaRate
)
Simulate a heap allocation failure for server heap. Has empty implementation for the UDEB server.
Since
0.9
Parameters
aTypeType of heap failure simulation.
aRateRate of failure.
Return Value
void