Location:
obexobjects.h
Link against: obex.lib
class CObexNullObject : public CObexBaseObject;
Concrete OBEX object with NULL data representation. Use when only the headers of an object are required, and the data (if any) can safely be discarded.
CBase
- Base class for all classes to be instantiated on the heap
CObexBaseObject
- Objects of this class are used to describe the objects to be transferred and those received via Obex
CObexNullObject
- Concrete OBEX object with NULL data representation
Defined in CObexNullObject
:
DataSize()
, GetData()
, NewData()
, NewL()
, ResetData()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
Inherited from CObexBaseObject
:
AddHeaderL()
,
AddHttpL()
,
AppParam()
,
BytesReceived()
,
BytesSent()
,
Description()
,
EComplete
,
EContinue
,
EError
,
ELastPacket
,
HeaderMask()
,
HeaderSet()
,
Http()
,
Length()
,
Name()
,
Reset()
,
SetAppParamL()
,
SetDescriptionL()
,
SetHeaderMask()
,
SetLengthL()
,
SetNameL()
,
SetTargetL()
,
SetTimeL()
,
SetTypeL()
,
TProgress
,
Target()
,
Time()
,
Type()
,
ValidHeaders()
static IMPORT_C CObexNullObject *NewL();
Allocates and constructs a new null object.
|
private: virtual void GetData(TInt aPos, TDes8 &aDes);
To return "NULL" data, we simply set aDes.Size = 0
|
private: virtual void NewData(TInt aPos, TDes8 &aDes);
In order to appear to consume the data, we don't set aDes.Size = 0
|
private: virtual void ResetData();