TObexInternalHeader Class Reference
class TObexInternalHeader : public TObexData |
Two parts to headers: header IDs (HI) and header values (HV). There are some strange things going on in this class, due it sourcing data (HV) from either obex or epoc, and having to then either stream it obex or return it to epoc. Might be tidier having a finer class hierarcy, but the implemented method does allow for complete generality.
Partly due to this strangeness, this is only used internally. There is also a CObexHeader class which is used for the external representation of a data header. CObexHeader
Public Member Enumerations |
---|
enum | THVRepresentation { EHVObexDefault, EHVMachineText, EHVInt, EHVDefered } |
enum | THeaderType { EUnicode = 0x00, EByteSeq = 0x40, E1Byte = 0x80, E4Byte = 0xC0 } |
enum | TWellKnownHI { ECount = 0x00 | E4Byte, EName = 0x01 | EUnicode, EType = 0x02 | EByteSeq, ELength = 0x03 | E4Byte, ETime = 0x04 | EByteSeq, EDescription = 0x05 | EUnicode, ETarget = 0x06 | EByteSeq, EHttp = 0x07 | EByteSeq, EBody = 0x08 | EByteSeq, EEndOfBody = 0x09 | EByteSeq, EWho = 0x0A | EByteSeq, EConnectionID = 0x0B | E4Byte, EAppParam = 0x0C | EByteSeq, EAuthChallenge = 0x0D | EByteSeq, EAuthResponse = 0x0E | EByteSeq, ECreatorID = 0x0F | E4Byte, EWanUUID = 0x10 | EByteSeq, EObjectClass = 0x11 | EByteSeq } |
Constructor & Destructor Documentation
TObexInternalHeader()
IMPORT_C | TObexInternalHeader | ( | ) | |
Member Functions Documentation
DoTotalSize()
TUint16
| DoTotalSize | ( | ) | const [protected, virtual] |
GetHVText(TDes &)
IMPORT_C TInt | GetHVText | ( | TDes & | aString | ) | const |
HVByteSeq()
IMPORT_C TUint8 * | HVByteSeq | ( | ) | const |
HVInt()
IMPORT_C TInt | HVInt | ( | ) | const |
ParseIn(TUint8 *, const TUint16)
Set(THeaderID, TUint8 *, TInt)
Set(THeaderID, const TDesC &)
SetDeferred(THeaderID, TPtr8 *, TInt, TInt)
WriteOut(TUint8 *, const TUint16)
Member Enumerations Documentation
Enum THVRepresentation
Enumerators
EHVObexDefault | |
EHVMachineText | |
EHVInt | |
EHVDefered | |
Enum THeaderType
Enumerators
EUnicode = 0x00 | |
EByteSeq = 0x40 | |
E1Byte = 0x80 | |
E4Byte = 0xC0 | |
Enum TWellKnownHI
Enumerators
ECount = 0x00 | E4Byte | |
EName = 0x01 | EUnicode | |
EType = 0x02 | EByteSeq | |
ELength = 0x03 | E4Byte | |
ETime = 0x04 | EByteSeq | |
EDescription = 0x05 | EUnicode | |
ETarget = 0x06 | EByteSeq | |
EHttp = 0x07 | EByteSeq | |
EBody = 0x08 | EByteSeq | |
EEndOfBody = 0x09 | EByteSeq | |
EWho = 0x0A | EByteSeq | |
EConnectionID = 0x0B | E4Byte | |
EAppParam = 0x0C | EByteSeq | |
EAuthChallenge = 0x0D | EByteSeq | |
EAuthResponse = 0x0E | EByteSeq | |
ECreatorID = 0x0F | E4Byte | |
EWanUUID = 0x10 | EByteSeq | |
EObjectClass = 0x11 | EByteSeq | |
Member Type Definitions Documentation
Member Data Documentation
union TObexInternalHeader::@57 iHV
union TObexInternalHeader::@57 | iHV | [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.