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()

void AllSystemFilesRestored ( ) [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 > &)

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

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

Parameters

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

GetExpectedDataSizeL(CSBGenericTransferType *, TUint &)

void GetExpectedDataSizeL ( 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 * aGenericTransferType The type of data that the expected size is being requested for
TUint & aSize Stores the expected size value to be returned to the PC side client

GetExtendedInterface(TUid, TAny *&)

void GetExtendedInterface ( TUid aInterfaceUid,
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 aInterfaceUid Identifier of the interface to be retrieved
TAny *& aInterface A reference to a pointer that retrieves the specified interface.

GetPublicFileListL(CSBGenericDataType *, TDriveNumber, RFileArray &)

void GetPublicFileListL ( CSBGenericDataType * aGenericDataType,
TDriveNumber aDriveNumber,
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 aDriveNumber The drive that these public files are being requested for
RFileArray & aFiles An 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 &)

void GetRawPublicFileListL ( CSBGenericDataType * aGenericDataType,
TDriveNumber aDriveNumber,
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 aDriveNumber The 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 &)

void ParseJavaDataOwnerL ( 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 &)

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

Request a type of data from a particular data owner

Parameters

CSBGenericTransferType * aGenericTransferType The type of data being requested
TPtr8 & aBuffer The buffer to populate with data
TBool & aFinished Flag to be set depending on whether another request is required to transfer all of this data owner's data

ScanForRegistrationFilesL(RFileArray &)

void ScanForRegistrationFilesL ( RFileArray & aRegFileArray ) [protected, pure virtual]

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

Parameters

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

SupplyDataL(CSBGenericTransferType *, TDesC8 &, TBool)

void SupplyDataL ( CSBGenericTransferType * aGenericTransferType,
TDesC8 & aBuffer,
TBool aFinished
) [pure virtual]

Supplies data to the particular data owners to process

Parameters

CSBGenericTransferType * aGenericTransferType The type of data that's being supplied
TDesC8 & aBuffer Buffer containing the data to be supplied
TBool aFinished Flag 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]