RAlfClientBase Class Reference

class RAlfClientBase : public RAknAppServiceBase

Alfred client base.

alfclient.lib
Since
S60 v3.2
Public Member Functions
RAlfClientBase ( TInt )
void CompleteAsynchConstructionL ()
IMPORT_C TInt GrantAccessToPrivateFile (const TDesC &, TInt , TInt )
IMPORT_C TInt GrantAccessToPrivateFile (const RFile &, TInt , TInt )
IMPORT_C void OpenL ()
IMPORT_C TUid ServiceUid ()
void SetAlfEnv (CAlfEnv &)
void StartAsyncL ( TRequestStatus *)
Protected Member Functions
IMPORT_C void ConstructServerName ( TName &, TUid , TUint )
IMPORT_C void LaunchAppL ( TUid , TUint , TThreadId &)
IMPORT_C TUint StartServerL ( 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_C RAlfClientBase ( TInt aServiceUid )

Constructor

Parameters

TInt aServiceUid

Member Functions Documentation

CompleteAsynchConstructionL()

void CompleteAsynchConstructionL ( )

ConstructServerName(TName &, TUid, TUint)

IMPORT_C void ConstructServerName ( TName & aServerName,
TUid aAppServerUid,
TUint aServerDifferentiator
) [protected, static]

Construct the server name.

Parameters

TName & aServerName
TUid aAppServerUid
TUint aServerDifferentiator

GrantAccessToPrivateFile(const TDesC &, TInt, TInt)

IMPORT_C TInt GrantAccessToPrivateFile ( const TDesC & aFileName,
TInt aObjectIdentfier,
TInt aCommandId
)

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

Parameters

const TDesC & aFileName Full filename of file to be shared
TInt aObjectIdentfier To which object the generated token will be passed
TInt aCommandId Command indetifier that allows server implementation to distinguish this particular file

GrantAccessToPrivateFile(const RFile &, TInt, TInt)

IMPORT_C TInt GrantAccessToPrivateFile ( const RFile & aFile,
TInt aObjectIdentfier,
TInt aCommandId
)

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

Parameters

const RFile & aFile
TInt aObjectIdentfier To which object the generated token will be passed
TInt aCommandId Command indetifier that allows server implementation to distinguish this particular file

LaunchAppL(TUid, TUint, TThreadId &)

IMPORT_C void LaunchAppL ( TUid aAppUid,
TUint aServerDifferentiator,
TThreadId & aThreadId
) [protected]

Launches the application.

Parameters

TUid aAppUid
TUint aServerDifferentiator
TThreadId & aThreadId

OpenL()

IMPORT_C void OpenL ( )

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

ServiceUid()

IMPORT_C TUid ServiceUid ( ) const [virtual]

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

SetAlfEnv(CAlfEnv &)

void SetAlfEnv ( CAlfEnv & aAlf )

! internal

Parameters

CAlfEnv & aAlf

StartAsyncL(TRequestStatus *)

void StartAsyncL ( TRequestStatus * aStatus )

Parameters

TRequestStatus * aStatus

StartServerL(TUid)

IMPORT_C TUint StartServerL ( TUid aAppUid ) [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]