RDRMClockClient Class Reference

class RDRMClockClient : public RSessionBase

This class is the client side interface for DRM Clock Server.

DRM Core
Since
S60 Release 2.5

Inherits from

Public Member Functions
RDRMClockClient ()
~RDRMClockClient ()
IMPORT_C void Close ()
IMPORT_C TInt Connect ()
IMPORT_C TInt GetSecureTime ( TTime &, TInt &, DRMClock::ESecurityLevel &)
IMPORT_C TInt UpdateSecureTime (const TTime &, const TInt &)
Private Member Functions
RDRMClockClient (const RDRMClockClient &)
RDRMClockClient & operator= (const RDRMClockClient &)
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

RDRMClockClient()

IMPORT_C RDRMClockClient ( )

C++ default constructor.

RDRMClockClient(const RDRMClockClient &)

RDRMClockClient ( const RDRMClockClient & ) [private]

Parameters

const RDRMClockClient &

~RDRMClockClient()

IMPORT_C ~RDRMClockClient ( ) [virtual]

Destructor.

Member Functions Documentation

Close()

IMPORT_C void 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
S60Rel2.5

Connect()

IMPORT_C TInt Connect ( )
This method opens the connection between the client and the server.
Since
2.5

GetSecureTime(TTime &, TInt &, DRMClock::ESecurityLevel &)

IMPORT_C TInt GetSecureTime ( TTime & aTime,
TInt & aTimeZone,
DRMClock::ESecurityLevel & aSecurityLevel
) const
Get the secure time.
Since
2.6

Parameters

TTime & aTime Output parameter containing the secure time in UTC.
TInt & aTimeZone Time zone information including summer/winter time in +/- 15 minutes
DRMClock::ESecurityLevel & aSecurityLevel Output parameter Securiry level.

UpdateSecureTime(const TTime &, const TInt &)

IMPORT_C TInt UpdateSecureTime ( const TTime & aTime,
const TInt & aTimeZone
)
Update the secure time.
Since
2.6

Parameters

const TTime & aTime Input parameter containing the secure time in UTC.
const TInt & aTimeZone Time zone information including summer/winter time in +/- 15 minutes

operator=(const RDRMClockClient &)

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

Parameters

const RDRMClockClient &