CMsgEditorServerWatchingOperation Class Reference

class CMsgEditorServerWatchingOperation : public CMsvOperation

CMsgEditorServerWatchingOperation Simple operation class which watches a service (editor application), completing when that thread closes.

The passed CMsvSession is not used (merely required to base-construct a CMsvOperation ).

Inherits from

Public Member Functions
CMsgEditorServerWatchingOperation ( CMsvSession &, TInt , TRequestStatus &, TUid )
~CMsgEditorServerWatchingOperation ()
IMPORT_C CMsgEditorServerWatchingOperation * NewL ( CMsvSession &, TInt , TRequestStatus &, TUid , const TEditorParameters )
Protected Member Functions
void DoCancel ()
const TDesC8 & FinalProgress ()
const TDesC8 & ProgressL ()
void RunL ()
void Start ()
Private Member Functions
void CompleteObserver ( TInt )
void ConstructL (const TEditorParameters , TUid )
void HandleServerAppExit ( TInt )
Inherited Functions
CActive::CActive(TInt)
CActive::Cancel()
CActive::Deque()
CActive::IsActive()const
CActive::IsAdded()const
CActive::Priority()const
CActive::RunError(TInt)
CActive::SetActive()
CActive::SetPriority(TInt)
CActive::~CActive()
CBase::CBase()
CBase::Delete(CBase *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CMsvOperation::CMsvOperation(CMsvSession &,TInt,TRequestStatus &)
CMsvOperation::Extension_(TUint,TAny *&,TAny *)
CMsvOperation::Id()const
CMsvOperation::Mtm()const
CMsvOperation::Service()const
CMsvOperation::SystemProgress(TMsvSystemProgress &)
CMsvOperation::~CMsvOperation()
Inherited Enumerations
CActive:TPriority
Protected Attributes
HBufC8 * iProgress
Private Attributes
CMuiuMsgEditorService * iService
Inherited Attributes
CActive::iStatus
CMsvOperation::iMsvSession
CMsvOperation::iMtm
CMsvOperation::iObserverRequestStatus

Constructor & Destructor Documentation

CMsgEditorServerWatchingOperation(CMsvSession &, TInt, TRequestStatus &, TUid)

IMPORT_C CMsgEditorServerWatchingOperation ( CMsvSession & aMsvSession,
TInt aPriority,
TRequestStatus & aObserverRequestStatus,
TUid aMtm
)

C++ constructor

Parameters

CMsvSession & aMsvSession
TInt aPriority
TRequestStatus & aObserverRequestStatus
TUid aMtm

~CMsgEditorServerWatchingOperation()

IMPORT_C ~CMsgEditorServerWatchingOperation ( )

Destructor.

Member Functions Documentation

CompleteObserver(TInt)

void CompleteObserver ( TInt aCode ) [private]

Completes observer with the completion code

Parameters

TInt aCode

ConstructL(const TEditorParameters, TUid)

void ConstructL ( const TEditorParameters aParams,
TUid aMtmType
) [private]

Parameters

const TEditorParameters aParams
TUid aMtmType

DoCancel()

void DoCancel ( ) [protected, virtual]

FinalProgress()

const TDesC8 & FinalProgress ( ) [protected, virtual]

HandleServerAppExit(TInt)

void HandleServerAppExit ( TInt aReason ) [private]

Parameters

TInt aReason

NewL(CMsvSession &, TInt, TRequestStatus &, TUid, const TEditorParameters)

IMPORT_C CMsgEditorServerWatchingOperation * NewL ( CMsvSession & aMsvSession,
TInt aPriority,
TRequestStatus & aObserverRequestStatus,
TUid aMtm,
const TEditorParameters aParams
) [static]

Parameters

CMsvSession & aMsvSession
TInt aPriority
TRequestStatus & aObserverRequestStatus
TUid aMtm
const TEditorParameters aParams

ProgressL()

const TDesC8 & ProgressL ( ) [protected, virtual]

RunL()

void RunL ( ) [protected, virtual]

Start()

void Start ( ) [protected]

Member Data Documentation

HBufC8 * iProgress

HBufC8 * iProgress [protected]

CMuiuMsgEditorService * iService

CMuiuMsgEditorService * iService [private]

The ID of the service that is associated with this operation.

Usually, the derived class constructor will contain a suitable argument to allow the caller to set this.

Service()