CObexNullObject Class Reference

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.

Inherits from

Public Member Functions
IMPORT_C CObexNullObject * NewL ()
Private Member Functions
void ConstructL ()
TInt DataSize ()
void GetData ( TInt , TDes8 &)
void NewData ( TInt , TDes8 &)
void ResetData ()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CObexBaseObject::AddHeaderL(CObexHeader &)
CObexBaseObject::AddHttpL(const TDesC8 &)
CObexBaseObject::AppParam()const
CObexBaseObject::BytesReceived()
CObexBaseObject::BytesSent()
CObexBaseObject::CObexBaseObject()
CObexBaseObject::ConnectionID()
CObexBaseObject::CreateHeaderStorageDataL()
CObexBaseObject::Description()
CObexBaseObject::GetLastError()const
CObexBaseObject::GuessTypeFromExtL(const TDesC &)
CObexBaseObject::HeaderMask()
CObexBaseObject::HeaderSet()
CObexBaseObject::HeaderSet()const
CObexBaseObject::Http()const
CObexBaseObject::InitReceive()
CObexBaseObject::InitSend(TObexOpcode)
CObexBaseObject::Length()
CObexBaseObject::Name()
CObexBaseObject::ParseNextReceivePacket(CObexPacket &)
CObexBaseObject::PrepareConnectionHeader(CObexPacket &)
CObexBaseObject::PrepareNextSendPacket(CObexPacket &)
CObexBaseObject::Reset()
CObexBaseObject::ResetHeaders()
CObexBaseObject::SetAppParamL(const TDesC8 &)
CObexBaseObject::SetConnectionIdL(TUint32)
CObexBaseObject::SetDescriptionL(const TDesC &)
CObexBaseObject::SetHeaderMask(const TObexHeaderMask)
CObexBaseObject::SetLengthL(const TUint32)
CObexBaseObject::SetNameL(const TDesC &)
CObexBaseObject::SetTargetL(const TDesC8 &)
CObexBaseObject::SetTimeHeaderL(const TDesC8 &)
CObexBaseObject::SetTimeL(const TTime)
CObexBaseObject::SetTypeL(const TDesC8 &)
CObexBaseObject::SetUtcTimeL(const TTime)
CObexBaseObject::Target()
CObexBaseObject::Time()
CObexBaseObject::Type()
CObexBaseObject::ValidHeaders()
CObexBaseObject::~CObexBaseObject()
Inherited Enumerations
CObexBaseObject:TProgress

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

DataSize()

TInt DataSize ( ) [private, virtual]

GetData(TInt, TDes8 &)

void GetData ( TInt aPos,
TDes8 & aDes
) [private, virtual]

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

Parameters

TInt aPos
TDes8 & aDes

NewData(TInt, TDes8 &)

void NewData ( TInt aPos,
TDes8 & aDes
) [private, virtual]

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

Parameters

TInt aPos
TDes8 & aDes

NewL()

IMPORT_C CObexNullObject * NewL ( ) [static]

Allocates and constructs a new null object.

ResetData()

void ResetData ( ) [private, virtual]