CBtHeader Class Reference
class CBtHeader : public CObexMtmHeader |
Base class for OBEX object headers. Allows them to be stored and restored to and from the CMsvStore.
Constructor & Destructor Documentation
CBtHeader()
Default constructor, initialises the base class and sets the value of iBtProtocolInfo.iTransport as appropriate for BT
Member Functions Documentation
Addr()
IMPORT_C TPtrC8 | Addr | ( | ) | const [virtual] |
Get the BT address of the recipient
BtProtocolInfo()
Get the BT protocol info of the recipient
ConstructL()
IMPORT_C void | ConstructL | ( | ) | |
Second-phase constructor. Calls BaseConstructL to initialise the base members
ExternalizeL(RMsvWriteStream &)
Externaliser. Writes data out to aWriteStream. Calls BaseExternalizeL() to write out the base data first.
-
leave
- KErrXXX Standard SymbianOS stream leave codes
Externaliser. Writes data out to aWriteStream. Calls
BaseExternalizeL() to write out the base data first.
-
leave
- KErrXXX Standard EPOC stream leave codes
InternalizeL(RMsvReadStream &)
Internaliser. Reads data in from aReadStream. Calls BaseInternalizeL() to read in the base data first.
-
leave
- KErrXXX Standard EPOC stream leave codes
NewL()
Canonical NewL factory function
SetAddrL(const TDesC8 &)
IMPORT_C void | SetAddrL | ( | const TDesC8 & | aAddr | ) | [virtual] |
Set the BT address of the recipient. The RfComm service slot will be obtained through an SDP lookup in the server side MTM.
Parameters
const TDesC8 & aAddr | the address of the recipient (NB: only one recipient is currently supported) |
Member Data Documentation
TObexBluetoothProtocolInfo
iBtProtocolInfo
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.