RFavouritesSession Class Reference

class RFavouritesSession : public RSessionBase

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

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)
Private Member Functions
TInt DoConnect()
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()
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Inherited Attributes
RHandleBase::iHandle

Member Functions Documentation

Connect()

IMPORT_C TIntConnect()
Connect to Favourites Server.
Since
0.9

DeleteDatabase(const TDesC &)

IMPORT_C TIntDeleteDatabase(const TDesC &aName)
Delete database.
Since
0.9

Parameters

const TDesC & aNameDatabase name.

DoConnect()

TInt DoConnect()[private]
Connect to Favourites Server.
Since
0.9

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

ResourceCount()

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

ResourceMark()

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

SendReceive(TInt, const TIpcArgs &, TRequestStatus &)

voidSendReceive(TIntaFunction,
const TIpcArgs &aArgs,
TRequestStatus &aStatus
)const [inline]
Message passing routine.
Since
0.9

Parameters

TInt aFunctionFunction.
const TIpcArgs & aArgsArguments.
TRequestStatus & aStatusRequest status.

SendReceive(TInt, const TIpcArgs &)

TInt SendReceive(TIntaFunction,
const TIpcArgs &aArgs
)const [inline]
Message passing routine.
Since
0.9

Parameters

TInt aFunctionFunction.
const TIpcArgs & aArgsArguments.

SendReceive(TInt)

TInt SendReceive(TIntaFunction)const [inline]
Message passing routine.
Since
0.9

Parameters

TInt aFunctionFunction.

Version()

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

__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

RAllocator::TAllocFail aTypeType of heap failure simulation.
TInt aRateRate of failure.