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