CSIPCSeqHeader Class Reference

#include <mw/sipcseqheader.h>

Link against: sipcodec.lib

class CSIPCSeqHeader : public CSIPHeaderBase

Inherits from

Public Member Functions
~CSIPCSeqHeader()
RPointerArray< CSIPHeaderBase >BaseDecodeL(const TDesC8 &)
virtual IMPORT_C CSIPHeaderBase *CloneL()
IMPORT_C CSIPCSeqHeader *DecodeL(const TDesC8 &)
IMPORT_C CSIPHeaderBase *InternalizeValueL(RReadStream &)
IMPORT_C RStringFMethod()
virtual IMPORT_C RStringFName()
IMPORT_C CSIPCSeqHeader *NewL(TUint, RStringF)
IMPORT_C CSIPCSeqHeader *NewLC(TUint, RStringF)
virtual TPreferredPlace PreferredPlaceInMessage()
IMPORT_C TUintSeq()
IMPORT_C voidSetMethodL(RStringF)
IMPORT_C voidSetSeq(TUint)
virtual IMPORT_C HBufC8 *ToTextValueL()
Inherited Attributes
CSIPHeaderBase::iLink
Inherited Enumerations
CSIPHeaderBase:TPreferredPlace
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()

Detailed Description

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

Constructor & Destructor Documentation

~CSIPCSeqHeader ( )

IMPORT_C~CSIPCSeqHeader()

Destructor, deletes the resources of CSIPCSeqHeader.

Member Function Documentation

BaseDecodeL ( const TDesC8 & )

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

CloneL ( )

IMPORT_C CSIPHeaderBase *CloneL()const [virtual]

From CSIPHeaderBase CloneL

DecodeL ( const TDesC8 & )

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

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

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

Returns: a new instance of CSIPCSeqHeader.

InternalizeValueL ( RReadStream & )

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

Constructs an instance of a CSIPCSeqHeader from a RReadStream

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

Returns: an instance of a CSIPCSeqHeader

Method ( )

IMPORT_C RStringFMethod()const

Gets the method from the "CSeq" header

Returns: the method

Name ( )

IMPORT_C RStringFName()const [virtual]

Reimplemented from CSIPHeaderBase::Name()const

From CSIPHeaderBase Name

NewL ( TUint, RStringF )

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

Creates a new instance of CSIPCSeqHeader

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

Returns: a new instance of CSIPCSeqHeader

NewLC ( TUint, RStringF )

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

Creates a new instance of CSIPCSeqHeader and puts it to CleanupStack

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

Returns: a new instance of CSIPCSeqHeader

PreferredPlaceInMessage ( )

TPreferredPlace PreferredPlaceInMessage()const [virtual]

Seq ( )

IMPORT_C TUintSeq()const

Gets the sequence number from the "CSeq" header

Returns: the current sequence number

SetMethodL ( RStringF )

IMPORT_C voidSetMethodL(RStringFaMethod)

Sets the method in the "CSeq" header

ParameterDescription
aMethoda method to set

SetSeq ( TUint )

IMPORT_C voidSetSeq(TUintaSeq)

Sets the sequence number in the "CSeq" header

ParameterDescription
aSeqa sequence number to set

ToTextValueL ( )

IMPORT_C HBufC8 *ToTextValueL()const [virtual]

From CSIPHeaderBase ToTextValueL