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 TInt AddFile (const TDesC &)
IMPORT_C void Close ()
IMPORT_C TInt Connect ()
IMPORT_C void NotifyServerIdle ( TRequestStatus &)
IMPORT_C void ScanDcf ( TRequestStatus &)
IMPORT_C void ScanDcf ( RPointerArray < HBufC8 > &, TRequestStatus &)
IMPORT_C void SetTtid ( RArray < TPair > &, TRequestStatus &)
IMPORT_C void StopWatching ()
IMPORT_C TVersion Version ()
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_C RDcfRepCli ( )

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 TInt AddFile ( 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 & aFile filename

Close()

IMPORT_C void Close ( )
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 TInt Connect ( )
Connect The function try to connect DcfRepSrv server.
Since
Series 60 3.0

NotifyServerIdle(TRequestStatus &)

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

Parameters

TRequestStatus & aStatus status of this request

ScanDcf(TRequestStatus &)

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

Parameters

TRequestStatus & aStatus status of this request

ScanDcf(RPointerArray< HBufC8 > &, TRequestStatus &)

IMPORT_C void ScanDcf ( 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 > & aList a list of content ID
TRequestStatus & aStatus status of this request

SetTtid(RArray< TPair > &, TRequestStatus &)

IMPORT_C void SetTtid ( 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 & aStatus status of this request

StopWatching()

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

Version()

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

operator=(const RDcfRepCli &)

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

Parameters

const RDcfRepCli &