RCcClientSession Class Reference

class RCcClientSession : public RSessionBase

Content control server client side session


			
hsccsrv.lib
Since
S60 v5.0

Inherits from

Protected Member Functions
IMPORT_C TIntCancelReq(TPckgBuf< TInt > &)
IMPORT_C voidClose()
IMPORT_C TIntConnect()
IMPORT_C TIntGetMsgData(TPckgBuf< TUint32 > &, TPtr8 &)
IMPORT_C TIntRegisterObserver(TPckgBuf< TUint32 > &, TPckgBuf< TUint32 > &)
IMPORT_C TIntRegisterProvider(TPckgBuf< TUint32 > &, TPckgBuf< TUint32 > &)
IMPORT_C TIntSend(TInt, TPckgBuf< TUint32 > &, TPckgBuf< TUint32 > &, TPckgBuf< TUint32 > &, TPtr8 &)
IMPORT_C voidWaitForApiNtf(TPckgBuf< TUint32 > &, TPckgBuf< TUint32 > &, TPckgBuf< TUint32 > &, TPtr8 &, TRequestStatus &)
IMPORT_C voidWaitForApiReq(TPckgBuf< TUint32 > &, TPckgBuf< TUint32 > &, TPckgBuf< TUint32 > &, TPtr8 &, TRequestStatus &)
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

Member Functions Documentation

CancelReq(TPckgBuf< TInt > &)

IMPORT_C TIntCancelReq(TPckgBuf< TInt > &aFunction)[protected]
Cancels outstanding async request
Since
S60 5.0

Parameters

TPckgBuf< TInt > & aFunctionCanceled function

Close()

IMPORT_C voidClose()[protected]

Close.

Since
S60 5.0

Connect()

IMPORT_C TIntConnect()[protected]

Connect.

Since
S60 5.0

GetMsgData(TPckgBuf< TUint32 > &, TPtr8 &)

IMPORT_C TIntGetMsgData(TPckgBuf< TUint32 > &aTrId,
TPtr8 &aBuf
)[protected]
Reads message data
Since
S60 5.0

Parameters

TPckgBuf< TUint32 > & aTrIdTransaction id
TPtr8 & aBufData buffer

RegisterObserver(TPckgBuf< TUint32 > &, TPckgBuf< TUint32 > &)

IMPORT_C TIntRegisterObserver(TPckgBuf< TUint32 > &aProvider,
TPckgBuf< TUint32 > &aAddress
)[protected]
Registers content control API observer
Since
S60 5.0

Parameters

TPckgBuf< TUint32 > & aProviderProvider id
TPckgBuf< TUint32 > & aAddressRegistered address of observer

RegisterProvider(TPckgBuf< TUint32 > &, TPckgBuf< TUint32 > &)

IMPORT_C TIntRegisterProvider(TPckgBuf< TUint32 > &aProvider,
TPckgBuf< TUint32 > &aAddress
)[protected]
Registers content control API provider
Since
S60 5.0

Parameters

TPckgBuf< TUint32 > & aProviderProvider id
TPckgBuf< TUint32 > & aAddressRegistered address of service provider

Send(TInt, TPckgBuf< TUint32 > &, TPckgBuf< TUint32 > &, TPckgBuf< TUint32 > &, TPtr8 &)

IMPORT_C TIntSend(TIntaFunction,
TPckgBuf< TUint32 > &aProvider,
TPckgBuf< TUint32 > &aSender,
TPckgBuf< TUint32 > &aReceiver,
TPtr8 &aBuf
)[protected]
Sends API request/response to Home screen content control server
Since
S60 5.0

Parameters

TInt aFunctionIPC function EHsCcApiReq/EHsCcApiResp
TPckgBuf< TUint32 > & aProviderProvider id
TPckgBuf< TUint32 > & aSenderSender of Api request
TPckgBuf< TUint32 > & aReceiverService provider
TPtr8 & aBufMessage buffer: in: service request out: service response header

WaitForApiNtf(TPckgBuf< TUint32 > &, TPckgBuf< TUint32 > &, TPckgBuf< TUint32 > &, TPtr8 &, TRequestStatus &)

IMPORT_C voidWaitForApiNtf(TPckgBuf< TUint32 > &aProvider,
TPckgBuf< TUint32 > &aSender,
TPckgBuf< TUint32 > &aReceiver,
TPtr8 &aBuf,
TRequestStatus &aStatus
)[protected]
Starts receiving API notifications
Since
S60 5.0

Parameters

TPckgBuf< TUint32 > & aProviderProvider id
TPckgBuf< TUint32 > & aSenderSender of Api request
TPckgBuf< TUint32 > & aReceiverService provider
TPtr8 & aBufMessage buffer for received API notification header
TRequestStatus & aStatusCompletion status for IPC request

WaitForApiReq(TPckgBuf< TUint32 > &, TPckgBuf< TUint32 > &, TPckgBuf< TUint32 > &, TPtr8 &, TRequestStatus &)

IMPORT_C voidWaitForApiReq(TPckgBuf< TUint32 > &aProvider,
TPckgBuf< TUint32 > &aSender,
TPckgBuf< TUint32 > &aReceiver,
TPtr8 &aBuf,
TRequestStatus &aStatus
)[protected]
Starts receiving API requests
Since
S60 5.0

Parameters

TPckgBuf< TUint32 > & aProviderProvider id
TPckgBuf< TUint32 > & aSenderSender of Api request
TPckgBuf< TUint32 > & aReceiverService provider
TPtr8 & aBufMessage buffer for received API request header
TRequestStatus & aStatusCompletion status for IPC request