class conn::CSBJavaTransferType : public conn::CSBGenericTransferType |
The Java Transfer Type identifies types of data belonging to particular MIDlet suites (identified by the Suite Hash)
Byte Structure
All child classes have their data following on from the parent classes so that the parent classes may remain atomic with respect to the structure of their data. The binary structure of this data type inside the descriptor buffer is as follows. Note that the endianness of the data types specified below is determined by the platform and the PC must pack accordingly:
TSBDerivedType [4-bytes] |
TDriveNumber [4-bytes] |
TJavaTransferType [4-bytes] |
MIDlet suite hash length [4-bytes] (should be 32) |
MIDlet suite hash [2*length] |
The Java Transfer Type identifies types of data belonging to particular MIDlet suites (identified by the Suite Hash)
Byte Structure
All child classes have their data following on from the parent classes so that the parent classes may remain atomic with respect to the structure of their data. The binary structure of this data type inside the descriptor buffer is as follows. Note that the endianness of the data types specified below is determined by the platform and the PC must pack accordingly:
TSBDerivedType [4-bytes] |
TDriveNumber [4-bytes] |
TJavaTransferType [4-bytes] |
MIDlet suite hash length [4-bytes] (should be 32) |
MIDlet suite hash [2*length] |
Public Member Functions | |
---|---|
~CSBJavaTransferType() | |
IMPORT_C TJavaTransferType | DataTypeL() |
IMPORT_C CSBJavaTransferType * | NewL(const TDesC &, TDriveNumber, TJavaTransferType) |
IMPORT_C const TDesC & | SuiteHashL() |
Protected Member Functions | |
---|---|
void | InitialiseL(TInt &) |
void | InitialiseL(TInt &, const TDesC &, TDriveNumber, TJavaTransferType) |
Private Member Functions | |
---|---|
CSBJavaTransferType() | |
CSBJavaTransferType(const TDesC &) | |
void | ConstructL(const TDesC &, TDriveNumber, TJavaTransferType) |
void | ConstructL(CSBGenericTransferType *) |
Private Attributes | |
---|---|
TPtrC | iSuiteHash |
TInt | iTransferDataTypeOffset |
Inherited Attributes | |
---|---|
conn::CSBGenericDataType::iDataBuffer | |
conn::CSBGenericDataType::iDerivedTypeOffset | |
conn::CSBGenericDataType::iSize | |
conn::CSBGenericTransferType::iDriveNumberOffset |
CSBJavaTransferType | ( | const TDesC & | aSuiteHash | ) | [private] |
C++ Constructor. Any derived types must increment iSize in their C++ constructors in order that when CSBGenericDataType::BaseConstructL() is called, the data buffer is initialised to be large enough to accomodate the data stored by the derived type
const TDesC & aSuiteHash |
void | ConstructL | ( | const TDesC & | aSuiteHash, |
TDriveNumber | aDriveNumber, | |||
TJavaTransferType | aTransferDataType | |||
) | [private] |
Symbian OS 2nd phase constructor.
const TDesC & aSuiteHash | |
TDriveNumber aDriveNumber | the drive that contains the data |
TJavaTransferType aTransferDataType | the type of the data you wish to transfer |
void | ConstructL | ( | CSBGenericTransferType * | aGenericTransferType | ) | [private] |
CSBGenericTransferType * aGenericTransferType |
void | InitialiseL | ( | TInt & | aOffset | ) | [protected, virtual] |
Initialise all member pointers to data
TInt & aOffset | The running offset of where the descriptor has been parsed up to |
void | InitialiseL | ( | TInt & | aOffset, |
const TDesC & | aSuiteHash, | |||
TDriveNumber | aDriveNumber, | |||
TJavaTransferType | aTransferDataType | |||
) | [protected] |
Initialise all member pointers to data
TInt & aOffset | The running offset of where the descriptor has been parsed up to |
const TDesC & aSuiteHash | The Java MIDlet suite hash |
TDriveNumber aDriveNumber | |
TJavaTransferType aTransferDataType |
IMPORT_C CSBJavaTransferType * | NewL | ( | const TDesC & | aSuiteHash, |
TDriveNumber | aDriveNumber, | |||
TJavaTransferType | aTransferDataType | |||
) | [static] |
Symbian constructor used for creating a derived class from it's constituent parameters. Used for example when creating a derived type from scratch
const TDesC & aSuiteHash | |
TDriveNumber aDriveNumber | the drive that contains the data |
TJavaTransferType aTransferDataType | the type of the data you wish to transfer |
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.