CSIPExtensionHeader Class Reference

#include <mw/sipextensionheader.h>

Link against: sipcodec.lib

class CSIPExtensionHeader : public CSIPHeaderBase

Inherits from

Detailed Description

The class stores unknown and extension headers that are either not supported by the current SIP codec implementation or not specified in current SIP RFC or both.

Constructor & Destructor Documentation

~CSIPExtensionHeader ( )

IMPORT_C~CSIPExtensionHeader()

Destructor, deletes the resources of CSIPExtensionHeader.

Member Function Documentation

CloneL ( )

IMPORT_C CSIPHeaderBase *CloneL()const [virtual]

Reimplemented from CSIPHeaderBase::CloneL()const

From CSIPHeaderBase CloneL

CompactName ( )

RStringF CompactName()const [virtual]

Reimplemented from CSIPHeaderBase::CompactName()const

EncodeMultipleToOneLine ( )

TBool EncodeMultipleToOneLine()const [virtual]

ExternalizeSupported ( )

IMPORT_C TBoolExternalizeSupported()const [virtual]

From CSIPHeaderBase ExternalizeSupported

HasCompactName ( )

TBool HasCompactName()const [virtual]

InternalizeValueL ( RReadStream & )

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

Constructs an instance of a CSIPExtensionHeader from a RReadStream

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

Returns: an instance of a CSIPExtensionHeader

IsExtensionHeader ( )

TBool IsExtensionHeader()const [virtual]

MoreThanOneAllowed ( )

TBool MoreThanOneAllowed()const [virtual]

Name ( )

IMPORT_C RStringFName()const [virtual]

Reimplemented from CSIPHeaderBase::Name()const

From CSIPHeaderBase Name

NewL ( const TDesC8 &, const TDesC8 & )

IMPORT_C CSIPExtensionHeader *NewL(const TDesC8 &aName,
const TDesC8 &aValue
)[static]

Creates a new instance of CSIPExtensionHeader

ParameterDescription
aNamethe full or compact name of the header
aValuethe value of the header

Returns: a new instance of CSIPExtensionHeader

NewLC ( const TDesC8 &, const TDesC8 & )

IMPORT_C CSIPExtensionHeader *NewLC(const TDesC8 &aName,
const TDesC8 &aValue
)[static]

Creates a new instance of CSIPExtensionHeader and puts it to CleanupStack

ParameterDescription
aNamethe full or compact name of the header
aValuethe value of the header

Returns: a new instance of CSIPExtensionHeader

PreferredPlaceInMessage ( )

TPreferredPlace PreferredPlaceInMessage()const [virtual]

SetNameL ( const TDesC8 & )

voidSetNameL(const TDesC8 &aName)

SetValueL ( const TDesC8 & )

IMPORT_C voidSetValueL(const TDesC8 &aValue)

Sets the header value

ParameterDescription
aValuethe header value to be set

ToTextValueL ( )

IMPORT_C HBufC8 *ToTextValueL()const [virtual]

From CSIPHeaderBase ToTextValueL

Value ( )

IMPORT_C const TDesC8 &Value()const

Gets the header value

Returns: the header value