#include <mw/sipcseqheader.h>
class CSIPCSeqHeader : public CSIPHeaderBase |
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 RStringF | Method() |
virtual IMPORT_C RStringF | Name() |
IMPORT_C CSIPCSeqHeader * | NewL(TUint, RStringF) |
IMPORT_C CSIPCSeqHeader * | NewLC(TUint, RStringF) |
virtual TPreferredPlace | PreferredPlaceInMessage() |
IMPORT_C TUint | Seq() |
IMPORT_C void | SetMethodL(RStringF) |
IMPORT_C void | SetSeq(TUint) |
virtual IMPORT_C HBufC8 * | ToTextValueL() |
Inherited Attributes | |
---|---|
CSIPHeaderBase::iLink |
Inherited Enumerations | |
---|---|
CSIPHeaderBase:TPreferredPlace |
Class provides functions for setting and getting sequence number and method in SIP "CSeq" header.
RPointerArray< CSIPHeaderBase > | BaseDecodeL | ( | const TDesC8 & | aValue | ) | [static] |
IMPORT_C CSIPHeaderBase * | CloneL | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::CloneL()const
From CSIPHeaderBase CloneL
IMPORT_C CSIPCSeqHeader * | DecodeL | ( | const TDesC8 & | aValue | ) | [static] |
Constructs a CSIPCSeqHeader from textual representation of the header's value part.
Parameter | Description |
---|---|
aValue | a value part of a "CSeq"-header (e.g. "1 REGISTER") |
Returns: a new instance of CSIPCSeqHeader.
IMPORT_C CSIPHeaderBase * | InternalizeValueL | ( | RReadStream & | aReadStream | ) | [static] |
Constructs an instance of a CSIPCSeqHeader from a RReadStream
Parameter | Description |
---|---|
aReadStream | a stream containing the value of the externalized object (header name not included). |
Returns: an instance of a CSIPCSeqHeader
IMPORT_C RStringF | Name | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::Name()const
From CSIPHeaderBase Name
IMPORT_C CSIPCSeqHeader * | NewL | ( | TUint | aSeq, |
RStringF | aMethod | |||
) | [static] |
Creates a new instance of CSIPCSeqHeader
Parameter | Description |
---|---|
aSeq | a sequence number to set. |
aMethod | a method to set. For example "REGISTER" |
Returns: a new instance of CSIPCSeqHeader
IMPORT_C CSIPCSeqHeader * | NewLC | ( | TUint | aSeq, |
RStringF | aMethod | |||
) | [static] |
Creates a new instance of CSIPCSeqHeader and puts it to CleanupStack
Parameter | Description |
---|---|
aSeq | a sequence number to set. |
aMethod | a method to set. For example "REGISTER" |
Returns: a new instance of CSIPCSeqHeader
TPreferredPlace | PreferredPlaceInMessage | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::PreferredPlaceInMessage()const
IMPORT_C TUint | Seq | ( | ) | const |
Gets the sequence number from the "CSeq" header
Returns: the current sequence number
IMPORT_C void | SetMethodL | ( | RStringF | aMethod | ) |
Sets the method in the "CSeq" header
Parameter | Description |
---|---|
aMethod | a method to set |
IMPORT_C void | SetSeq | ( | TUint | aSeq | ) |
Sets the sequence number in the "CSeq" header
Parameter | Description |
---|---|
aSeq | a sequence number to set |
IMPORT_C HBufC8 * | ToTextValueL | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::ToTextValueL()const
From CSIPHeaderBase ToTextValueL