RDcfRepCli Class Reference

class RDcfRepCli : public RSessionBase

RDcfRepCli Client of DCF Repository

Since
Series 60 3.0

Inherits from

Public Member Functions
RDcfRepCli()
~RDcfRepCli()
IMPORT_C TIntAddFile(const TDesC &)
IMPORT_C voidClose()
IMPORT_C TIntConnect()
IMPORT_C voidNotifyServerIdle(TRequestStatus &)
IMPORT_C voidScanDcf(TRequestStatus &)
IMPORT_C voidScanDcf(RPointerArray< HBufC8 > &, TRequestStatus &)
IMPORT_C voidSetTtid(RArray< TPair > &, TRequestStatus &)
IMPORT_C voidStopWatching()
IMPORT_C TVersionVersion()
Private Member Functions
RDcfRepCli(const RDcfRepCli &)
RDcfRepCli &operator=(const RDcfRepCli &)
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
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)const
RSessionBase::SendReceive(TInt,TRequestStatus &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &,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

Constructor & Destructor Documentation

RDcfRepCli()

IMPORT_CRDcfRepCli()

C++ default constructor.

RDcfRepCli(const RDcfRepCli &)

RDcfRepCli(const RDcfRepCli &)[private]

Parameters

const RDcfRepCli &

~RDcfRepCli()

IMPORT_C~RDcfRepCli()[virtual]

Destructor.

Member Functions Documentation

AddFile(const TDesC &)

IMPORT_C TIntAddFile(const TDesC &aFile)
AddFile The function add a file into dababase. server will check file info and add them into database
Since
Series 60 3.0

Parameters

const TDesC & aFilefilename

Close()

IMPORT_C voidClose()
Close This function closes the connection between the client and the server. It is safe to call this method even if connection is not established.
Since
Series 60 3.0

Connect()

IMPORT_C TIntConnect()
Connect The function try to connect DcfRepSrv server.
Since
Series 60 3.0

NotifyServerIdle(TRequestStatus &)

IMPORT_C voidNotifyServerIdle(TRequestStatus &aStatus)
NotifyServerIdle This function will notify when server becomes idle
Since
Series 60 3.0

Parameters

TRequestStatus & aStatusstatus of this request

ScanDcf(TRequestStatus &)

IMPORT_C voidScanDcf(TRequestStatus &aStatus)
ScanDcf This function will triger the file scanning on the server side for all DCFs
Since
Series 60 3.0

Parameters

TRequestStatus & aStatusstatus of this request

ScanDcf(RPointerArray< HBufC8 > &, TRequestStatus &)

IMPORT_C voidScanDcf(RPointerArray< HBufC8 > &aList,
TRequestStatus &aStatus
)
ScanDcf The function will scan Dcfs for a list of content ID, when all content ID are paired with at least one file, scanning get stopped.
Since
Series 60 3.0

Parameters

RPointerArray< HBufC8 > & aLista list of content ID
TRequestStatus & aStatusstatus of this request

SetTtid(RArray< TPair > &, TRequestStatus &)

IMPORT_C voidSetTtid(RArray< TPair > &aList,
TRequestStatus &aStatus
)
SetTtid This function is an asynchronous call. It goes through whole file system to replace old Ttid pairs(transaction ID and dcf)
Since
Series 60 3.0

Parameters

RArray< TPair > & aList
TRequestStatus & aStatusstatus of this request

StopWatching()

IMPORT_C voidStopWatching()
StopWatching Tell the server to stop watching the rights server
Since
Series 60 3.1

Version()

IMPORT_C TVersionVersion()const
Version Server version
Since
Series 60 3.0

operator=(const RDcfRepCli &)

RDcfRepCli &operator=(const RDcfRepCli &)[private]

Parameters

const RDcfRepCli &