conn::CJavaManagerInterface Class Reference

class conn::CJavaManagerInterface : public CBase

Clients creating a java backup and restore plugin should derive from and implement this interface.

Inherits from

  • conn::CJavaManagerInterface

Constructor & Destructor Documentation

CJavaManagerInterface()

CJavaManagerInterface()[protected, inline]

Constructor.

~CJavaManagerInterface()

~CJavaManagerInterface()[inline, virtual]

Destructor.

Member Functions Documentation

AllSystemFilesRestored()

voidAllSystemFilesRestored()[pure virtual]

Called by the PC client once all registration and binary files have been restored. Used as a signal to indicate that the next set of transfers will include data

GetDataOwnersL(RPointerArray< CDataOwnerInfo > &)

voidGetDataOwnersL(RPointerArray< CDataOwnerInfo > &aDataOwners)[pure virtual]

Method requesting information about all of the Java data owners that are represented by this object

Parameters

RPointerArray< CDataOwnerInfo > & aDataOwnersArray of data owner info's to populate

GetExpectedDataSizeL(CSBGenericTransferType *, TUint &)

voidGetExpectedDataSizeL(CSBGenericTransferType *aGenericTransferType,
TUint &aSize
)[pure virtual]

Return the expected size of data to be returned to the PC client. Used for displaying progress information

Parameters

CSBGenericTransferType * aGenericTransferTypeThe type of data that the expected size is being requested for
TUint & aSizeStores the expected size value to be returned to the PC side client

GetExtendedInterface(TUid, TAny *&)

voidGetExtendedInterface(TUidaInterfaceUid,
TAny *&aInterface
)[pure virtual]

Returns a pointer to a specified interface extension - to allow future extension of this class without breaking binary compatibility

Parameters

TUid aInterfaceUidIdentifier of the interface to be retrieved
TAny *& aInterfaceA reference to a pointer that retrieves the specified interface.

GetPublicFileListL(CSBGenericDataType *, TDriveNumber, RFileArray &)

voidGetPublicFileListL(CSBGenericDataType *aGenericDataType,
TDriveNumberaDriveNumber,
RFileArray &aFiles
)[pure virtual]

Get a list of public files that the java data owners are requesting to be backed up in addition to their own private data stores

Parameters

CSBGenericDataType * aGenericDataType
TDriveNumber aDriveNumberThe drive that these public files are being requested for
RFileArray & aFilesAn array of filenames that will be populated upon return of this method

GetRFs()

RFs &GetRFs()[pure virtual]

Returns the handle to File Server.

GetRawPublicFileListL(CSBGenericDataType *, TDriveNumber, RRestoreFileFilterArray &)

voidGetRawPublicFileListL(CSBGenericDataType *aGenericDataType,
TDriveNumberaDriveNumber,
RRestoreFileFilterArray &aFileFilter
)[pure virtual]

Get a list of public files that the java data owners are requesting to be backed up in addition to their own private data stores

Parameters

CSBGenericDataType * aGenericDataType
TDriveNumber aDriveNumberThe drive that these public files are being requested for
RRestoreFileFilterArray & aFileFilter

NewL(const TUid &)

CJavaManagerInterface *NewL(const TUid &aImplementationUid)[static, inline]

static function to create and return the object.

Parameters

const TUid & aImplementationUid

ParseJavaDataOwnerL(const TDesC &)

voidParseJavaDataOwnerL(const TDesC &aSuiteHash)[protected, pure virtual]

Tries Parsing the Java Data Owner at runtime.

Parameters

const TDesC & aSuiteHash

RecognizeDataTypeL(const TDesC &)

TDataRecognitionResult RecognizeDataTypeL(const TDesC &aFileName)[pure virtual]

Method to check the data type of the file

Parameters

const TDesC & aFileName

RequestDataL(CSBGenericTransferType *, TPtr8 &, TBool &)

voidRequestDataL(CSBGenericTransferType *aGenericTransferType,
TPtr8 &aBuffer,
TBool &aFinished
)[pure virtual]

Request a type of data from a particular data owner

Parameters

CSBGenericTransferType * aGenericTransferTypeThe type of data being requested
TPtr8 & aBufferThe buffer to populate with data
TBool & aFinishedFlag to be set depending on whether another request is required to transfer all of this data owner's data

ScanForRegistrationFilesL(RFileArray &)

voidScanForRegistrationFilesL(RFileArray &aRegFileArray)[protected, pure virtual]

Scan the SystemAMS data cage (private directory) for all registration files corresponding to installed MIDlet's

Parameters

RFileArray & aRegFileArrayArray of registration files that will be populated with all reg files in the SystemAMS data cage

SupplyDataL(CSBGenericTransferType *, TDesC8 &, TBool)

voidSupplyDataL(CSBGenericTransferType *aGenericTransferType,
TDesC8 &aBuffer,
TBoolaFinished
)[pure virtual]

Supplies data to the particular data owners to process

Parameters

CSBGenericTransferType * aGenericTransferTypeThe type of data that's being supplied
TDesC8 & aBufferBuffer containing the data to be supplied
TBool aFinishedFlag determining whether or not this buffer is the last in a multipart sequence

Member Data Documentation

TUid iDtor_ID_Key

TUid iDtor_ID_Key[private]