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
Public Member Functions
|
|
~CJavaManagerInterface
()
|
void
|
AllSystemFilesRestored
()
|
void
|
GetDataOwnersL
(
RPointerArray
<
CDataOwnerInfo
> &)
|
void
|
GetExpectedDataSizeL
(
CSBGenericTransferType
*,
TUint
&)
|
void
|
GetExtendedInterface
(
TUid
,
TAny
*&)
|
void
|
GetPublicFileListL
(
CSBGenericDataType
*,
TDriveNumber
,
RFileArray
&)
|
RFs
&
|
GetRFs
()
|
void
|
GetRawPublicFileListL
(
CSBGenericDataType
*,
TDriveNumber
,
RRestoreFileFilterArray
&)
|
CJavaManagerInterface
*
|
NewL
(const
TUid
&)
|
TDataRecognitionResult
|
RecognizeDataTypeL
(const
TDesC
&)
|
void
|
RequestDataL
(
CSBGenericTransferType
*,
TPtr8
&,
TBool
&)
|
void
|
SupplyDataL
(
CSBGenericTransferType
*,
TDesC8
&,
TBool
)
|
Constructor & Destructor Documentation
CJavaManagerInterface()
CJavaManagerInterface
|
(
|
)
|
[protected, inline]
|
~CJavaManagerInterface()
~CJavaManagerInterface
|
(
|
)
|
[inline, virtual]
|
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 > &)
Method requesting information about all of the Java data owners that are represented by this object
GetExpectedDataSizeL(CSBGenericTransferType *, TUint &)
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 &)
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 &)
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
NewL(const TUid &)
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.
RecognizeDataTypeL(const TDesC &)
Method to check the data type of the file
RequestDataL(CSBGenericTransferType *, TPtr8 &, TBool &)
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)
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]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.