RAlfClientBase Class Reference

class RAlfClientBase : public RAknAppServiceBase

Alfred client base.

alfclient.lib
Since
S60 v3.2
Public Member Functions
RAlfClientBase(TInt)
voidCompleteAsynchConstructionL()
IMPORT_C TIntGrantAccessToPrivateFile(const TDesC &, TInt, TInt)
IMPORT_C TIntGrantAccessToPrivateFile(const RFile &, TInt, TInt)
IMPORT_C voidOpenL()
IMPORT_C TUidServiceUid()
voidSetAlfEnv(CAlfEnv &)
voidStartAsyncL(TRequestStatus *)
Protected Member Functions
IMPORT_C voidConstructServerName(TName &, TUid, TUint)
IMPORT_C voidLaunchAppL(TUid, TUint, TThreadId &)
IMPORT_C TUintStartServerL(TUid)
Inherited Functions
RAknAppServiceBase::Close()
RAknAppServiceBase::ConnectChainedAppL(TUid)
RApaAppServiceBase::CancelNotifyServerExit()const
RApaAppServiceBase::ConnectExistingAppL(const RApaAppServiceBase &)
RApaAppServiceBase::ConnectExistingAppL(const RApaAppServiceBase &,const TSecurityPolicy &)
RApaAppServiceBase::ConnectExistingByNameL(const TDesC &)
RApaAppServiceBase::ConnectExistingByNameL(const TDesC &,const TSecurityPolicy &)
RApaAppServiceBase::NotifyServerExit(TRequestStatus &)const
RApaAppServiceBase::RApaAppServiceBase()
RApaAppServiceBase::ServerName()const
RApaAppServiceBase::TransferExistingSessionL(RApaAppServiceBase &)
REikAppServiceBase::ConnectNewAppL(TUid)
REikAppServiceBase::ConnectNewAppL(TUid,const TSecurityPolicy &)
REikAppServiceBase::ConnectNewChildAppL(TUid,RWindowGroup &)
REikAppServiceBase::ConnectNewChildAppL(TUid,RWindowGroup &,const TSecurityPolicy &)
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
RApaAppServiceBase:TApaAppServiceBaseCmdConstants
RHandleBase:TAttributes
RSessionBase:TAttachMode
Private Attributes
RApaLsSession *iApa
CApaCommandLine *iCmdLine
CAlfEnv *iEnv
TInt iServiceUid
Inherited Attributes
RHandleBase::iHandle

Constructor & Destructor Documentation

RAlfClientBase(TInt)

IMPORT_CRAlfClientBase(TIntaServiceUid)

Constructor

Parameters

TInt aServiceUid

Member Functions Documentation

CompleteAsynchConstructionL()

voidCompleteAsynchConstructionL()

ConstructServerName(TName &, TUid, TUint)

IMPORT_C voidConstructServerName(TName &aServerName,
TUidaAppServerUid,
TUintaServerDifferentiator
)[protected, static]

Construct the server name.

Parameters

TName & aServerName
TUid aAppServerUid
TUint aServerDifferentiator

GrantAccessToPrivateFile(const TDesC &, TInt, TInt)

IMPORT_C TIntGrantAccessToPrivateFile(const TDesC &aFileName,
TIntaObjectIdentfier,
TIntaCommandId
)

Grants server access to given private file This access is valid as long as the session remains alive

Parameters

const TDesC & aFileNameFull filename of file to be shared
TInt aObjectIdentfierTo which object the generated token will be passed
TInt aCommandIdCommand indetifier that allows server implementation to distinguish this particular file

GrantAccessToPrivateFile(const RFile &, TInt, TInt)

IMPORT_C TIntGrantAccessToPrivateFile(const RFile &aFile,
TIntaObjectIdentfier,
TIntaCommandId
)

Grants server access to given private file This access is valid as long as the session remains alive

Parameters

const RFile & aFile
TInt aObjectIdentfierTo which object the generated token will be passed
TInt aCommandIdCommand indetifier that allows server implementation to distinguish this particular file

LaunchAppL(TUid, TUint, TThreadId &)

IMPORT_C voidLaunchAppL(TUidaAppUid,
TUintaServerDifferentiator,
TThreadId &aThreadId
)[protected]

Launches the application.

Parameters

TUid aAppUid
TUint aServerDifferentiator
TThreadId & aThreadId

OpenL()

IMPORT_C voidOpenL()

Opens connection to the server. Must be called before any other activity!

ServiceUid()

IMPORT_C TUidServiceUid()const [virtual]

From RAknAppServiceBase. Returns the service UID which the server implements.

SetAlfEnv(CAlfEnv &)

voidSetAlfEnv(CAlfEnv &aAlf)

! internal

Parameters

CAlfEnv & aAlf

StartAsyncL(TRequestStatus *)

voidStartAsyncL(TRequestStatus *aStatus)

Parameters

TRequestStatus * aStatus

StartServerL(TUid)

IMPORT_C TUintStartServerL(TUidaAppUid)[protected]

Starts the server.

Parameters

TUid aAppUid

Member Data Documentation

RApaLsSession * iApa

RApaLsSession *iApa[private]

CApaCommandLine * iCmdLine

CApaCommandLine *iCmdLine[private]

CAlfEnv * iEnv

CAlfEnv *iEnv[private]

TInt iServiceUid

TInt iServiceUid[private]