#include <mw/siptimestampheader.h>
class CSIPTimestampHeader : public CSIPHeaderBase |
Public Member Functions | |
---|---|
CSIPTimestampHeader(TReal) | |
~CSIPTimestampHeader() | |
RPointerArray< CSIPHeaderBase > | BaseDecodeL(const TDesC8 &) |
virtual IMPORT_C CSIPHeaderBase * | CloneL() |
IMPORT_C CSIPTimestampHeader * | DecodeL(const TDesC8 &) |
IMPORT_C TReal | Delay() |
IMPORT_C TBool | HasDelay() |
IMPORT_C CSIPHeaderBase * | InternalizeValueL(RReadStream &) |
virtual IMPORT_C RStringF | Name() |
virtual TPreferredPlace | PreferredPlaceInMessage() |
IMPORT_C void | SetDelay(TReal) |
IMPORT_C void | SetTimestamp(TReal) |
IMPORT_C TReal | Timestamp() |
virtual IMPORT_C HBufC8 * | ToTextValueL() |
Inherited Attributes | |
---|---|
CSIPHeaderBase::iLink |
Inherited Enumerations | |
---|---|
CSIPHeaderBase:TPreferredPlace |
Class for a SIP Timestamp header.
IMPORT_C | CSIPTimestampHeader | ( | TReal | aTimestamp | ) |
Constructor
Parameter | Description |
---|---|
aTimestamp | a timestamp value to set. |
RPointerArray< CSIPHeaderBase > | BaseDecodeL | ( | const TDesC8 & | aValue | ) | [static] |
IMPORT_C CSIPHeaderBase * | CloneL | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::CloneL()const
From CSIPHeaderBase CloneL
IMPORT_C CSIPTimestampHeader * | DecodeL | ( | const TDesC8 & | aValue | ) | [static] |
Constructs a CSIPTimestampHeader from textual representation of the header's value part.
Parameter | Description |
---|---|
aValue | a value part of a "Timestamp"-header (e.g. "12 3.4") |
Returns: a new instance of CSIPTimestampHeader
IMPORT_C TReal | Delay | ( | ) | const |
Gets the delay-part of the "Timestamp" header, if delay-part is present
Returns: a delay value or zero if HasDelay() == EFalse
IMPORT_C CSIPHeaderBase * | InternalizeValueL | ( | RReadStream & | aReadStream | ) | [static] |
Constructs an instance of a CSIPTimestampHeader from a RReadStream
Parameter | Description |
---|---|
aReadStream | a stream containing the value of the externalized object (header name not included). |
Returns: an instance of a CSIPTimestampHeader
IMPORT_C RStringF | Name | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::Name()const
From CSIPHeaderBase Name
TPreferredPlace | PreferredPlaceInMessage | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::PreferredPlaceInMessage()const
IMPORT_C void | SetDelay | ( | TReal | aDelay | ) |
Set the delay-part of the "Timestamp" header.
Parameter | Description |
---|---|
aDelay | a delay to set. |
IMPORT_C void | SetTimestamp | ( | TReal | aTimestamp | ) |
Set the timestamp from the "Timestamp" header.
Parameter | Description |
---|---|
aTimestamp | a timestamp to set. |
IMPORT_C TReal | Timestamp | ( | ) | const |
Gets the timestamp from the "Timestamp" header.
Returns: a timestamp value.
IMPORT_C HBufC8 * | ToTextValueL | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::ToTextValueL()const
From CSIPHeaderBase ToTextValueL