CAsynchFSQAtom Class Reference

class CAsynchFSQAtom : public CActive

Asynchronous file manager queue and related operations.

Since
3.2

Inherits from

Public Member Functions
CAsynchFSQAtom ()
~CAsynchFSQAtom ()
TInt ActionsLeft ()
void ConstructL ( CAsynchFSQ *, TInt , TFSQActionType , TDesC8 &, const TDesC &, const TDesC &, TFSQSchemaType , const TDesC &, const TDesC &)
TInt DeleteLocal ()
TBool DoesLocalSave ()
const TDesC & GetPath ()
TFSQAtomState GetState ()
TInt Go ()
CAsynchFSQAtom * NewL ( CAsynchFSQ *, TInt , TFSQActionType , TDesC8 &, const TDesC &, const TDesC &, TFSQSchemaType , const TDesC &, const TDesC &)
TInt RenameLocal (const TDesC &)
Private Member Functions
void DoCancel ()
TInt RunError ( TInt )
void RunL ()
void SaveCleanupL ()
void SaveL ()
void UploadCleanupL ()
void UploadL ()
Inherited Functions
CActive::CActive(TInt)
CActive::Cancel()
CActive::Deque()
CActive::Extension_(TUint,TAny *&,TAny *)
CActive::IsActive()const
CActive::IsAdded()const
CActive::Priority()const
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()
Inherited Enumerations
CActive:TPriority
Private Attributes
TFSQActionType iActionType
TDesC8 * iData
HBufC * iDelayedFileName
TBool iDelayedLocalDelete
TBool iDelayedLocalRename
TInt iError
RFile iFile
RFs iFs
TBool iOverwrite
CAsynchFSQ * iOwner
HBufC * iPassword
HBufC * iPath
TFSQSchemaType iSchema
TFSQAtomState iState
HBufC * iURL
HBufC * iUserName
Inherited Attributes
CActive::iStatus

Constructor & Destructor Documentation

CAsynchFSQAtom()

CAsynchFSQAtom ( )

C++ default constructor.

~CAsynchFSQAtom()

~CAsynchFSQAtom ( ) [virtual]

Two-phased constructor.

Member Functions Documentation

ActionsLeft()

TInt ActionsLeft ( )

ConstructL(CAsynchFSQ *, TInt, TFSQActionType, TDesC8 &, const TDesC &, const TDesC &, TFSQSchemaType, const TDesC &, const TDesC &)

void ConstructL ( CAsynchFSQ * aOwner,
TInt aPriority,
TFSQActionType aActionType,
TDesC8 & aData,
const TDesC & aPath,
const TDesC & aURL,
TFSQSchemaType aSchema,
const TDesC & aUserName,
const TDesC & aPassword
)

By default Symbian 2nd phase constructor is private.

Parameters

CAsynchFSQ * aOwner
TInt aPriority
TFSQActionType aActionType
TDesC8 & aData
const TDesC & aPath
const TDesC & aURL
TFSQSchemaType aSchema
const TDesC & aUserName
const TDesC & aPassword

DeleteLocal()

TInt DeleteLocal ( )

DoCancel()

void DoCancel ( ) [private, virtual]

DoesLocalSave()

TBool DoesLocalSave ( )

GetPath()

const TDesC & GetPath ( ) const

GetState()

TFSQAtomState GetState ( )

Go()

TInt Go ( )

NewL(CAsynchFSQ *, TInt, TFSQActionType, TDesC8 &, const TDesC &, const TDesC &, TFSQSchemaType, const TDesC &, const TDesC &)

CAsynchFSQAtom * NewL ( CAsynchFSQ * aOwner,
TInt aPriority,
TFSQActionType aActionType,
TDesC8 & aData,
const TDesC & aPath,
const TDesC & aURL,
TFSQSchemaType aSchema,
const TDesC & aUserName,
const TDesC & aPassword
) [static]

Two-phased constructor.

Parameters

CAsynchFSQ * aOwner
TInt aPriority
TFSQActionType aActionType
TDesC8 & aData
const TDesC & aPath
const TDesC & aURL
TFSQSchemaType aSchema
const TDesC & aUserName
const TDesC & aPassword

RenameLocal(const TDesC &)

TInt RenameLocal ( const TDesC & aNew )

Parameters

const TDesC & aNew

RunError(TInt)

TInt RunError ( TInt aError ) [private, virtual]

Parameters

TInt aError

RunL()

void RunL ( ) [private, virtual]

SaveCleanupL()

void SaveCleanupL ( ) [private]

SaveL()

void SaveL ( ) [private]

UploadCleanupL()

void UploadCleanupL ( ) [private]

UploadL()

void UploadL ( ) [private]

Member Data Documentation

TFSQActionType iActionType

TFSQActionType iActionType [private]

TDesC8 * iData

TDesC8 * iData [private]

HBufC * iDelayedFileName

HBufC * iDelayedFileName [private]

TBool iDelayedLocalDelete

TBool iDelayedLocalDelete [private]

TBool iDelayedLocalRename

TBool iDelayedLocalRename [private]

TInt iError

TInt iError [private]

RFile iFile

RFile iFile [private]

RFs iFs

RFs iFs [private]

TBool iOverwrite

TBool iOverwrite [private]

CAsynchFSQ * iOwner

CAsynchFSQ * iOwner [private]

HBufC * iPassword

HBufC * iPassword [private]

HBufC * iPath

HBufC * iPath [private]

TFSQSchemaType iSchema

TFSQSchemaType iSchema [private]

TFSQAtomState iState

TFSQAtomState iState [private]

HBufC * iURL

HBufC * iURL [private]

HBufC * iUserName

HBufC * iUserName [private]