Swi::RInstallServerSession Class Reference

class Swi::RInstallServerSession : public RSessionBase

Session to communicate with SWIS in order to initiate installation or uninstallation.

Inherits from

Public Member Functions
IMPORT_C TIntCancel()
IMPORT_C TIntConnect()
voidInstallL(const TIpcArgs &, TRequestStatus &)
IMPORT_C TIntRestore(const TIpcArgs &)
IMPORT_C TIntRestoreCommit()
IMPORT_C TIntRestoreFile(const TIpcArgs &)
voidUninstall(TIpcArgs &, TRequestStatus &)
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::Close()
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

Cancel()

IMPORT_C TIntCancel()

Cancel current activity of SWIS. This is meaningful during file installation phase only because to cancel installation planning it is only necessary to cancel a dialog box.

Connect()

IMPORT_C TIntConnect()

Connect to the server, attempt to start it if it is not yet running

InstallL(const TIpcArgs &, TRequestStatus &)

voidInstallL(const TIpcArgs &aArgs,
TRequestStatus &aStatus
)

Start installation. SWIS will ask SISHelper for package data so it is not necessary to pass any additional arguments.

Parameters

const TIpcArgs & aArgs
TRequestStatus & aStatusA request status which indicates the completion status of the asynchronous request.

Restore(const TIpcArgs &)

IMPORT_C TIntRestore(const TIpcArgs &aArgs)

Start restoration of a package

Parameters

const TIpcArgs & aArgsContains the UID of the package being restored and the associated metadata

RestoreCommit()

IMPORT_C TIntRestoreCommit()

Commits the files submitted in this package

RestoreFile(const TIpcArgs &)

IMPORT_C TIntRestoreFile(const TIpcArgs &aArgs)

Restores a single system file

Parameters

const TIpcArgs & aArgsContains the destination filename of the file to be restored and a file handle to its data

Uninstall(TIpcArgs &, TRequestStatus &)

voidUninstall(TIpcArgs &args,
TRequestStatus &aStatus
)

Start uninstallation

Parameters

TIpcArgs & args
TRequestStatus & aStatusA request status which indicates the completion status of the asynchronous request.