CSIPCSeqHeader Class Reference

class CSIPCSeqHeader : public CSIPHeaderBase

Class provides functions for setting and getting sequence number and method in SIP "CSeq" header.

sipcodec.lib

Inherits from

Public Member Functions
~CSIPCSeqHeader()
RPointerArray< CSIPHeaderBase >BaseDecodeL(const TDesC8 &)
IMPORT_C CSIPHeaderBase *CloneL()
IMPORT_C CSIPCSeqHeader *DecodeL(const TDesC8 &)
IMPORT_C CSIPHeaderBase *InternalizeValueL(RReadStream &)
IMPORT_C RStringFMethod()
IMPORT_C RStringFName()
IMPORT_C CSIPCSeqHeader *NewL(TUint, RStringF)
IMPORT_C CSIPCSeqHeader *NewLC(TUint, RStringF)
TPreferredPlace PreferredPlaceInMessage()
IMPORT_C TUintSeq()
IMPORT_C voidSetMethodL(RStringF)
IMPORT_C voidSetSeq(TUint)
IMPORT_C HBufC8 *ToTextValueL()
Private Member Functions
CSIPCSeqHeader()
voidConstructL(TUint, RStringF)
voidDoInternalizeValueL(RReadStream &)
voidExternalizeValueL(RWriteStream &)
voidParseL(const TDesC8 &)
voidSetMethodL(const TDesC8 &)
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()
CSIPHeaderBase::CSIPHeaderBase()
CSIPHeaderBase::CompactName()const
CSIPHeaderBase::EncodeMultipleToOneLine()const
CSIPHeaderBase::ExternalizeL(RWriteStream &,TBool)const
CSIPHeaderBase::ExternalizeNameL(RWriteStream &)const
CSIPHeaderBase::ExternalizeSupported()const
CSIPHeaderBase::HasCompactName()const
CSIPHeaderBase::IsExtensionHeader()const
CSIPHeaderBase::MoreThanOneAllowed()const
CSIPHeaderBase::PushLC(RPointerArray< CSIPHeaderBase > *)
CSIPHeaderBase::ResetAndDestroy(TAny *)
CSIPHeaderBase::ToTextL()const
CSIPHeaderBase::ToTextLC()const
CSIPHeaderBase::ToTextValueLC()const
CSIPHeaderBase::~CSIPHeaderBase()
Inherited Enumerations
CSIPHeaderBase:TPreferredPlace
Private Attributes
RStringF iMethod
TUint iSeq
Inherited Attributes
CSIPHeaderBase::iLink

Constructor & Destructor Documentation

CSIPCSeqHeader()

CSIPCSeqHeader()[private]

~CSIPCSeqHeader()

IMPORT_C~CSIPCSeqHeader()

Destructor, deletes the resources of CSIPCSeqHeader.

Member Functions Documentation

BaseDecodeL(const TDesC8 &)

RPointerArray< CSIPHeaderBase >BaseDecodeL(const TDesC8 &aValue)[static]

Parameters

const TDesC8 & aValue

CloneL()

IMPORT_C CSIPHeaderBase *CloneL()const [virtual]

From CSIPHeaderBase CloneL

ConstructL(TUint, RStringF)

voidConstructL(TUintaCSeq,
RStringFaMethod
)[private]

Parameters

TUint aCSeq
RStringF aMethod

DecodeL(const TDesC8 &)

IMPORT_C CSIPCSeqHeader *DecodeL(const TDesC8 &aValue)[static]

Constructs a CSIPCSeqHeader from textual representation of the header's value part.

Parameters

const TDesC8 & aValuea value part of a "CSeq"-header (e.g. "1 REGISTER")

DoInternalizeValueL(RReadStream &)

voidDoInternalizeValueL(RReadStream &aReadStream)[private]

Parameters

RReadStream & aReadStream

ExternalizeValueL(RWriteStream &)

voidExternalizeValueL(RWriteStream &aWriteStream)const [private, virtual]

Parameters

RWriteStream & aWriteStream

InternalizeValueL(RReadStream &)

IMPORT_C CSIPHeaderBase *InternalizeValueL(RReadStream &aReadStream)[static]

Constructs an instance of a CSIPCSeqHeader from a RReadStream

Parameters

RReadStream & aReadStreama stream containing the value of the externalized object (header name not included).

Method()

IMPORT_C RStringFMethod()const

Gets the method from the "CSeq" header

Name()

IMPORT_C RStringFName()const [virtual]

From CSIPHeaderBase Name

NewL(TUint, RStringF)

IMPORT_C CSIPCSeqHeader *NewL(TUintaSeq,
RStringFaMethod
)[static]

Creates a new instance of CSIPCSeqHeader

Parameters

TUint aSeqa sequence number to set.
RStringF aMethoda method to set. For example "REGISTER"

NewLC(TUint, RStringF)

IMPORT_C CSIPCSeqHeader *NewLC(TUintaSeq,
RStringFaMethod
)[static]

Creates a new instance of CSIPCSeqHeader and puts it to CleanupStack

Parameters

TUint aSeqa sequence number to set.
RStringF aMethoda method to set. For example "REGISTER"

ParseL(const TDesC8 &)

voidParseL(const TDesC8 &aValue)[private]

Parameters

const TDesC8 & aValue

PreferredPlaceInMessage()

TPreferredPlace PreferredPlaceInMessage()const [virtual]

Seq()

IMPORT_C TUintSeq()const

Gets the sequence number from the "CSeq" header

SetMethodL(RStringF)

IMPORT_C voidSetMethodL(RStringFaMethod)

Sets the method in the "CSeq" header

Parameters

RStringF aMethoda method to set

SetMethodL(const TDesC8 &)

voidSetMethodL(const TDesC8 &aMethod)[private]

Parameters

const TDesC8 & aMethod

SetSeq(TUint)

IMPORT_C voidSetSeq(TUintaSeq)

Sets the sequence number in the "CSeq" header

Parameters

TUint aSeqa sequence number to set

ToTextValueL()

IMPORT_C HBufC8 *ToTextValueL()const [virtual]

From CSIPHeaderBase ToTextValueL

Member Data Documentation

RStringF iMethod

RStringF iMethod[private]

TUint iSeq

TUint iSeq[private]