Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: obexobjects.h
Link against: obex.lib

Class CObexNullObject

class CObexNullObject : public CObexBaseObject;

Description

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.

Derivation

Members

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()


Construction and destruction


NewL()

static IMPORT_C CObexNullObject *NewL();

Description

Allocates and constructs a new null object.

Return value

CObexNullObject *

New null object

[Top]


Member functions


GetData()

private: virtual void GetData(TInt aPos, TDes8 &aDes);

Description

To return "NULL" data, we simply set aDes.Size = 0

Parameters

TInt aPos

TDes8 &aDes


NewData()

private: virtual void NewData(TInt aPos, TDes8 &aDes);

Description

In order to appear to consume the data, we don't set aDes.Size = 0

Parameters

TInt aPos

TDes8 &aDes


DataSize()

private: virtual TInt DataSize();

Description

Return value

TInt


ResetData()

private: virtual void ResetData();

Description